crosstool 0.26 for arm fail?

Dan Kegel dank@kegel.com
Sat Jan 31 07:05:00 GMT 2004


Ming Zhang wrote:
> Hi, I dl crosstool-0.26 and try to get a cross compile toolchain for
> arm.
> 
> but either
> eval `cat arm.dat gcc-3.3.1-glibc-2.3.2.dat` sh all.sh --notest
> or 
> eval `cat arm.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh --notest
> 
> fail with same error message
> 
> In file included from ../sysdeps/unix/sysv/linux/sys/sysctl.h:29,
>                  from ../include/sys/sysctl.h:2,
>                  from ../sysdeps/unix/sysv/linux/arm/ioperm.c:49:
> /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.1-glibc-2.3.2/arm-unknown-linux-gnu/include/linux/sysctl.h:72: error: parse error before numeric constant
> ...
> i remembered that i can get a workable arm chain by using
> crosstool-0.24.

As discussed on crossgcc recently (you DID check the archives, didn't you? :-)
the patch
   patches/glibc-2.3.2/arm-ioperm.patch
is said to be bogus.  Try removing it.

(Also, the kernel headers for 2.4.21 (which you used)
and the kernel headers for 2.4.24 and later differ in that they
renamed BUS_ISA to CTL_BUS_ISA; who knows, maybe glibc
will need adjusting to match.  See e.g.
http://www.ussg.iu.edu/hypermail/linux/kernel/0311.0/0529.html)

This isn't really a resolved issue yet.
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list