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]

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


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


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