This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
problems compiling gcc 2.95.[12] for sparc64-linux using --with-cpu=sparc
- To: gcc-bugs at egcs dot cygnus dot com
- Subject: problems compiling gcc 2.95.[12] for sparc64-linux using --with-cpu=sparc
- From: Ben Collins <bcollins at debian dot org>
- Date: Wed, 27 Oct 1999 11:33:17 -0400
I've been trying to get the latest gcc to compile for sparc64-linux using
a default of --with-cpu=sparc, so I have a normal sparc32 compiler with
the ability to compile with -m64. cc1 seems to be working fine and without
problems, however cc1plus creates really bad problems (this is all with
-m32, I don't really need -m64 for cc1plus).
When I link with the generated libstdc++ I get missing symbols reported to
the affect of "bad_alloc table" and "exception table(?)". I've tried
tracking this down for a good few weeks, and I have no idea where it even
begins to happen. By logic, I assume it is a (mis)define in
config/sparc/linux64.h, but which one, and how is evading my search.
Note, these problems don't show up if I compile a straight sparc-linux
compiler (which should produce the same code as sparc64-linux with -m32)
and the cc1plus problems still show up when using known good libstdc++
libraries (but in the compiled objects, not the library).
Help appreciated,
Ben