This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
G++ 3.3 and ld Error
- From: "Tom Browder" <tom3 at fwb dot asi dot srs dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 16 May 2003 08:31:06 -0500
- Subject: G++ 3.3 and ld Error
Using new release of g++, I get following error during link:
g++-3.3 -o prog -rdynamic String.o StringList.o User.o -L/usr/lib
-Wl,-Bstatic -lmylib -lexpat -lgdbm -lrt -lc -ltcl -lstdc++ -Wl,-Bdynamic \
-lm -lgdbm -lpthread -ldl \
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libstdc++.a(eh_throw.o
): In function `__cxa_rethrow':
/usr/local/src/gcc_obj/i686-pc-linux-gnu/libstdc++-v3/libsupc++/../../../../
gcc-3.3/libstdc++-v3/libsupc++/eh_throw.cc:49: undefined reference to
`_Unwind_Resume_or_Rethrow'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libstdc++.so:
undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status
Same commands worked OK in 3.2.3.
Any suggestions?
Thanks.
Tom Browder