problems compiling gcc 2.95.[12] for sparc64-linux using --with-cpu=sparc

Ben Collins bcollins@debian.org
Sat Oct 30 19:16:00 GMT 1999


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


More information about the Gcc-bugs mailing list