Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 373779

Summary: crossdev powerpc64-unknown-linux-gnu fails in gcc-stage2
Product: Gentoo Linux Reporter: Bob Deblier <bob.deblier>
Component: [OLD] GCC PortingAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gcc stage 1 log file
gnu info log file
gnu binutils log file
gnu glibc headers log file
gnu linux headers quick log file
gnu linux headers log file
gcc stage 2 log file
gnu glibc log file (compressed)
gcc stage 1 log file (compressed)

Description Bob Deblier 2011-07-02 06:56:42 UTC
Created attachment 278837 [details]
gcc stage 1 log file

Using sys-devel/crossdev-20110310

A header file seems to be missing:

In file included from /usr/powerpc64-unknown-linux-gnu/sys-include/features.h:381:0,
                 from /usr/powerpc64-unknown-linux-gnu/sys-include/stdio.h:28,
                 from /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-4.5.2/work/gcc-4.5.2/libgcc/../gcc/tsystem.h:87,
                 from /var/tmp/portage/cross-powerpc64-unknown-linux-gnu/gcc-4.5.2/work/gcc-4.5.2/libgcc/../gcc/libgcc2.c:29:
/usr/powerpc64-unknown-linux-gnu/sys-include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
Comment 1 Bob Deblier 2011-07-02 06:57:21 UTC
Created attachment 278839 [details]
gnu info log file
Comment 2 SpanKY gentoo-dev 2011-07-03 16:41:49 UTC
you need to post all the logs that crossdev told you to.  such as the full glibc build log.
Comment 3 Bob Deblier 2011-07-04 04:16:55 UTC
I did post all the log files that crossdev told me to. There was no reference to a glibc log file. I'll run crossdev again this evening to double-check.
Comment 4 Bob Deblier 2011-07-04 17:45:17 UTC
Created attachment 279067 [details]
gnu binutils log file
Comment 5 Bob Deblier 2011-07-04 17:46:32 UTC
Created attachment 279069 [details]
gnu glibc headers log file
Comment 6 Bob Deblier 2011-07-04 17:47:28 UTC
Created attachment 279071 [details]
gnu linux headers quick log file
Comment 7 Bob Deblier 2011-07-04 17:49:18 UTC
Created attachment 279073 [details]
gnu linux headers log file
Comment 8 Bob Deblier 2011-07-04 20:04:31 UTC
Removed overlays, and now I get a failure in stage2.
Comment 9 Bob Deblier 2011-07-04 20:06:16 UTC
Created attachment 279081 [details]
gcc stage 2 log file
Comment 10 Bob Deblier 2011-07-04 20:09:29 UTC
Created attachment 279083 [details]
gnu glibc log file (compressed)
Comment 11 Bob Deblier 2011-07-04 20:10:00 UTC
Created attachment 279085 [details]
gcc stage 1 log file (compressed)
Comment 12 SpanKY gentoo-dev 2011-07-05 06:08:20 UTC
your /etc/portage/ flags are not being setup correctly.  USE=multilib should be forced to off since you arent telling it to build multilib stuff.

further, your logs make no sense.  some are for "powerpc64-unknown-linux-gnu" targets while others are for "powerpc64-mac-linux-gnu".  pick one and stick with it.

clean out all your toolchains with `crossdev -C <target>`, make sure your /etc/portage/ trees are clean, and then try again.  if it still fails, post all the files in /etc/portage/ that match the toolchain in question.
Comment 13 SpanKY gentoo-dev 2011-07-05 06:46:12 UTC
actually, i was reading the crossdev logs and confusing myself.  the latest git should handle multilib, but not the 20110310 release.

ive put out crossdev-20110705 now