Last output lines: powerpc-unknown-linux-gnu-gcc ../sysdeps/unix/sysv/linux/bind.S -c -I../include -I. -I/var/tmp/portage/glibc-2.3.6-r2/work/build-default-powerpc-unknown-linux-gnu-nptl/socket -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.6-r2/work/build-default-powerpc-unknown-linux-gnu-nptl -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../nptl/sysdeps/unix/sysv/linux/powerpc -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/powerpc -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/powerpc-unknown-linux-gnu/4.0.2/include -isystem /usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER -Wa,--noexecstack -Wa,--noexecstack -o /var/tmp/portage/glibc-2.3.6-r2/work/build-default-powerpc-unknown-linux-gnu-nptl/socket/bind.o -MD -MP -MF /var/tmp/portage/glibc-2.3.6-r2/work/build-default-powerpc-unknown-linux-gnu-nptl/socket/bind.o.dt -MT /var/tmp/portage/glibc-2.3.6-r2/work/build-default-powerpc-unknown-linux-gnu-nptl/socket/bind.o ../sysdeps/unix/sysv/linux/bind.S: Assembler messages: ../sysdeps/unix/sysv/linux/bind.S:5: Error: symbol `__bind' is already defined make[2]: *** [/var/tmp/portage/glibc-2.3.6-r2/work/build-default-powerpc-unknown-linux-gnu-nptl/socket/bind.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6/socket' make[1]: *** [socket/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.6-r2 failed. !!! Function toolchain-glibc_src_compile, Line 251, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. This is my emerge info: Portage 2.1_pre3-r1 (default-linux/ppc/2005.1/ppc/G4, gcc-4.0.2, glibc-2.3.5.20050722-r0, 2.6.14-gentoo-r5 ppc) ================================================================= System uname: 2.6.14-gentoo-r5 ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1, 2.16.91.0.3, 2.16.91.0.4, 2.16.91.0.5 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fomit-frame-pointer -fPIC -ftree-vectorize" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fomit-frame-pointer -fPIC -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS=" http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/" LINGUAS="en it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib alsa altivec arts audiofile bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cdr cjk crypt cups curl dbus directfb divx4linux dts dvb dvd dvdr dvdread eds emboss encode esd exif expat fam fame fbcon ffmpeg flac fortran freetype ftp gd ggi gif glut gmp gpm gstreamer gtk gtk2 hal idn ieee1394 imagemagick imlib ipv6 java jikes jpeg kde kdeenablefinal kdexdeltas lcms ldap libwww live logitech-mouse mad matroska mime mjpeg mng mp3 mpeg mysql nas ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdflib perl png ppc python qt quicktime readline sdk sdl spell ssl svg tcltk tcpd theora truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis wmf xine xml2 xosd xv xvid zeroconf zlib elibc_glibc kernel_linux linguas_en linguas_it userland_GNU video_cards_radeon" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
What version of binutils are you actually using currently? (binutils-config -l) If you are using one of the 2.16.91 versions, does 2.16.1 work?
Yes, I'm using binutils-2.16.91.0.5. I'm going to try with 2.16.1 right away.
Yes, with binutils-2.16.1 the compilation succeeds. Now the fact is, since I want to try the latest gcc-4.1 release, is this version of binutils fit for it? On the gcc site, they mention binutils > 2.16.91 is required only for IA-32/x86-64 targets. http://gcc.gnu.org/gcc-4.1/changes.html
let the ppc team sort it out
GNU ld version 2.16.1 in usage currently.
Some of your use flags are really questionable. Redundant with your -mcpu/-mtune options: -mpowerpc-gfxopt You should never use this flag, it's set where needed by the ebuilds: -fPIC This option is still somewhat troublesome with 4.0, it should work better with 4.1: -ftree-vectorize As Luca said, 2.16.1 should be okay, Luca, should we mark that binutils -ppc?
Oops, I didn't mean to close it.
Luca says to close as invalid.