From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 3 Mar 2014 13:48:05 +0100 Subject: [Buildroot] Analysis of build failures In-Reply-To: <495852511.10469178.1393846305700.JavaMail.root@openwide.fr> References: <20140303090219.65a08cc7@skate> <495852511.10469178.1393846305700.JavaMail.root@openwide.fr> Message-ID: <20140303134805.2eb084c4@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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