Re: [ooc-compiler] Segmentation fault during installation
Brought to you by:
mva
From: Stewart G. <sgr...@ii...> - 2004-02-10 02:41:54
|
Hi Jan, Two suggestions: 1) Try running the executable that fails under gdb. That should indicate the context in which the problem occurs. 2) Recent versions of the GC seem to default to building threaded collectors. On some platforms it is necessary to specify particular flags when compiling the _client_ code. If you have a threaded GC, you will probably have to specify "-DGC_LINUX_THREADS" in CPPFLAGS, or something like that. I don't know about Linux, but this is certainly necessary under Windows and Mac OS X (see README.{MACOS,WIN32} for discussion). Omitting the client flags can cause things to go horribly wrong. Cheers, Stewart On Tuesday, February 10, 2004, at 09:03 AM, Jan wrote: > Michael van Acken wrote: >> For some reasons I currently do not get any mails from ooc-compiler, >> but Tim kindly forwarded this to me: >>> [...] >>> gc6.1 seems to have installed smoothly (including make check). My >>> only >>> modification was that since including gc.h didn't work the way >>> described in INSTALL (using CPPFLAGS), I copied the contents of >>> gc/include to /usr/local/include/gc instead. >> Segfaults like this are usually caused by bad interaction with the >> gc. I would suggest to try to build first without gc (it should be >> sufficient to move the gc headers out of the may, then "make >> distclean", then "configure"). The build may run out of memory, but >> repeated "make" should do the trick. >> If this works out, a more recent gc may get you further. > > Hi Michael, > I tried the solution you suggested. I renamed gc.h and libgc.*, so > that configure wouldn't use them - the results are the same as > described in my first post. > > At the moment, I think the problem must be be related to my > distribution (SuSE 9.0 professional): I just finished trying > installation on a different machine at work that's running the same > distribution (without gc) with exactly the same results and behaviour > that I get here at home. > > Is there anyone using SuSE 9.0 who installed oo2c successfully? Are > there any libs or programs used during installation that might be > missing/corrupt/wrong version in SuSE 9.0? > > Jan > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > ooc-compiler mailing list > ooc...@li... > https://lists.sourceforge.net/lists/listinfo/ooc-compiler > |