binutils for arm-wince-pe build broken on cygwin?
Pedro Alves
pedro_alves@portugalmail.pt
Sat Apr 1 14:39:00 GMT 2006
Alan Modra wrote:
> On Fri, Mar 31, 2006 at 09:36:54PM +0100, Pedro Alves wrote:
>
>> "/* Script for ld -Ur: link w/out relocation, do create constructors */\n\
>>
>> \n\
>> OUTPUT_FORMAT(pe-arm-little)
>> \n\
>>
>> \n\
>>
>> \n\
>> SEARCH_DIR(\"/cygdrive/d/gcc/wince/arm-wince-pe/lib\");
>> \n\
>> <snip>
>> ---------------------------------
>> Notice the extra empty lines without a continuation escape. Looking at a
>> tree I have build a few months ago, I see that
>> those empty newlines should not be there.
>> I think earmpe.c is build from pe.em by genscripts.sh.
>>
>
> Yes, and the part you show above comes from ldscripts/armpe.xu, itself a
> generated file. I would guess armpe.xu has blank lines too, possibly
> caused by a broken sed.
>
>
You are right. Thanks for the tip. Downgrading to sed 4.1.4 fixed the
problem.
I am now confirming if the problem shows up also in i686-pc-cygwin target.
Has anyone stumbled on a similar problem yet?
Cheers,
Pedro Alves
More information about the Binutils
mailing list