This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: problems compiling gcc 2.95.[12] for sparc64-linux using --with-cpu=sparc
- To: gcc-bugs at egcs dot cygnus dot com, davem at redhat dot com
- Subject: Re: problems compiling gcc 2.95.[12] for sparc64-linux using --with-cpu=sparc
- From: Ben Collins <bcollins at debian dot org>
- Date: Sat, 30 Oct 1999 22:20:16 -0400
- References: <19991027113317.D22427@lappy.djj.state.va.us>
Following up to my previous post, here are the problems I get from the
compiler (this is with the latest 2.95.2 sources):
/usr/lib/gcc-lib/sparc-linux/2.95.2/libstdc++.so: undefined reference to `bad_alloc virtual table'
/usr/lib/gcc-lib/sparc-linux/2.95.2/libstdc++.so: undefined reference to `exception virtual table'
This is a problem in how C++ code is compiled, since using this library
with a known good compiler, works fine, and using a known good library
works fine with this compiler (except that new code is still broken, and
it seems to be mainly PIC related).
Any clues to where I can look to find the problem would be helpful, I'm
more than willing to track this down myself and provide a fix.
NOTE: I am not on the list, so direct replies appreciated.
Ben