[patch, build] Restore bootstrap in building libcc1 on darwin
Iain Sandoe
iain@codesourcery.com
Mon Jan 26 14:19:00 GMT 2015
On 26 Jan 2015, at 14:13, Rainer Orth wrote:
> FX <fxcoudert@gmail.com> writes:
>
>>> The default BOOT_CFLAGS are: -O2 -g -mdynamic-no-pic
>>> the libiberty pic build appends: -fno-common (and not even -fPIC) [NB
>>> -fPIC _won't_ override -mdynamic-no-pic, so that's not a simple way out]
>>> This means that the PIC library is being built with non-pic relocs.
>>
>> config/mh-darwin says that -mdynamic-no-pic is there because it “speeds
>> compiles by 3-5%”. I don’t think we care about speed when the bootstrap
>> fails, so can we remove it altogether?
>
> Darwin/i686 still doesn't bootstrap without this patch, I believe.
> Shouldn't it be applied to trunk before GCC 5 ships, rather than leaving
> that target broken?
I'll try and post a patch to fix it properly this week..
Iain
More information about the Gcc
mailing list