[Buildroot] Problem with building Divine; wrong Path

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Sep 10 10:23:14 UTC 2014


Dear Andreas Zeiler,

On Wed, 10 Sep 2014 11:22:03 +0200, Andreas Zeiler wrote:

> I merged our Buildroot 2013.02 to the version 2013.05. Everything was
> ok. As default config we configure with directfb which includes the
> divine lib. When the divine package gets build, there is a failure.
> Seems that the lib path for the toolchain gets set wrong. So the
> libtool says it cannot find the archive/directory. When I'm building
> without directfb, the build process ends without any failures. Here
> is a failure output: (I hope this is enough of Output)

Usual questions:

 * Can you reproduce with Buildroot 2014.08 ? We have fixed many many
   issues since 2013.05.

 * Please send the .config file that allows to reproduce the issue (as
   well as the different elements needed for us to reproduce the build).


> But the File is under ""/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/ lib/libstdc++.la". So somewhere something adds the wrong path.
> 
> è  "local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/lib/gcc/arm-fs-linux-gnueabi/4.7.2/../../../../arm-fs-linux-gnueabi/"
> This is the path from my toolchain on my hostpc under the directory "/usr/local/......"
> 
> This is my $PATH Variable: "/usr/lib/qt-3.3/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin/bin:/home/zeiler/bin:/usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/bin:/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin"
> 
> Can someone help me with this?

Remove the toolchains from your PATH, i.e
remove /usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/bin
and /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin.
Also, make sure to try to reproduce with ccache support disabled.

Best regards,

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



More information about the buildroot mailing list