[Buildroot] [PATCH] core: fix setting of HOSTARCH
Peter Korsgaard
peter at korsgaard.com
Thu Nov 12 08:11:52 UTC 2015
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Hi,
> Those build failures are not caused by a 32 bits vs. 64 bits issue. In
> fact, I started running my chroot under "linux32", but it was even
> worse. Because indeed my chroots *are* 64 bits.
> However, the real problem is that the new Linaro toolchains have been
> built against glibc 2.14 (for the host), while my chroot only uses
> glibc 2.11 (from Debian 6.0).
Ahh. Debian 6.0 is getting quite old (2011), but yeah - People on
Enterprise distributions might end up with the same problems.
> I'm not sure how to handle this. Some old distros may not have glibc
> 2.14.
I don't think there's much we can do, besides perhaps adding a comment
in the help text.
I'm not sure how realistic it is to convince the Linaro people to build
their toolchains on ancient distributions.
> In any case, I believe the rework of how we get HOSTARCH is not really
> needed IMO: 1/ it is not the source of the problem for the Linaro
> toolchain and 2/ it is most likely appropriate to use setarch/linux32
> when running a 32 bits chroot under a 64 bits kernel.
I agree about linux32, yes.
--
Venlig hilsen,
Peter Korsgaard
More information about the buildroot
mailing list