|
From: Norman <no...@us...> - 2002-05-26 07:10:08
|
The only real solution to this is to use a less buggy compiler :( We ran into similar problems in CrystalSpace already. While one could argue thats its possible to rearrange the code to make the compiler happy the fact that the compiler does not spill out warnings but _segfaults_ renders any code rearrangements futile. GCC 2.95.2 and 2.95.3 are both working. Maybe 3.1 does too. greetings norman p.s.: I think the cause is the use of assembler instructions in the underlying CS source in CS/include/csutil/bitset.h On Sunday 26 May 2002 04:49, Steven Wilcoxon wrote: > I've decided to build FreeRaider to get a better idea of its current > condition and am running into a compile problem. > > Under Mandrake Linux 8.1, GCC 2.96 on an Athlon system with CS 0.94r2 when > compiling the 5/25/02 snapshot of FR I get: > > *-------------------------------------------------------------------------* > Building Freeraider netobject factory plugin > Building for LINUX/GCC/X86 in optimize mode > *-------------------------------------------------------------------------* > g++ -c -o out/LINUX/X86/optimize/frono.o > apps/fr/apps/freeraid/plugins/frnetmgr/objfctry/frono.cpp > -D__CRYSTAL_SPACE__ -Wall -Wunused -W -mcpu=pentiumpro -march=i686 > -fno-exceptions -fno-rtti -O2 -fomit-frame-pointer -ffast-math -I. > -I./apps -I./include -I./libs -I./plugins -I./support > -Iapps/fr/apps/freeraid/include > -Iapps/fr/apps/freeraid/libs -Iapps/fr/apps/freeraid/include > -Iapps/fr/apps/freeraid/libs -Iapps/fr/apps/freeraid/include > -Iapps/fr/apps/freeraid/libs > apps/fr/apps/freeraid/plugins/frnetmgr/objfctry/frono.cpp: In method `bool > frOrbitingObject::OnRequest > (int, void *)': > apps/fr/apps/freeraid/plugins/frnetmgr/objfctry/frono.cpp:254: Internal > error: Segmentation fault. > Please submit a full bug report. > See <URL:https://qa.mandrakesoft.com/> for instructions. > make[1]: *** [out/LINUX/X86/optimize/frono.o] Error 1 > make: *** [frobjfct] Error 2 > > ------------------------------ > If I comment out all references to AddBits, its willing to compile but > fails with a similar problem in the next module. > > Has this issue been seen before? Is there a work around? > > S.W. > aka Learner > http://www.Terminuspoint.com > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Freeraider-main mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeraider-main |