[Buildroot] Analysis of build failures

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 3 12:48:05 UTC 2014


Dear Romain Naour,

On Mon, 3 Mar 2014 12:31:45 +0100 (CET), Romain Naour wrote:

> | 
> | > microblaze |                     gpm-1.20.7 | NOK |
> | > http://autobuild.buildroot.net/results/e99afadca6de92aad8563006fc7219aa32d77a88/
> | 
> | Strange:
> | 
> | /home/test/test/2/output/host/usr/bin/microblaze-buildroot-linux-gnu-gcc
> | libgpm.so.2 \
> | 	 -L/home/test/test/2/output/build/gpm-1.20.7/src  -o
> | 	 lib/libgpm.so.2.1.0 lib/liblow.lo lib/libhigh.lo lib/libxtra.lo
> | 	 lib/report-lib.lo tools.lo  -lc
> | microblaze-buildroot-linux-gnu-gcc: error: libgpm.so.2: No such file
> | or directory
> | 
> | Spenser ?
> 
> It's because __ELF__ is not defined in microblaze toolchain :
> checking whether system is ELF... no
> 
> If elf format is not enabled then gpm is build statically.
> You may have noticed that qpm static build is disabled in gpm.mk because it's broken.
> 
> I can try to fix gpm's static build.

Hum, but that's weird because Microblaze definitely uses the ELF binary
format, supports shared library and has a MMU (at least for the
Microblaze CPU variants that we support).

So it should be working in shared library mode, I believe.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list