This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,AVR] Was/Fix: error linking lto1 for target avr
- From: Ian Lance Taylor <iant at google dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: Georg-Johann Lay <avr at gjlay dot de>, gcc-patches at gcc dot gnu dot org, sean at depagnier dot com, GCC Mailing List <gcc at gcc dot gnu dot org>, Denis Chertykov <chertykov at gmail dot com>
- Date: Wed, 30 Nov 2011 15:00:36 -0800
- Subject: Re: [Patch,AVR] Was/Fix: error linking lto1 for target avr
- References: <CABu31nONrKUqC2ofy7x72aQ=u9Nof2berU92_XD6ack+azGWFQ@mail.gmail.com> <4ED216F7.3070901@gjlay.de> <mcrr50t5u9u.fsf@dhcp-172-18-216-180.mtv.corp.google.com> <4ED27DF2.2080907@gjlay.de> <mcrmxbg6dvp.fsf@dhcp-172-18-216-180.mtv.corp.google.com> <4ED383C3.5040402@gjlay.de> <mcraa7g3zo5.fsf@dhcp-172-18-216-180.mtv.corp.google.com> <4ED51080.9090306@gjlay.de> <CABu31nMS35wxYBSRz_TU22ipyPSAjw0naLuy_d+uf7K8tQoZrg@mail.gmail.com>
Steven Bosscher <stevenb.gcc@gmail.com> writes:
> On Tue, Nov 29, 2011 at 6:04 PM, Georg-Johann Lay <avr@gjlay.de> 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 don't follow binutils much, but isn't the plugin only for
> the gold linker?
Actually both gold and the GNU linker support plugins these days.
(But the configure option is --enable-plugins.)
Ian