From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Olivert Riera Date: Fri, 10 Jan 2014 14:51:14 +0000 Subject: [Buildroot] [PATCH] dtc: broken for static builds In-Reply-To: <87fvowc3pp.fsf@dell.be.48ers.dk> References: <1389087873-40458-1-git-send-email-Vincent.Riera@imgtec.com> <87fvowc3pp.fsf@dell.be.48ers.dk> Message-ID: <52D008E2.6000600@imgtec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 01/09/2014 08:14 PM, Peter Korsgaard wrote: >>>>>> "Vicente" == Vicente Olivert Riera 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 -- Vincent