Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Libtool problem building mesa3d-demos
@ 2015-05-01 20:41 Carlos Soto
  2015-05-01 22:14 ` Arnout Vandecappelle
  0 siblings, 1 reply; 8+ messages in thread
From: Carlos Soto @ 2015-05-01 20:41 UTC (permalink / raw)
  To: buildroot

Hi,
I'm using buildroot to create a rootfs for iMX6-quad. I'm using an external
toolchain created with crosstool-ng (arm-cortexa9_neon-linux-gnueabihf).
When building mesa3d-demos, there is an error creating libutil.la:

libtool:   error:
'/home/starsl/iMX6/buildroot/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/local/xtools/arm-cortexa9_neon-linux-gnueabihf/lib/gcc/arm-cortexa9_neon-linux-gnueabihf/4.9.1/../../../../arm-cortexa9_neon-linux-gnueabihf/lib/libstdc++.la'
is not a valid libtool archive

Of corse, this path is not right, it seems to be joining two different
paths.

I've tracked the source of the problem, and it seems to be related with the
libtool used by buildroot. I've modified the resulting Makefiles to use the
host libtool, and the problem disappears:

LIBTOOL = $(SHELL) $(top_builddir)/libtool to
LIBTOOL = $(SHELL) /usr/bin/libtool

Any thoughts about what it's going wrong?

Regards,
Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150501/fa9acd1f/attachment.html>

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

end of thread, other threads:[~2015-05-02 21:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01 20:41 [Buildroot] Libtool problem building mesa3d-demos Carlos Soto
2015-05-01 22:14 ` Arnout Vandecappelle
2015-05-02 16:04   ` Carlos Soto
2015-05-02 19:19     ` Arnout Vandecappelle
2015-05-02 20:42       ` Carlos Soto
2015-05-02 20:45         ` Arnout Vandecappelle
2015-05-02 21:16           ` Carlos Soto
2015-05-02 21:26             ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox