sys-devel/gcc-powerpc64-3.4.4 emerge failes on fresh install on ppc64 pSeries Blade Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge gcc-powerpc64 Actual Results: emerge exits with errorcode 1 Expected Results: errorcode 0 emerge log: In file included from /tmp/portage/portage/sys-devel/gcc-powerpc64-3.4.4/work/gcc-powerpc64-3.4.4/gcc/libgcc2.c:56: /tmp/portage/portage/sys-devel/gcc-powerpc64-3.4.4/work/gcc-powerpc64-3.4.4/gcc/libgcc2.h:248: error: conflicting types for '__structti3' /tmp/portage/portage/sys-devel/gcc-powerpc64-3.4.4/work/gcc-powerpc64-3.4.4/gcc/libgcc2.h:247: error: previous declaration of '__structti3' was here /tmp/portage/portage/sys-devel/gcc-powerpc64-3.4.4/work/gcc-powerpc64-3.4.4/gcc/libgcc2.h:248: error: conflicting types for '__structti3' [...] !!! ERROR: sys-devel/gcc-powerpc64-3.4.4 failed. ------------------------------------------------------------------------------- emerge --info: Portage 2.1.2-r9 (default-linux/ppc/ppc64/2006.1/64bit-userland-gcc4/970, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 ppc64) ================================================================= System uname: 2.6.18-gentoo-r3 ppc64 PPC970, altivec supported Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 15 Feb 2007 17:59:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-mcpu=G5 -O2 -pipe -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-mcpu=G5 -O2 -pipe -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/srv/portage" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp/portage" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa altivec apache2 apm arts berkdb bitmap-fonts bzip2 cli cracklib crypt cups dedicated dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk ibm iconv imlib isdnlog java jpeg kde ldap libg++ libwww lighttpd mad midi mikmod motif mp3 mpeg mpi nas ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png ppc64 pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati dummy fbdev mga nv sisusb v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ------------------------------------------------------------------------------- uname -a: Linux sensors 2.6.18-gentoo-r3 #1 SMP Fri Jan 5 19:14:51 CET 2007 ppc64 PPC970, altivec supported CHRP IBM,8842-21X GNU/Linux ------------------------------------------------------------------------------- cat /proc/cpuinfo: processor : 0 cpu : PPC970, altivec supported clock : 1600.000000MHz revision : 2.2 (pvr 0039 0202) processor : 1 cpu : PPC970, altivec supported clock : 1600.000000MHz revision : 2.2 (pvr 0039 0202) timebase : 199838616 platform : pSeries machine : CHRP IBM,8842-21X
Created attachment 110330 [details] build.log This is the FULL build.log
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
could you please try to "emerge --sync" and then "emerge =kgcc64-4.1.1"? it is not possible to compile gcc-3.4 series with gcc-4.1 on ppc64 and so gcc-powerpc64 fails. We are currently moving to kgcc64, see bug #147126
should be fixed now (moved to kgcc64). please reopen if there are still problems.