All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  Problem with building Divine; wrong Path
@ 2014-09-10  9:22 Andreas Zeiler
  2014-09-10 10:23 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Zeiler @ 2014-09-10  9:22 UTC (permalink / raw)
  To: buildroot

Hello,

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)

libtool: compile:  /home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_GNU_SOURCE -I/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/directfb-internal -D_REENTRANT -I/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/directfb -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O3 -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Werror-implicit-function-declaration -MT idivine.lo -MD -MP -MF .deps/idivine.Tpo -c idivine.c  -fPIC -DPIC -o .libs/idivine.o
libtool: compile:  /home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_GNU_SOURCE -I/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/directfb-internal -D_REENTRANT -I/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/directfb -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O3 -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Werror-implicit-function-declaration -MT idivine.lo -MD -MP -MF .deps/idivine.Tpo -c idivine.c -o idivine.o >/dev/null 2>&1
libtool: compile:  /home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_GNU_SOURCE -I/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/directfb-internal -D_REENTRANT -I/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include/directfb -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -O3 -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -Werror-implicit-function-declaration -MT divine.lo -MD -MP -MF .deps/divine.Tpo -c divine.c -o divine.o >/dev/null 2>&1
mv -f .deps/idivine.Tpo .deps/idivine.Plo
mv -f .deps/divine.Tpo .deps/divine.Plo
/bin/sh ../libtool --tag=CC   --mode=link /home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/bin/arm-linux-gcc  -Wall -O3 -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -Werror-implicit-function-declaration -version-info 0:3:0 -release 1.6  -o libdivine.la -rpath /usr/lib divine.lo idivine.lo -ldirectfb -lfusion -L/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib -ldirect -lpthread
/bin/grep: /home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/lib/gcc/arm-fs-linux-gnueabi/4.7.2/../../../../arm-fs-linux-gnueabi/lib/libstdc++.la: No such file or directory
/bin/sed: can't read /home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/lib/gcc/arm-fs-linux-gnueabi/4.7.2/../../../../arm-fs-linux-gnueabi/lib/libstdc++.la: No such file or directory
libtool: link: `/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/lib/gcc/arm-fs-linux-gnueabi/4.7.2/../../../../arm-fs-linux-gnueabi/lib/libstdc++.la' is not a valid libtool archive
make[3]: *** [libdivine.la] Fehler 1
make[3]: Leaving directory `/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/build/divine-83cafc257a42b9465cd9d6185bf66b8c1b7ed704/lib'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/build/divine-83cafc257a42b9465cd9d6185bf66b8c1b7ed704'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/build/divine-83cafc257a42b9465cd9d6185bf66b8c1b7ed704'
make: *** [/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/build/divine-83cafc257a42b9465cd9d6185bf66b8c1b7ed704/.stamp_built] Fehler 2


The thing is that the directory "/home/zeiler/data_zeiler/Workspace/sandbox/buildroot/buildroot-2013.05/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/lib/gcc/arm-fs-linux-gnueabi/4.7.2/../../../../arm-fs-linux-gnueabi/lib/libstdc++.la"
Cannot been found.

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?

Mit freundlichen Gr??en / With kind regards

Andreas Zeiler
(zeiler at fs-net.de<mailto:zeiler@fs-net.de>)

________________________________
armStone: Pico-ITX ARM based Single Board Computer
________________________________
F&S Elektronik Systeme GmbH, Stuttgart, Germany
Geschaeftsfuehrer: Holger Froelich, Guenther Scholz
Handelsregister Stuttgart HRB 18493, VAT DE178964418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140910/922d4d82/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Problem with building Divine; wrong Path
  2014-09-10  9:22 [Buildroot] Problem with building Divine; wrong Path Andreas Zeiler
@ 2014-09-10 10:23 ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-09-10 10:23 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Problem with building Divine; wrong Path
  2014-09-10 12:26 Andreas Zeiler
@ 2014-09-11 21:43 ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-09-11 21:43 UTC (permalink / raw)
  To: buildroot

Dear Andreas Zeiler,

Please don't top post, thanks!

On Wed, 10 Sep 2014 14:26:06 +0200, Andreas Zeiler wrote:

> thanks for reply. I cannot try this with 2014.08. I know that there
> are many fixes but first I need to merge to 2013.05 because another
> platform has this version and we want to merge these platforms to one.

I understand, but you also need to understand that as volunteers
working in an open-source community, we can hardly spend time
supporting old versions of Buildroot. We very much prefer to focus our
efforts on recent versions, where fixes are benefiting everybody, not
just one person.

> Also I tried with removing toolchain from PATH. This had no effect. I
> also removed the toolchainpath from the menuconfig but then the
> toolchain couldn't been found at all.

Since you're using an external toolchain, I would need the tarball of
this toolchain (upload it somewhere), and then your Buildroot .config
(or a simpler Buildroot .config, as long as it exhibits the problem).

Thanks!

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Problem with building Divine; wrong Path
@ 2014-09-10 12:26 Andreas Zeiler
  2014-09-11 21:43 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Zeiler @ 2014-09-10 12:26 UTC (permalink / raw)
  To: buildroot


Hello Thomas,

thanks for reply. I cannot try this with 2014.08. I know that there are many fixes but first I need to merge to 2013.05 because another platform has this version and we want to merge these platforms to one.

Also I tried with removing toolchain from PATH. This had no effect. I also removed the toolchainpath from the menuconfig but then the toolchain couldn't been found at all.

Which elements do you need exactly? I'm new to this all. ;)






Mit freundlichen Gr??en / With kind regards

Andreas Zeiler
(zeiler at fs-net.de)

F&S Elektronik Systeme GmbH
70569 Stuttgart
Untere Waldpl?tze 23
Tel.: 0711/123722-0
Fax: 0711/123722-99
www.fs-net.de


armStone: Pico-ITX ARM based Single Board Computer 

F&S Elektronik Systeme GmbH, Stuttgart, Germany
Geschaeftsfuehrer: Holger Froelich, Guenther Scholz Handelsregister Stuttgart HRB 18493, VAT DE178964418 

-----Urspr?ngliche Nachricht-----
Von: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com]
Gesendet: Mittwoch, 10. September 2014 12:23
An: Andreas Zeiler
Cc: buildroot at busybox.net
Betreff: Re: [Buildroot] Problem with building Divine; wrong Path

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT20202.config
Type: application/xml
Size: 53547 bytes
Desc: ATT20202.config
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140910/ff9e9444/attachment.wsdl>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-11 21:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-10  9:22 [Buildroot] Problem with building Divine; wrong Path Andreas Zeiler
2014-09-10 10:23 ` Thomas Petazzoni
2014-09-10 12:26 Andreas Zeiler
2014-09-11 21:43 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.