[Patch,AVR] Was/Fix: error linking lto1 for target avr

Georg-Johann Lay avr@gjlay.de
Wed Nov 30 10:32:00 GMT 2011


Denis Chertykov wrote:
> 2011/11/29 Georg-Johann Lay:
> 
>>
>>I attached a patch but I fail to find the right configure options for
>>gcc/binutils as the testsuite complains
>>
>>./avr/bin/ld: bad -plugin option
>>
>>Configured gcc with --enable-lto and binutils 2.21 with --enable-plugin.
>>
>>Maybe the patch can be pre-approved so that the others can proceed with their work?
> 
> Better to complete this work.

The patch itself is complete from my side.

It's not passing the test suite because of some mis-configuration of gcc 
and/or binutils, not because the patch is incomplete.

I just can't find the right configure options to get the LTO stuff work, 
i.e. how to enable plugins in binutils and LTO in gcc.

Johann

> 
> Denis.
> 



More information about the Gcc-patches mailing list