Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373779 - crossdev powerpc64-unknown-linux-gnu fails in gcc-stage2
Summary: crossdev powerpc64-unknown-linux-gnu fails in gcc-stage2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-02 06:56 UTC by Bob Deblier
Modified: 2011-07-05 06:46 UTC (History)
0 users

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


Attachments
gcc stage 1 log file (cross-powerpc64-unknown-linux-gnu-gcc-stage1.log,632.10 KB, text/plain)
2011-07-02 06:56 UTC, Bob Deblier
Details
gnu info log file (cross-powerpc64-unknown-linux-gnu-info.log,13.82 KB, text/plain)
2011-07-02 06:57 UTC, Bob Deblier
Details
gnu binutils log file (cross-powerpc64-mac-linux-gnu-binutils.log,609.20 KB, text/plain)
2011-07-04 17:45 UTC, Bob Deblier
Details
gnu glibc headers log file (cross-powerpc64-mac-linux-gnu-glibc-headers.log,402.63 KB, text/plain)
2011-07-04 17:46 UTC, Bob Deblier
Details
gnu linux headers quick log file (cross-powerpc64-mac-linux-gnu-linux-headers-quick.log,11.61 KB, text/plain)
2011-07-04 17:47 UTC, Bob Deblier
Details
gnu linux headers log file (cross-powerpc64-mac-linux-gnu-linux-headers.log,11.50 KB, text/plain)
2011-07-04 17:49 UTC, Bob Deblier
Details
gcc stage 2 log file (cross-powerpc64-unknown-linux-gnu-gcc-stage2.log,670.83 KB, text/plain)
2011-07-04 20:06 UTC, Bob Deblier
Details
gnu glibc log file (compressed) (cross-powerpc64-mac-linux-gnu-glibc.log.gz,310.47 KB, application/x-gzip)
2011-07-04 20:09 UTC, Bob Deblier
Details
gcc stage 1 log file (compressed) (cross-powerpc64-mac-linux-gnu-gcc-stage1.log.gz,65.25 KB, text/plain)
2011-07-04 20:10 UTC, Bob Deblier
Details

Note You need to log in before you can comment on or make changes to this bug.
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