Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96925 - linux-headers-2.6.8.1-r4 fails to build on cross-compilers
Summary: linux-headers-2.6.8.1-r4 fails to build on cross-compilers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 97015 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-23 23:37 UTC by Gustavo Ribeiro Alves
Modified: 2005-07-02 07:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Cross compiling log (cross-powerpc-unknown-linux-gnu-info.log,3.48 KB, text/plain)
2005-06-23 23:39 UTC, Gustavo Ribeiro Alves
Details
cross-powerpc-unknown-linux-gnu-linux-headers.log (cross-powerpc-unknown-linux-gnu-linux-headers.log,59.08 KB, text/plain)
2005-06-23 23:41 UTC, Gustavo Ribeiro Alves
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Ribeiro Alves 2005-06-23 23:37:35 UTC
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:
Comment 1 Gustavo Ribeiro Alves 2005-06-23 23:39:21 UTC
Created attachment 61827 [details]
Cross compiling log
Comment 2 Gustavo Ribeiro Alves 2005-06-23 23:41:00 UTC
Created attachment 61828 [details]
cross-powerpc-unknown-linux-gnu-linux-headers.log
Comment 3 Gustavo Ribeiro Alves 2005-06-24 23:42:46 UTC
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.
Comment 4 Gustavo Ribeiro Alves 2005-06-24 23:47:25 UTC
Should have closed as RESOLVED INVALID, not RESOLVED FIXED
Comment 5 Gustavo Ribeiro Alves 2005-06-24 23:48:02 UTC
Please see last comment
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-06-26 07:10:46 UTC
*** Bug 97015 has been marked as a duplicate of this bug. ***
Comment 7 Gustavo Ribeiro Alves 2005-06-26 12:24:27 UTC
Reopened as suggested by Jakub Mac.
Comment 8 SpanKY gentoo-dev 2005-07-02 07:54:36 UTC
i already fixed this