From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] Binary toolchain fails
Date: Sun, 01 Feb 2009 14:06:36 +0100 [thread overview]
Message-ID: <87hc3ei9wj.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1233484479.4147.149.camel@elrond.atmel.com> (Ulf Samuelsson's message of "Sun\, 01 Feb 2009 11\:34\:39 +0100")
>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:
Ulf> I am testing the binary toolchain, with a toolchain built
Ulf> by another buildroot project.
The external toolchain stuff? That's afaik known to not work.
Ulf> Several packages does not build correctly.
Ulf> "-lintl" and "-liconv are" not found.
Strange, so the packages don't respect CFLAGS / LDFLAGS?
Ulf> Examples are "e2fsprogs" and "libgpg-error"
Ulf> by doing
Ulf> ifeq ($(BR2_PACKAGE_LIBICONV),y)
Ulf> LIBGPG_ERROR_CONF_OPT += --with-libiconv-prefix=$(STAGING_DIR)/usr
Ulf> endif
Ulf> ifeq ($(BR2_PACKAGE_LIBINTL),y)
Ulf> LIBGPG_ERROR_CONF_OPT += --with-libintl-prefix=$(STAGING_DIR)/usr
Ulf> endif
And what about the 10s of other libraries we have? To me it seems like
something else is broken in the external toolchain stuff, and this is
just pampering over it.
Ulf> KERNEL HEADERS
Ulf> --------------
Ulf> If you build just the toolchain to, lets say, /usr/local/arm/gcc-4.3.2,
Ulf> and use this directory as GCCROOT in your external toolchain,
Ulf> you have no kernel-headers.
Ulf> Should the kernel headers really be installed in
Ulf> toolchain_build_ARCH/linux?
Ulf> Why not in "$(STAGING_DIR)/usr/include/linux" ?
Ulf> If you are not building a toolchain from source, then
Ulf> the kernel-headers target is not available.
Ulf> I moved them out from the if BUILDROOT_TOOLCHAIN_SOURCE
Ulf> clause so they build for me, but I think that
Ulf> is the wrong solution and generating the headers in
Ulf> ?"$(STAGING_DIR)/usr/include/linux" is better.
Ulf> Comments?
The kernel headers are pretty closely related to the C library, and
hence the toolchain, so my initial thought is that it sounds wrong.
But if you want to work on making the external toolchain stuff less
broken AFTER the release, then that's fine as long as it doesn't add
too much complications and the internal toolchain stuff keeps working.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2009-02-01 13:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-01 10:34 [Buildroot] Binary toolchain fails Ulf Samuelsson
2009-02-01 11:50 ` Ulf Samuelsson
2009-02-01 13:08 ` Peter Korsgaard
2009-02-01 13:57 ` Ulf Samuelsson
2009-02-01 13:06 ` Peter Korsgaard [this message]
2009-02-01 14:00 ` Ulf Samuelsson
2009-02-02 12:55 ` Daniel Laird
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hc3ei9wj.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox