[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in binutils master specific to msp430-elf
From: |
Peter Bigot |
Subject: |
Re: bug in binutils master specific to msp430-elf |
Date: |
Mon, 2 Jun 2014 06:08:58 -0500 |
On Sun, Jun 1, 2014 at 11:15 PM, Alan Modra <address@hidden> wrote:
> On Sun, Jun 01, 2014 at 07:54:58PM -0500, Peter Bigot wrote:
>> 77ac17b8453f60adabaa8931930e2bbe0499757d is the first bad commit
>> commit 77ac17b8453f60adabaa8931930e2bbe0499757d
>> Author: Hans-Peter Nilsson <address@hidden>
>> Date: Wed May 28 18:20:16 2014 +0200
>>
>> ld: Split GENSCRIPTS rule from dependencies to fix tdir_'s.
>>
>> * Makefile.am: Change all rules with ${GENSCRIPTS}
>> invocations to be just dependencies.
>> ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
>> (run-genscripts): New rules.
>> * Makefile.in: Regenerate.
>
> It's because msp, along with bfin and score, take an extra argument to
> the genscript invocation. I think the following should cure the
> problem you're seeing, but it leads to a bunch of warnings
>
> Makefile:2400: warning: overriding commands for target `eelf32bfin.c'
> Makefile:2105: warning: ignoring old commands for target `eelf32bfin.c'
> Makefile:2406: warning: overriding commands for target `eelf32bfinfd.c'
> Makefile:2105: warning: ignoring old commands for target `eelf32bfinfd.c'
> Makefile:2940: warning: overriding commands for target `emsp430.c'
> Makefile:2105: warning: ignoring old commands for target `emsp430.c'
> Makefile:2945: warning: overriding commands for target `emsp430X.c'
> Makefile:2105: warning: ignoring old commands for target `emsp430X.c'
> Makefile:3048: warning: overriding commands for target `escore3_elf.c'
> Makefile:2105: warning: ignoring old commands for target `escore3_elf.c'
> Makefile:3053: warning: overriding commands for target `escore7_elf.c'
> Makefile:2105: warning: ignoring old commands for target `escore7_elf.c'
>
> I think I'll look at a different solution, renaming some ld/emulparams
> files instead.
Thanks; your commit ce46249c155b7 fixes it for me.
Peter