-mmacosx-version-min and libgcc

Andreas Tobler toa@pop.agri.ch
Thu Sep 29 18:24:00 GMT 2005


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



More information about the Gcc-patches mailing list