pr0llb00k ~ # emerge -uD world Calculating world dependencies ...done! >>> emerge (1 of 4) sys-apps/procps-3.2.4 to / >>> md5 src_uri ;-) procps-3.2.4.tar.gz >>> Unpacking source... >>> Unpacking procps-3.2.4.tar.gz to /var/tmp/portage/procps-3.2.4/work >>> Source unpacked. cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -MM -MG proc/alloc.c proc/devname.c proc/escape.c proc/ksym.c proc/pwcache.c proc/readproc.c proc/sig.c proc/slab.c proc/sysinfo.c proc/version.c proc/whattime.c > proc/.depend cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o uptime.o uptime.c cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/alloc.c -o proc/alloc.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/devname.c -o proc/devname.o proc/alloc.c: In function `xcalloc': proc/alloc.c:21: internal compiler error: in print_operand_address, at config/rs6000/rs6000.c:9678 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. {standard input}: Assembler messages: {standard input}:0: Warning: end of file not at end of a line; newline inserted {standard input}:35: Error: syntax error; found ` proc/devname.c:52: warning: padding struct size to alignment boundary proc/devname.c: In function `link_name': proc/devname.c:229: internal compiler error: in print_operand_address, at config/rs6000/rs6000.c:9678 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. {standard input}: Assembler messages: {standard input}:0: Warning: end of file not at end of a line; newline inserted {standard input}:76: Error: syntax error; found ` Preprocessed source stored into /var/tmp/portage/procps-3.2.4/temp/ccTcHVP6.out file, please attach this to your bugreport. make: *** [proc/alloc.o] Error 1 make: *** Waiting for unfinished jobs.... Preprocessed source stored into /var/tmp/portage/procps-3.2.4/temp/ccKlMXMw.out file, please attach this to your bugreport. make: *** [proc/devname.o] Error 1 !!! ERROR: sys-apps/procps-3.2.4 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge -uD world 2. 3. Actual Results: broken merge with message: Please report a bug on bugs.gentoo.org Expected Results: should have merged correctly Portage 2.0.51-r2 (default-ppc-2004.1, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.7-gentoo-r14 ppc) ================================================================= System uname: 2.6.7-gentoo-r14 ppc 7410, altivec supported Gentoo Base System version 1.6.5 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache cvs distlocks sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://localhost/gentoo-portage" USE="X aalib aim alsa altivec apache2 arts berkdb bidi bluetooth bonobo cddb cdr cdrom clamav crypt cups curl dba directfb divx4linux dmx dvd dvdread escreen esd etwin f77 fbcon flash ftp gd gdbm gif gimpprint gnome-libs gpm gtk gtk2 iconv icq imap imlib ipv6 ipv6arpa irda irmc jabber jack jack-tmpfs jpeg ldap libwww maildir motif mpeg mpeg4 msn mysql ncurses nethack nls odbc oggvorbis opengl oscar pam pda perl php png pnp postgres ppc ppds psyco pthreads python qt quicktime radeon readline samba sdl session sheep slang soap spell sqlite ssl svg tcltk tcpd tetex tiff truetype vhosts vim-with-x wmf xine xinerama xml xml2 xmms xprint xsl xvid yahoo zlib"
Created attachment 43322 [details] Preprocessed source stored into /var/tmp/portage/procps-3.2.4/temp/ccKlMXMw.out
Is this repeatable - if you rm -f /var/tmp/portage/* and try again does it give the same error.?
I'm seeing exactly the same here
My CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe" gcc-3.4.2-r3 Any more info relevant?
fixed the problem was in the procps Makefile.
btw that was the problem proc/alloc.c: In function `xcalloc': proc/alloc.c:21: internal compiler error: in print_operand_address, at config/rs6000/rs6000.c:9678 Never assume that -m64 works really on a 32bit system even if gcc let you use it...
I hope it isn't considered OK for gcc to crash with an internal compiler error. Debian does not have this problem. BTW, the test in use is derived from the kernel Makefile. The kernel Makefile has a check_gcc function that gets used numerous times to see if gcc options work. So the method being used is hardly unusual.