This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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]

crosstool ng 1.5.2: using custom kernel headers


Hello,

Using crosstool 1.5.2 I'm trying to build gcc 4.1.2 + glibc 2.5 but
with kernel: 3.4.18

I specified the path of "kernel headers"

I'm getting the following error:

[INFO ]  Installing C library headers
[EXTRA]    Configuring C library
[ERROR]    Linux version is unavailable in installed headers files
[ERROR]    Build failed in step 'Installing C library headers'
[ERROR]    Error happened in
'/home/zvivered/ct-ng-1.5.2/lib/ct-ng-1.5.2/scripts/build/libc/glibc.sh'
in function 'do_libc_headers' (line unknown, sorry)
[ERROR]          called from
'/home/zvivered/ct-ng-1.5.2/lib/ct-ng-1.5.2/scripts/crosstool-NG.sh'
at line # 544 in function 'main'
[ERROR]    Look at '/root/ct-ng-1.5.2/release/build.log' for more info
on this error.

I'm aware this combination was not tested.

But for some reason, my application can be built only with gcc 4.1.2
and glibc 2.5
With glibc 2.9, gcc 4.3.2 (for example) I'm getting
/i686-nptl-linux-gnu/sys-root-usr/lib/librt.so: undefined reference to
'__fortify_fail@GLIBC_PRIVATE'

Attached .config

When I chose kernel 2.6.27.35, the build is OK.

Can you help ?


Thanks,
Zvika

Attachment: config.txt
Description: Text document

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