Re: [Gc]: Mingw Compile Issues
ivmai at mail.ru
Wed Aug 31 09:15:51 PDT 2011
I've fixed this in master branch (see commit aec2500f regarding thread_leak_test.c).
30 08 2011, 21:00 Dumitru Frunza <dumitru.frunza at gmail.com>:
> Hi Ivan,
> I couldn't figure out how to attach files to a reply message, on the gmane (
> web page, so I'm writing this email from my GMail account.
GMane is just a copy of the mailing list used for browsing posts, you cannot post via it. So, you did right by sending me this email but you should also CC to gc at linux.hpl.hp.com.
> No particular gcc options, just the standard --prefix one.
> Attached you'll find the config.log and config.h files.
> The failing test is the `threadleaktest.exe` -- when running, I get a
> Windows pop-up notification with title "Fatal error in GC" and message
> "Collecting from unknown thread", then the executable segfaults with
> "instruction at 0x709c762d referenced memory at 0x0000000c".
> Here's the output from console:
> make: Entering directory `/mingw/src/bdwgc'
> PASS: gctest.exe
> PASS: leaktest.exe
> Final heap size is 65536
> PASS: middletest.exe
> PASS: smashtest.exe
> PASS: hugetest.exe
> Heap size: 65536
> PASS: realloc_test.exe
> PASS: staticrootstest.exe
> FAIL: threadleaktest.exe
> PASS: threadkey_test.exe
> PASS: initsecondarythread.exe
> 1 of 10 tests failed
> Please report to Hans.Boehm at hp.com
> -- Dimitri. --
> On Sat, Aug 20, 2011 at 3:40 AM, Ivan Maidanski <ivmai at mail.ru> wrote:
> > Hi Dumitru,
> > 20 08 2011, 02:46 Dumitru Frunza <dumitru.frunza at gmail.com>:
> > > Ivan Maidanski <ivmai at ...> writes:
> > >
> > > > 2. If make all (or, even, make check) succeeds, this does not guarantee
> > it
> > > will work w/o problems;
> > >
> > > You're dead right on this one.
> > > I got it all compiled, but not a single test passes. Dunno, maybe it's
> > inherent
> > > to the testing code, or maybe the compiled DLL is broken.
> > >
> > > In any case, your original suggestion of using the bdwgc package, is the
> > most
> > > promising. Got it compiled without a hickup, and all but one test passed.
> > Which one? Could you send me gcc options that test is compiled and linked
> > with (as well as config.h if used)?
> > >
> > > gc-7.1 is simply outdated, as this thread should be too.
> > >
> > > Cheers man,
> > > Dimitri.
> Dumitru Frunza
> Montreal, Quebec (514) 363-9436
More information about the Gc