[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Sun Jan 21 16:39:00 GMT 2007
------- Comment #7 from pcarlini at suse dot de 2007-01-21 16:39 -------
Benjamin, I'm noticing that the hard-coded path on top of the new
cxx_runtime_only_linkage.cc test doesn't play well with multilib and fails at
link-time, see, e.g., for unix/-m32 on x86_64-linux:
http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00722.html
This is the error I'm seeing, can we do something about it?
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible ../libsupc++/.libs/libsupc++.a when searching for
-lsupc++
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lsupc++
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible ../libsupc++/.libs/libsupc++.a when searching for
-lsupc++
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lsupc++
collect2: ld returned 1 exit status
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pcarlini at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29722
More information about the Gcc-bugs
mailing list