[PATCH] Move LTRANS invocation from lto1 to lto-wrapper

Steven Bosscher stevenb.gcc@gmail.com
Fri May 7 22:22:00 GMT 2010


On Fri, May 7, 2010 at 11:44 PM, Richard Guenther <rguenther@suse.de> wrote:
> On Fri, 7 May 2010, Richard Guenther wrote:
>
>> On Fri, 7 May 2010, Steven Bosscher wrote:
>>
>> > On Fri, May 7, 2010 at 11:27 PM, Richard Guenther
>> > <richard.guenther@gmail.com> wrote:
>> >
>> > > Can you post output of -v -Wl,-debug?
>> >
>> > Sure:
>> >
>> > bash-3.2$ ./xgcc -B. -O -fwhopr 980701-1.c -o 980701-1 -v -Wl,-debug
>> > Reading specs from ./specs
>>
>> can you rm ./specs and try again?
>>
>> ;)
>
> Or rather I see this myself:
>
> COLLECT_GCC_OPTIONS='-c' '-B.' '-O' '-o' 't' '-v' '-mtune=generic'
> '-march=pentiumpro' '-fltrans' '-o' '/tmp/ccJNpZWg.wpa.ltrans.o'
>
> the double -o is already bogus
>
>  ./as --traditional-format -V -Qy --32 -o t -o /tmp/ccJNpZWg.wpa.ltrans.o
> /tmp/ccxo11Ti.s
>
> but GNU as doesn't care.
>
> I will have a look.

So for the record, fix was posted here:
http://gcc.gnu.org/ml/gcc-patches/2010-05/msg00560.html

Now test results on darwin with LTO are back to normal.

Ciao!
Steven



More information about the Gcc-patches mailing list