arm-unknown-linux-gnueabi ABI selection

Marc Kleine-Budde mkl@pengutronix.de
Mon Sep 1 15:36:00 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Abbott wrote:
> On Mon, 1 Sep 2008, Marc Kleine-Budde wrote:
>> Michael Abbott wrote:
>>> On Sun, 31 Aug 2008, Yann E. MORIN wrote:
>>> I've hit an unexpected snag.  Building the kernel fails very early on:
>> can you give me the involved version:
>> binutils
>> glibc
>> gcc
>> kernel
>>
>> Then I'll have a look what happens here with OSELAS.Toolchain.
> 
> The cross-compiler versions are as specified in the sample script for 
> samples/arm-unknown-linux-gnueabi, with the associated crosstool-ng-1.2.2 
> patches:
> 
> CT_BINUTILS_VERSION="2.18.50.0.8"
> CT_LIBC_VERSION="2.7"
> CT_CC_VERSION="4.2.4"
> CT_KERNEL_VERSION="2.6.26"
> 
> The kernel in question is literally 2.6.26, as released 13th July with 
> only some very trival local hardware patches.

segfaults here with OSELAS.Toolchain, too :( I'll try 2.18 binutils.

make -f scripts/Makefile.build obj=arch/arm/kernel

/opt/OSELAS.Toolchain-trunk/arm-v4t-linux-gnueabi/gcc-4.2.4-glibc-2.7-kernel-2.6.26/bin/arm-v4t-linux-gnueabi-gcc
- -Wp,-MD,arch/arm/kernel/.setup.o.d  -nostdinc -isystem
/opt/OSELAS.Toolchain-trunk/arm-v4t-linux-gnueabi/gcc-4.2.4-glibc-2.7-kernel-2.6.26/lib/gcc/arm-v4t-linux-gnueabi/4.2.4/include
- -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h
- -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
- -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
- -Os   -fno-stack-protector -marm -fno-omit-frame-pointer -mapcs
- -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork
- -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=xscale -Wa,-mcpu=xscale
- -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls
- -g -Wdeclaration-after-statement -Wno-pointer-sign
- -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(setup)"
- -D"KBUILD_MODNAME=KBUILD_STR(setup)" -c -o arch/arm/kernel/.tmp_setup.o
arch/arm/kernel/setup.c
Segmentation fault
make[1]: *** [arch/arm/kernel/setup.o] Error 139


cheers, Marc

- --
 Marc Kleine-Budde              Phone: +49-231-2826-924
 Pengutronix - Linux Solutions for Science and Industry
 Vertretung West/Dortmund     http://www.pengutronix.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIvAubjTAFq1RaXHMRAtNbAJ9iFyHKkRrcsOdTcuFWG3sCZAHq9gCgheML
SsF+BJIVuqwPje/PCXHAwxw=
=ecrg
-----END PGP SIGNATURE-----

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list