Althought I have powerpc-unknown-linux-gnu-gcc compiler working linux-headers complain I don't emerge cross-powerpc-unknown-linux-gnu/linux-headers BLA BLA BLA /var/tmp/portage/linux-headers-2.6.8.1-r4/work/linux-2.6.8.1/scripts/gcc-version.sh: line 11: powerpc-unknown-linux-gnu-gcc: command not found /var/tmp/portage/linux-headers-2.6.8.1-r4/work/linux-2.6.8.1/scripts/gcc-version.sh: line 12: powerpc-unknown-linux-gnu-gcc: command not found SPLIT include/linux/autoconf.h -> include/config/* HOSTCC scripts/genksyms/genksyms.o SHIPPED scripts/genksyms/lex.c SHIPPED scripts/genksyms/parse.h SHIPPED scripts/genksyms/keywords.c HOSTCC scripts/genksyms/lex.o SHIPPED scripts/genksyms/parse.c HOSTCC scripts/genksyms/parse.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o /bin/sh: powerpc-unknown-linux-gnu-gcc: command not found make[2]: ** [scripts/mod/empty.o] Erro 127 make[1]: ** [scripts/mod] Erro 2 make: ** [scripts] Erro 2 !!! ERROR: cross-powerpc-unknown-linux-gnu/linux-headers-2.6.8.1-r4 failed. !!! Function compile_headers, Line 367, Exitcode 2 !!! prepare failed !!! If you need support, post the topmost build error, NOT this status message. gustavo gralves # powerpc-unknown-linux-gnu-gcc powerpc-unknown-linux-gnu-gcc: no input files This happened when I used crossdev (see attached log) Reproducible: Always Steps to Reproduce:
Created attachment 61827 [details] Cross compiling log
Created attachment 61828 [details] cross-powerpc-unknown-linux-gnu-linux-headers.log
I did a gcc-config 5 and now it works. I think this is a bug on crossdev, not on linux-headers. I'll start another bug report.
Should have closed as RESOLVED INVALID, not RESOLVED FIXED
Please see last comment
*** Bug 97015 has been marked as a duplicate of this bug. ***
Reopened as suggested by Jakub Mac.
i already fixed this