This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC/g++ problem


When compiling Crafty-18.15 (a chess engine, available at
ftp://ftp.cis.uab.edu/pub/hyatt/v18) on my i386 Linux system with GCC
3.1, I get an error: 'Undefined reference to __gxx_personality_v0'. This
occurs when I compile the only C++ file of the program, egtb.cpp,
and it seems not to be an isolated case: at
http://mapserver.gis.umn.edu/wilma/mapserver-users/0111/msg00159.html
there is a message reporting the same problem, but with a different
program (mapserver, I think) , and a different version o' GCC 
(3.0.1 and 3.0.2), when using the 2.95.3 will work on that case. The
compiler flags were the following:
-O2 -march=k6 -mmmx -Wall -pipe -D_REENTRANT -fforce-mem
-fomit-frame-pointer.

I cannot post the preprocessed source (as told in the GCC Bug FAQ)
because of my news server, but if it is strictly necessary I can do it,
upon request, via e-mail.

Thank you.
-- 
"Fair is foul, and foul is fair"
                  W. Shakespeare


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]