[Buildroot] [PATCH] dependencies: Add host prerequisite for elf2flt

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Sep 4 11:27:17 UTC 2013


On 09/04/2013 08:19 AM, Thomas Petazzoni wrote:

>> HOST_ELF2FLT_DEPENDENCIES = host-binutils host-zlib
> 
> What I was suggesting is that host-elf2flt should have been a
> dependency of host-binutils. But that's obviously wrong, since elf2flt
> requires the libbfd library I suspect.

Yes that's true, the order would be binutils -> elf2flt -> gcc -> world
domination.

> Indeed. If it's not needed during the gcc build, one solution is to add
> its as a dependency in host-gcc-final.

It's needed for some uClibc combination, link-flat.so which uses elf2flt
pulls in libgcc according to uclibc/Makerules (used in
uclibc/libc/Makefile.in).
I think it's safer to pull it in for gcc-intermediate or even gcc-initial.
Regards.



More information about the buildroot mailing list