Generating a toolchain for big-endian arm with ct-ng.

Gilles Chanteperdrix
Wed Jan 7 14:40:00 GMT 2009

Yann E. MORIN wrote:
> Gilles, Mike,
> All,
> On Tuesday 06 January 2009 14:33:29 Gilles Chanteperdrix wrote:
>> a toolchain based on gcc 4.3.2 and glibc 2.7 builds fine, and generates
>> a working root filesystem, but unfortunately has a bug (
>> ).
> So there is no patch yet... Could you ping back here once there's one?
>> a toolchain based on gcc 4.2.4 builds fine too, but generates a non
>> working root filesytem. It appears that the gcc patch (for gcc 4.2.x)
>> for big-endian arm (240-arm-bigendian.patch) lacks the change attached
>> to this mail as 240-arm-bigendian2.patch.
> I'll add that as 241-arm-bigendian2.patch to be sure of the patch ordering.
>> trying to build the toolchain with an earlier version of glibc fails,
>> glibc is looking for asm/procinfo.h which is not installed by Linux'
>> headers_install target.
> [--SNIP--]
> As Mike pointed out, the patch you later pointed to will be the way to go.
> Will add it.
>> trying to build a toolchain based on gcc 4.1.2 fails, gcc/tree.h
>> includes tree-check.h which can not be found in gcc sources, and seems
>> to be required. I did not try to fix this, but thought you might be
>> interested.
> Well, gcc-4.1.2 is now /old/ and unless there's a patch for it, I won't try
> to fix. I'd rather spend my rather sparse time resources on more up-to-date
> versions.

Well, you are the maintainer, so, this is your choice. However, from a
user point of view, it is very frustrating to be in a situation where
none of the options proposed by crosstool-ng really works.


For unsubscribe information see

More information about the crossgcc mailing list