Changing the destination Linux Kernel version

Clément VERMOT-DESROCHES clement.vermot@gmail.com
Mon Mar 11 14:17:00 GMT 2013


Hi everybody,

I'm currently trying to create a cross toolchain using crosstool-ng.
I have 3 machines :
-my build machine : i386 with Linux Kernel 3.5.0
-my host machine : i386 with Linux Kernel 2.6.18
-my target machine : ARM with Linux Kernel 3.6.11

I manage to generate a valid toolchain. I compile with success a
binary for the target from my build machine. But I have to use the
host machine to produce my target binary. If I try to compile on my
host machine with the toolchain produced on my build machine, I get
the message :
"FATAL : kernel too old
segmentation fault"

If I do a "file linux-gnueabi-gcc", I get "ELF 32-bit LSB executable,
Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.24, statically
linked, for GNU/Linux 2.6.24, stripped", so, it's explain the kernel
too old error.

So, my question is : how can I produce a 2.6.18 (or less) compliant
toolchain from my build machine ? I have checked and tryed a lot of
parameters but I didn't manage to get a binary which run happily on my
host machine.
I can not run crosstool-ng on my host machine because I haven't the
right to update tools and the installed versions are too old to
successfully using crosstool-ng on this computer.

Thank you,
Best regards,
Clément VERMOT

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



More information about the crossgcc mailing list