Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
crosscompiler x86 -> ppc trouble...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
nibiru
n00b
n00b


Joined: 09 Jun 2005
Posts: 38

PostPosted: Tue Sep 12, 2006 10:09 am    Post subject: crosscompiler x86 -> ppc trouble... Reply with quote

Right on linux-headers, I get this error:

Code:

>>> Source unpacked.
>>> Compiling source in /var/tmp/cross/powerpc-unknown-linux-gnu/portage/linux-headers-2.6.11-r4/work/linux-2.6.11 ...
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-powerpc-unknown-linux-gnu/linux-headers-2.6.11-r4
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-powerpc-unknown-linux-gnu/linux-headers-2.6.11-r4
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
***
*** Can't find default configuration "arch/ppc/configs/pmac32_defconfig"!
***
make[1]: *** [pmac32_defconfig] Error 1
make: *** [pmac32_defconfig] Error 2

!!! ERROR: cross-powerpc-unknown-linux-gnu/linux-headers-2.6.11-r4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called kernel-2_src_compile
  kernel-2.eclass, line 1011:   Called compile_headers
  kernel-2.eclass, line 448:   Called die

!!! defconfig failed (pmac32_defconfig)
!!! If you need support, post the topmost build error, and the call stack if relevant.


the file "pmac32_defconfig" is actually missing from the headers... can it be easily fixed? thanks!

Regards.

EDIT: forgot the crossdev command line, anyway it uses only ppc STABLE pkgs:

Code:
crossdev --b 2.16.1-r3 --g 4.1.1 --k 2.6.11-r4 --l 2.4-r3 --target ppc
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Sep 12, 2006 12:46 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=146579
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nibiru
n00b
n00b


Joined: 09 Jun 2005
Posts: 38

PostPosted: Tue Sep 12, 2006 2:20 pm    Post subject: Reply with quote

JoseJX wrote:
https://bugs.gentoo.org/show_bug.cgi?id=146579


Thank you.

I'll be waiting...
Back to top
View user's profile Send private message
yther
Apprentice
Apprentice


Joined: 25 Oct 2002
Posts: 151
Location: Charlotte, NC (USA)

PostPosted: Mon Sep 18, 2006 9:07 am    Post subject: Reply with quote

Both on my G4 and the x86 box where the cross-toolchain is set up, I had to install version 2.6.16 of (PPC) linux-headers to get past this problem.

After that, you may find that you need to temporarily hack an eclass file to get glibc to build (either that or modify the crossdev script); see this thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum