ld change between binutils 2.11 and 2.12
Donald Zoch
donald.zoch@amd.com
Thu May 22 20:17:00 GMT 2003
Could anyone tell me what changed in ld from binutils 2.11 to 2.12
to cause errors like this when linking? I'm using gcc 2.95.3.
The link works when ld from binutils 2.11 is in my path, but fails
with the error messages below when ld from binutils 2.12 is in
my path. Thanks.
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__check_eh_spec':
/u/zochd/gcc-2.95.3/build2/gcc/../../gcc/cp/exception.cc:307: undefined reference to `bad_exception type_info function'
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__check_eh_spec':
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:15: undefined reference to `exception virtual table'
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:22: undefined reference to `bad_exception virtual table'
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:18: undefined reference to `exception virtual table'
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__check_eh_spec':
/u/zochd/gcc-2.95.3/build2/gcc/../../gcc/cp/exception.cc:311: undefined reference to `bad_exception virtual table'
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__check_eh_spec':
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:23: undefined reference to `bad_exception virtual table'
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:16: undefined reference to `exception virtual table'
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__check_eh_spec':
/u/zochd/gcc-2.95.3/build2/gcc/../../gcc/cp/exception.cc:311: undefined reference to `bad_exception::~bad_exception(void)'
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__check_eh_spec':
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:23: undefined reference to `bad_exception virtual table'
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:16: undefined reference to `exception virtual table'
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__throw_bad_cast':
/u/zochd/gcc-2.95.3/build2/gcc/include/exception:15: undefined reference to `exception virtual table'
/u/zochd/build2/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgcc.a(exception.o): In function `__throw_bad_cast':
/u/zochd/gcc-2.95.3/build2/gcc/include/typeinfo:45: undefined reference to `bad_cast virtual table'
Donald
----
Donald Zoch 5900 E. Ben White Blvd. MS 625
Advanced Micro Devices Austin, Tx 78741
MPD Unix Systems Administrator Phone: (512) 602-7945
donald.zoch@amd.com Pager: (512) 604-5401
More information about the Binutils
mailing list