avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] trouble compiling latest svn


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] trouble compiling latest svn
Date: Fri, 25 Nov 2011 11:03:19 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

In CCing address@hidden

Sean D'Epagnier schrieb:
On Wed, Nov 23, 2011 at 02:20:38PM +0100, Georg-Johann Lay wrote:

Has anyone else run into this problem?

No, never seen it.  There were quite some changes/rearrangements in the
compiler; did you try to completely clear the object directory before 
configuring?

What SVN version?

I am around trunk 181554 and all works smooth.

AFAIR c_addr_space_name is located in and included with c-family/c-common.h

Yes, but it is not found when linking because it is in c-common.o which is not 
in the
list of objects used to link lto1.

I fixed the problem by passing --disable-lto to configure.   Did you have 
success building
lto1 for link time optimization support?   It builds fine for a native 
compiler, so I
am wondering if this is a bug in the avr backend.

Ah, ok, now I see. I am configuring with --disable-lto for some reasons like http://sourceware.org/PR12742

I'd propose to move over to address@hidden and ask for a solution there (please CC me then). Named addresses are new in GCC and AVR is the only target that makes extensive use of the new feature.

avr.c uses c_addr_space_name to get the names of address spaces for diagnostics, and likely it's a flaw in GCC's build machinery that does not arrange for that.

Johann

Sean

p.s.: please hit "answer all" in your email program so that your posts are visible in the mailing lists, too.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]