[Buildroot] [PATCH] dtc: broken for static builds

Peter Korsgaard jacmet at uclibc.org
Fri Jan 10 21:59:43 UTC 2014


>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera at imgtec.com> writes:

 > On 01/09/2014 08:14 PM, Peter Korsgaard wrote:
 >>>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera at imgtec.com> writes:
 >> 
 >> > dtc package has hardcoded shared lib link options in the Makefile, so it
 >> > will fail if you try to build it on a static lib environment.
 >> 
 >> Really? I just did a quick test build and it seems to work here:
 >> 
 >> file output/target/usr/bin/dtc
 >> output/target/usr/bin/dtc: ELF 32-bit LSB executable, ARM, version 1
 >> (SYSV), statically linked, stripped

 > I have tried right now with a simple buildroot configuration for
 > x86_64 and it fails. Please, try to reproduce it following these
 > steps:

 > -make clean
 > -make distclean
 > -make menuconfig
 > (choose x86_64 target)
 > (choose prefer static libs)
 > (choose dtc package)
 > -save changes
 > -make

Ahh yes, I do see it on x86-64. Thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list