This is the mail archive of the gcc-patches@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]

Re: -mmacosx-version-min and libgcc


Andrew Pinski wrote:

On Sep 28, 2005, at 7:46 PM, Geoffrey Keating wrote:



When using a shared libgcc, GCC links with '-lgcc_s -lgcc', with the intention of having those symbols in the system's libgcc used from the shared library, but backfilling from the static library if those symbols are not available.

And this breaks building on powerpc-darwin7.9:

And here on darwin8.2 with --disable-multilib


for mlib in '' _ppc64 ; do \
strip -o libgcc_s.10.4.dylib_T${mlib} \
-s /Volumes/export/gcc/gcc-cvs/gcc/gcc/config/rs6000/darwin-libgcc.10.4.ver -c -u \
libgcc_s${mlib}.1.dylib || exit 1 ; \
done
strip: can't open file: /Volumes/export/gcc/gcc-cvs/objdir/gcc/libgcc_s_ppc64.1.dylib (No such file or directory)
make[2]: *** [libgcc_s.10.4.dylib] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2



Andreas



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