Hi! Emerging djbfft fails with the following: head: `-1' option is obsolete; use `-n 1' since this will be removed in the future ./load auto-str substdio.a error.a str.a ld: warning: cannot find entry symbol _start; defaulting to 0000000000400120 auto-str.o(.text+0x23): In function `puts': : undefined reference to `_exit' auto-str.o(.text+0x43): In function `main': : undefined reference to `_exit' auto-str.o(.text+0x56): In function `main': : undefined reference to `_exit' auto-str.o(.text+0x122): In function `main': : undefined reference to `_exit' auto-str.o(.text+0x12c): In function `main': : undefined reference to `_exit' auto-str.o(.data.rel+0x18): undefined reference to `write' substdio.a(substdo.o)(.text+0x44): In function `allwrite': : undefined reference to `__errno_location' make: *** [auto-str] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-libs/djbfft-0.76 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! (no error message) Sincerely, Gour Reproducible: Always Steps to Reproduce: 1. emerge djbfft 2. 3. Actual Results: The ebuild fails. Portage 2.0.51-r2 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64) ================================================================= System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.6-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -funroll-loops" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa arts audiofile avi berkdb bitmap-fonts cddb cdparanoia crypt cups directfb djbfft doc dvd dvdr encode extensions f77 fam fbcon flac gdbm gif gphoto2 gpm gtk gtk2 imagemagick imlib innodb ipv6 java jp2 jpeg jpeg2k kde lcms libwww lzw lzw-tiff mad mmap mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pda perl png python qt readline ruby scanner slang speex sqlite ssl tcltk tcpd tetex tiff truetype unicode usb userlocales vim-with-x xface xine xinerama xml xml2 xmms xpm xprint xrandr xv zlib"
I am getting this same issue. After some troubleshooting - I have exactly dick. I have followed all the references online, etc. It seems to be an issue w/ calling ld directly, but honestly I ahve no idea how to fix it.
The trick is that it should never have called ld directly (and didn't before 2004/10/26 13:44:04). Fixing in CVS and thanks for the hint.