[OE-core] u-boot do_compile should be reentrant even with ld-is-gold

Otavio Salvador otavio at ossystems.com.br
Wed Aug 1 12:32:03 UTC 2012


On Wed, Aug 1, 2012 at 8:59 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Wed, Aug 01, 2012 at 08:48:08AM -0300, Otavio Salvador wrote:
>> On Wed, Aug 1, 2012 at 3:50 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
>> > reexecuting do_compile in u-boot causes .bfd being appended multiple
>> > times and resulting in errors like:
>> > /bin/bash: arm-oe-linux-gnueabi-ld.bfd.bfd.bfd: command not found
>>
>> I am just wondering why it'd end re-executed? due changes on sstate hash?
>
> e.g. when it fails due to compile error and someone reexecutes it then
> he will see arm-oe-linux-gnueabi-ld.bfd.bfd.bfd instead of real compile
> error.

Wouldn't be better to grep for 'ld.bfd' and apply it *only* if not is not found?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list