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]

Re: FATAL: kernel too old


Andrew Haley <aph@redhat.com> writes:

>> I have made a cross compiler for ARM target.
>>
>> On host i have fedore core -8. (Linux localhost.localdomain
>> 2.6.23.1-42.fc8 ). I am using crosstool-NG script to Build this
>> toolchain.
>>
>> I have used gcc 4.3.4,
>> binutils 1.91
>> glibc 2.8
>> kernel header 2.6.30
>>
>>
>> I have able to make cross tool and able to make executable.
>>
>> when i run this program on my ARM target which is having kernel
>> 2.6.30(compiled with tollchain from codesourcery 4.3.4) running i am
>> getting
>>
>> "FATAL: kernel too old"
>>
>> Can you pls suggest what is issue.
>
> This is glibc telling you that the kernel you're trying to use is too
> old for that version of glibc.
>
> I'm rather surprised this is happening, as the kernel version should have
> been detected when you built glibc.

Does glibc correctly detect the kernel version when you cross-compile?

You can set the minimum supported kernel when you configure glibc with
the --enable-kernel option.

Ian

--
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]