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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 8 05:26:00 GMT 2015


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

--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
x86_64-darwin doesn't add -mdynamic-no-pic, so it is indeed not needed to add
-mno-dynamic-no-pic for it.  I've been wondering about that, but then checked
that gcc supports -mno-dynamic-no-pic even there.
So, does clang support -mno-dynamic-no-pic at least on i686 and powerpc 32-bit?
Or do we need to check for it in the config/picflag.m4 snippet?  Though, if it
doesn't support -mno-dynamic-no-pic, is there any way how to cancel that flag
in clang?



More information about the Gcc-bugs mailing list