This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Mark, On Monday 06 August 2007 20:56, you wrote: > I did venture into the realm of 'crosstool' and was 'amazed' to find > that one combination of gcc/libc actually realized the toolchain. What libc? glibc or uClibc? I tend to mostly use uClibc, and try some glibc- based builds from time to time. Anyway, the C library has nothing to do with the problem you're seeing (the kernel doesn't use the C library). > However the toolchain immediately fails to compile the kernel with the following > report. > > [root@localhost linux-2.6.22.1]# make > CHK include/linux/version.h > make[1]: `include/asm-arm/mach-types.h' is up to date. > CHK include/linux/utsrelease.h > CC arch/arm/kernel/asm-offsets.s > arch/arm/kernel/asm-offsets.c:1: error: invalid ABI option: -mabi=aapcs-linux > make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 > [root@localhost linux-2.6.22.1]# What ABI is your kernel configured to use: the old OABI, or the newest EABI? Most probably your compiler does not understand ABI aapcs-linux (which I *think* is EABI, but I'm not quite sure). What is your gcc version? You'll need at least gcc-4.0.0 to build EABI kernels and userland. For the records, I've just successfully build a cross-toolchain based upon gcc-4.2.1 and binutils-2.17.50.0.17 (with crosstool-NG svn trunk) which successfully builds a linux-2.6.22 EABI kernel configured for NSLU2 (ixp420, the same core as ixp425) and didn't see the error you pointed out. > I really appreciate your development of crosstool-ng, Thank you! You have to know that I use crosstool-NG to build toolchains here at home for personal use (ARM- and MIPS-based), and professionally for production systems (MIPS-based) and those are working fine. Nonetheless, I still consider it to be Beta software, and am always waiting for more feedback. > and hope it finds a school of eager developers. You're welcome to contribute! :-) Note that discussions about building cross-toolchains are well suited on crossgcc@sourceware.org (CC'ed). There are a bunch of nice chaps there who are highly knowledgeable. Please subscribe and keep us informed. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ | | --==< °_° >==-- °------------.-------: X AGAINST | /e\ There is no | | http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. | °------------------------------°-------°------------------°--------------------° -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |