This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 16:39:35 -0000
- Subject: [Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references
- References: <bug-29722-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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