[Bug target/65351] [5 Regression] libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.

howarth.at.gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 7 21:25:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65351

Jack Howarth <howarth.at.gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth.at.gcc at gmail dot com

--- Comment #15 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
(In reply to Jakub Jelinek from comment #14)
> So hopefully fixed now.

This breaks the bootstrap on darwin14 here...

make[3]: Entering directory
'/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir/libiberty'
if [ x"-fno-common -mno-dynamic-no-pic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g   -I. -I../../gcc-5-20150407/libiberty/../include 
-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic 
-fno-common -mno-dynamic-no-pic ../../gcc-5-20150407/libiberty/regex.c -o
pic/regex.o; \
else true; fi
clang: error: unknown argument: '-mno-dynamic-no-pic'
Makefile:1167: recipe for target 'regex.o' failed
make[3]: *** [regex.o] Error 1
make[3]: Leaving directory
'/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir/libiberty'
Makefile:9585: recipe for target 'all-stage1-libiberty' failed
make[2]: *** [all-stage1-libiberty] Error 2
make[2]: Leaving directory '/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir'
Makefile:20760: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir'
Makefile:21064: recipe for target 'bootstrap' failed
make: *** [bootstrap] Error 2

The default system compiler (Apple Clang 6.0) doesn't understand
-mno-dynamic-no-pic.



More information about the Gcc-bugs mailing list