FATAL: kernel too old

View: New views
3 Messages — Rating Filter:   Alert me  

FATAL: kernel too old

by naveen yadav :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

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.

Best Regards
Naveen

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


Re: FATAL: kernel too old

by Andrew Haley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

naveen yadav wrote:

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

Andrew.

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


Re: FATAL: kernel too old

by Ian Lance Taylor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew Haley <aph@...> 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