During stage1 bootstrap on an old Apple Performa (PPC603 CPU). Compilation stop after several errors complaining about a missing symbol : __floatundidf I use distcc to dispatch to task on other computer and had no errors with the other ebuilds. This issue happens even if I emerge buildutils directly or during the bootstrap process. Reproducible: Always Steps to Reproduce: 1. emerge binutils OR 1. sh /usr/portage/scripts/bootstrap.sh Actual Results: ERROR: sys-devel/binutils-2.18-r1 failed. Call stack: ebuild.sh, line 1701: Called dyn_compile ebuild.sh, line 1039: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ebuild.sh, line 1383: Called toolchain-binutils_src_compile toolchain-binutils.eclass, line 231: Called die The specific snippet of code: emake all || die "emake failed" The die message: emake failed Expected Results: eBuild compiles correctly. Relevant parts from build.log (full log available here : lumbermatt.mousur.org/gentoo-bugs/binutils.log) libtool: link: powerpc-unknown-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mcpu=603e -O2 -fno-strict-aliasing -pipe -o .libs/gprof basic_blocks.o call_graph.o cg_arcs.o cg_df$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/wor$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/wor$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/gas -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/bin$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/gas -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/bin$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/gas -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/bin$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/ld -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binu$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/wor$ powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/binutils -I. -D_GNU_SOURCE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/wor$ cg_print.o: In function `order_and_dump_functions_by_arcs': cg_print.c:(.text+0x1a4): undefined reference to `__floatundidf' cg_print.c:(.text+0x1b4): undefined reference to `__floatundidf' cg_print.o: In function `cg_print_function_ordering': cg_print.c:(.text+0xa08): undefined reference to `__floatundidf' cg_print.c:(.text+0xa1c): undefined reference to `__floatundidf' cg_print.c:(.text+0xa58): undefined reference to `__floatundidf' hist.o:hist.c:(.text+0x2ec): more undefined references to `__floatundidf' follow collect2: ld returned 1 exit status distcc[23532] ERROR: compile (null) on localhost failed [...] libtool: link: creating objcopy libtool: link: powerpc-unknown-linux-gnu-gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mcpu=603e -O2 -fno-strict-aliasing -pipe -o .libs/nm-new nm.o bucomm.o version.o filemode.o ../bfd$ libtool: link: creating addr2line readelf.o: In function `process_symbol_table': readelf.c:(.text+0x11840): undefined reference to `__floatundidf' readelf.c:(.text+0x12918): undefined reference to `__floatundidf' collect2: ld returned 1 exit status distcc[25190] ERROR: compile (null) on localhost failed make[4]: *** [readelf] Error 1 make[4]: *** Waiting for unfinished jobs....
Created attachment 136979 [details] build log file Binutils build log file.
Reopen with emerge --info output.
Here's my emerge --info : Portage 2.1.3.19 (default-linux/ppc/ppc32/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5-apple ppc) ================================================================= System uname: 2.6.19-gentoo-r5-apple ppc 603ev Timestamp of tree: Sun, 25 Nov 2007 11:46:01 +0000 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.1_p17 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/baselayout: 1.12.9 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.61 sys-devel/automake: 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.22-r2 ACCEPT_KEYWORDS="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=603e -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-mcpu=603e -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ " MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl berkdb bitmap-fonts cli cracklib crypt cups dri firefox fortran gdbm gpm iconv isdnlog jpeg midi mp3 mudflap ncurses nls nptl nptlonly openmp pcre perl png ppc pppd python readline reflection samba session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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="chips dummy fbdev glint imstt mach64 mga nv r128 radeon s3 s3virge savage sisusb tdfx trident v4l voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Problem seems to be resolved when disabling Distcc for sys-devel/binutils-2.18-r1 emerge.
sounds like nothing to be done on the binutils end