[Bug target/47609] New: libstdc++ depends on libgcc_s.10.5 but gets linked to libgcc_s.10.4
ossman at cendio dot se
gcc-bugzilla@gcc.gnu.org
Fri Feb 4 19:37:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47609
Summary: libstdc++ depends on libgcc_s.10.5 but gets linked to
libgcc_s.10.4
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ossman@cendio.se
Not sure what's going on here, but I get this problem linking C++ programs:
/usr/lib/gcc/i686-apple-darwin9/4.4.3/../../../../i686-apple-darwin9/bin/ld:
Undefined symbols:
__Unwind_GetIPInfo
collect2: ld returned 1 exit status
Telling g++ to be verbose, I can see that it specifies -macosx_version_min 10.4
by default. Examining the different libgcc_s libraries though, I can see that
the 10.4 version doesn't include Unwind_GetIPInfo, only the 10.5 version does.
I'm not sure why the inconcistency here. The darwin9 target means 10.5, so that
might be why libstdc++ assumes it has access to Unwind_GetIPInfo. But then the
question is why 10.4 is still the default with the corresponding gcc/g++.
More information about the Gcc-bugs
mailing list