| Summary: | crossdev fails at glibc with linux-headers version | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kuryshev Mikhail <mixrin> |
| Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | jni |
| Priority: | High | ||
| Version: | 2008.0 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
crossdev --portage --debug |
||
|
Description
Kuryshev Mikhail
2009-05-15 14:52:56 UTC
Created attachment 191389 [details]
emerge --info
re-run crossdev with --portage --debug and post the resulting glibc log file Created attachment 191493 [details]
crossdev --portage --debug
Here is problem chunk.
+ echo -ne ' [32;01m*[0m Checking linux-headers version (>=2.6.9) ...'
[32;01m*[0m Checking linux-headers version (>=2.6.9) ...+ LAST_E_CMD=einfon
+ return 0
+ [[ yes == \y\e\s ]]
+ echo
+ LAST_E_LEN=47
+ LAST_E_CMD=ebegin
+ return 0
++ check_kheader_version 132617
+++ tail -n 1
++++ tc-getCPP powerpc-unknown-linux-gnu
++++ tc-getPROG CPP cpp powerpc-unknown-linux-gnu
++++ local var=CPP
++++ local prog=cpp
++++ [[ -n '' ]]
++++ local search=
++++ [[ -n powerpc-unknown-linux-gnu ]]
+++++ type -p powerpc-unknown-linux-gnu-cpp
++++ search=/usr/bin/powerpc-unknown-linux-gnu-cpp
++++ [[ -z /usr/bin/powerpc-unknown-linux-gnu-cpp ]]
++++ [[ -n /usr/bin/powerpc-unknown-linux-gnu-cpp ]]
++++ prog=powerpc-unknown-linux-gnu-cpp
++++ export CPP=powerpc-unknown-linux-gnu-cpp
++++ CPP=powerpc-unknown-linux-gnu-cpp
++++ echo powerpc-unknown-linux-gnu-cpp
++++ alt_build_headers
++++ [[ -z '' ]]
+++++ alt_headers
+++++ [[ -z '' ]]
+++++ is_crosscompile
+++++ [[ x86_64-pc-linux-gnu != powerpc-unknown-linux-gnu ]]
+++++ ALT_HEADERS=/usr/powerpc-unknown-linux-gnu/usr/include
+++++ echo /usr/powerpc-unknown-linux-gnu/usr/include
++++ ALT_BUILD_HEADERS=/usr/powerpc-unknown-linux-gnu/usr/include
++++ tc-is-cross-compiler
+++++ [[ x86_64-pc-linux-gnu != x86_64-pc-linux-gnu ]]
++++ return
++++ echo /usr/powerpc-unknown-linux-gnu/usr/include
+++ powerpc-unknown-linux-gnu-cpp -I /usr/powerpc-unknown-linux-gnu/usr/include
+++ printf '#include <linux/version.h>\nLINUX_VERSION_CODE\n'
++ local version=132132
++ [[ 132132 -ge 132617 ]]
++ echo 1
+ eend 1
+ local retval=1
+ shift
+ _eend 1 eerror ''
+ local retval=1 efunc=eerror msg
+ shift 2
+ [[ 1 == \0 ]]
+ [[ -n '' ]]
+ msg='[34;01m[ [31;01m!![34;01m ][0m'
+ [[ yes == \y\e\s ]]
+ echo -e '[A[102C [34;01m[ [31;01m!![34;01m ][0m'
[A[102C [34;01m[ [31;01m!![34;01m ][0m
+ return 1
+ LAST_E_CMD=eend
+ return 1
+ echo
+ eerror 'You need linux-headers of at least version 2.6.9'
But i can't find where he gets LINUX_VERSION_CODE == 132617
132617 is correct. that is 2.6.9. 132132 is 2.4.36. in other words you installed the wrong headers. |