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: scanf doesn't work


On 6/26/09, Leonitis <rubixqb@gmail.com> wrote:
>
>
> Khem Raj-3 wrote:
>>
>> Could you try compile/run it as a static binary? if you have not done so.
>> It could just be a misatch of libraries on your system Vs the libraries
>> you are using to develop/compile the testcase
>>
>
> I have not done that before. After setting the "-static" flag (that's how
> you do it, right?),
> I get "FATAL: kernel too old" followed by a seg fault.

probably the glibc against which you linked is compiled with --enable-kernel
equal to a version number which is larger than the actual version you
are running
on the target. Check the option passed to configure for glibc when you
built the toolchain

Thanks

-Khem

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