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

2011-12-06 Thread Denis Chertykov
2011/12/6 Georg-Johann Lay : > Denis Chertykov wrote: >> 2011/11/29 Georg-Johann: >>> Ian Lance Taylor wrote: Georg-Johann Lay: > So if a frontend can define address spaces and it is a generic feature, > the > question is how to get the name of an address space in a generic,

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

2011-12-06 Thread Georg-Johann Lay
Denis Chertykov wrote: > 2011/11/29 Georg-Johann: >> Ian Lance Taylor wrote: >>> Georg-Johann Lay: >>> So if a frontend can define address spaces and it is a generic feature, the question is how to get the name of an address space in a generic, language independent way. >>> We could

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

2011-12-02 Thread Georg-Johann Lay
Denis Chertykov wrote: > 2011/11/29 Georg-Johann Lay : >> Ian Lance Taylor wrote: >>> Georg-Johann Lay writes: >>> So if a frontend can define address spaces and it is a generic feature, the question is how to get the name of an address space in a generic, language independent way.

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

2011-11-30 Thread Ian Lance Taylor
Steven Bosscher writes: > On Tue, Nov 29, 2011 at 6:04 PM, Georg-Johann Lay wrote: >> 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 w

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

2011-11-30 Thread Steven Bosscher
On Tue, Nov 29, 2011 at 6:04 PM, Georg-Johann Lay wrote: > 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. Huh, wait. I

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

2011-11-30 Thread Ian Lance Taylor
Georg-Johann Lay writes: > 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. For binutils: configure with --enable-plugins (note: not --enable-plugin). For gcc: should be on by default, or configure with --enable-lt

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

2011-11-30 Thread Georg-Johann Lay
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

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

2011-11-29 Thread Denis Chertykov
2011/11/29 Georg-Johann Lay : > Ian Lance Taylor wrote: >> Georg-Johann Lay writes: >> >>> So if a frontend can define address spaces and it is a generic feature, the >>> question is how to get the name of an address space in a generic, language >>> independent way. >> >> We could decide that all

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

2011-11-29 Thread Georg-Johann Lay
Ian Lance Taylor wrote: > Georg-Johann Lay writes: > >> So if a frontend can define address spaces and it is a generic feature, the >> question is how to get the name of an address space in a generic, language >> independent way. > > We could decide that all frontends that use address spaces mus