[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] avr-ld on Windows crashes with -relax
From: |
Preston Wilson |
Subject: |
Re: [avr-gcc-list] avr-ld on Windows crashes with -relax |
Date: |
Tue, 24 Feb 2009 08:09:47 -0500 |
User-agent: |
Microsoft-Entourage/11.4.0.080122 |
"Ruud Vlaming" wrote:
> On Tuesday 24 February 2009 05:29, Jim Brain wrote:
>> WinAVR 20081205 in use.
>>
>> I have an app that, if I use:
>>
>> LDFLAGS += -Wl,-O9,-relax
>>
>> avr-ld dies during link. If I take off -relax, as is well.
Does "as is well" mean that avr-ld also dies with just -Wl,-O9 ?
If the answer to that question is no, then you could be running into this
http://sourceware.org/bugzilla/show_bug.cgi?id=9841
The linker treats -relax and --relax the same. --relax is the documented
option.
> I think this is a bug. Try:
> -Wl,--gc-sections -Wl,--relax
> instead of your options.
-Preston