This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/44107] libstdc++ (dylib) is built with an erroneous dependency towards /usr/lib


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107

--- Comment #7 from Denis Excoffier <Denis.Excoffier at airbus dot com> 2011-03-20 08:12:49 UTC ---
1) In no configuration the bootstrap fails (as long as you take care of PR45381
and PR47016).

2) Indeed, the DYLD_LIBRARY_PATH that makes things to work properly is
DYLD_LIBRARY_PATH=$(prefix)/lib

3) I have built with the patch attached in #4 (together with the addition
included in #5), it seems
to work properly now (see configuration 'y' below).

4) I have now 3 configurations (all with 4.6.0 RC 20110314)
- 4.6.x: built with my modification (the change in t-slibgcc-darwin)
- 4.6.y: built with the 2 patches from yesterday
- 4.6.z: no change from the distribution
I have also built the Xerces-C library 3 times, xerces-c-3.1.1x,
xerces-c-3.1.1y and
xerces-c3.1.1.z.
The libxerces-c-3.1.dylib contains (iaw otool -L) a dependency towards
/usr/lib/libgcc_s.1.dylib
in the cases 'y' and 'z'. The libxerces-c-3.1.dylib contains a dependency
towards /usr/lib/libSystem.B.dylib in the three configurations. My C++ program
links with this library.

The sets 'x' and 'y' work properly. The set 'z' does not work (stuck between
throw and
catch, CPU running).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]