Summary: | sys-devel/crossdev fails to build any ppc arch toolchains. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | postmodern <brodigan> |
Component: | [OLD] Development | Assignee: | Joshua Kinard <kumba> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
postmodern
2004-03-16 12:31:25 UTC
The gcc compiler shapshot you're using is definitely at fault (basic I/0 issues). I'd recommend using gcc-3.3.3.ebuild. But take into account it builds altivec code incorrectly. The latest snapshot gcc_pre (hammer branch) snapshot, does no longer have I/O issues and builds altivec correctly if you use -fno-strict-aliasing in your cflags. Please also note that on my machine at least the latest gcc_pre snapshot fails to compile when USE="java". gcc-3.3.3 has not got this "feature". Sorry to let you wait for a definite answer. It took a while debugging the problem (involved building and testing a large number of GRP sets) I'm having the same problem building a regular ppc cross-compiler on my intel machiene to use on my old mac. #crossdev --arch=ppc -u . . . /var/tmp/portage/crossdevbuild/gcc-3.3.4/buildboothere-ppc/gcc/xgcc -B/var/tmp/portage/crossdevbuild/gcc-3.3.4/buildboothere-ppc/gcc/ -B/home/crossdev/ppc/powerpc-unknown-linux-gnu/bin/ -B/home/crossdev/ppc/powerpc-unknown-linux-gnu/lib/ -isystem /home/crossdev/ppc/powerpc-unknown-linux-gnu/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -DHAVE_SYSLOG -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -D_LIBC_PROVIDES_SSP_ -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -fexceptions -c ../../gcc/unwind-c.c -o libgcc/./unwind-c.o ../../gcc/unwind-dw2.c: In function `uw_frame_state_for': ../../gcc/unwind-dw2.c:936: warning: implicit declaration of function `memset' ../../gcc/unwind-dw2.c:950: error: structure has no member named `regs' ../../gcc/unwind-dw2.c:950: error: structure has no member named `regs' ../../gcc/unwind-dw2.c:950: error: structure has no member named `regs' ../../gcc/unwind-dw2.c:950: error: structure has no member named `regs' ../../gcc/unwind-dw2.c: In function `uw_install_context_1': ../../gcc/unwind-dw2.c:1386: warning: implicit declaration of function `memcpy' In file included from ../../gcc/unwind-c.c:27: ../../gcc/unwind-pe.h: In function `base_of_encoded_value': ../../gcc/unwind-pe.h:110: warning: implicit declaration of function `abort' make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.4/buildboothere-ppc/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.4/buildboothere-ppc/gcc' make: *** [all-gcc] Error 2 * InstallGccBootstrap(): Failed to compile! Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1) ================================================================= System uname: 2.6.8.1 i686 AMD Athlon(tm) MP 1900+ Gentoo Base System version 1.5.3 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-mp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://www.gigaload.org/gentoo.org/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://bacchus.olympus/gentoo-portage" USE="3dnow 3dnowex X aalib acpi aim alsa apm audiofile avi berkdb bitmap-fonts crypt cups divx4linux dvd encode esd fam flash foomaticdb ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imap imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg msn ncurses nls oggvorbis opengl pam pda pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svg svga tcltk tcpd truetype x86 xml2 xmms xpm xprint xv xvid yahoo zlib" I'm having a hexa-xeon installed next sunday. Will have a look at this bug then. <=crossdev-0.4 is no longer supported ... please upgrade to crossdev-0.9 and if you're still having problems, re-open the bug and re-assign to toolchain@gentoo.org |