./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a \ dns.a time.a unix.a byte.a `cat socket.lib` tcpserver.o: In function `doit': tcpserver.c:(.text+0x1264): undefined reference to `errno' remoteinfo.o: In function `mywrite': remoteinfo.c:(.text+0x8b): undefined reference to `errno' remoteinfo.o: In function `myread': remoteinfo.c:(.text+0x16b): undefined reference to `errno' timeoutconn.o: In function `timeoutconn': timeoutconn.c:(.text+0x71): undefined reference to `errno' timeoutconn.c:(.text+0x117): undefined reference to `errno' cdb.a(cdb.o):cdb.c:(.text+0x1c5): more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [tcpserver] Error 1 !!! ERROR: sys-apps/ucspi-tcp-0.88-r12 failed. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 AMD Duron(tm) processor Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-tbird -mtune=athlon-tbird -fstack-protector -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -mtune=athlon-tbird -fstack-protector -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo.umfiasi.ro/gentoo-portage/" USE="x86 3dnow 3dnowext X aalib alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dba divx4linux dvdr eds emboss encode esd flac foomaticdb fortran gd gdbm gif gimp gnokii gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib jack java jpeg junit kde ldap libg++ libwww mad mikmod mmx mmxext motif mozilla mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba scanner sdl skey slang sms snmp spell sse ssl svga symlink tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vl4 vorbis win32codecs xine xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Not sure this is related, I am getting this: >>> Source unpacked. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in cdb.a(cdb.o) /lib/libc.so.6: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [tcprulescheck] Error 1 the .o file where it fails varies. (I guess depending on which the make -j4 jobs hit first) Also seen: in cdb.a(cdb_make.o) in tcpserver.o I also notice this in the unpack phase: >>> Unpacking ucspi-rss.diff to /var/tmp/portage/ucspi-tcp-0.88-r12/work unpack ucspi-rss.diff: file format not recognized. Ignoring. >>> Unpacking ucspi-tcp-ssl-20020705.patch.gz to /var/tmp/portage/ucspi-tcp-0. 88-r12/work Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12. 5-sc1 i686) ================================================================= System uname: 2.6.12.5-sc1 i686 AMD Athlon(TM) MP 1800+ Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer - momit-leaf-frame-pointer -msse -m3dnow -mfpmath=sse,387 -frename-registers - malign-functions=4 -fweb -ftracer" CHOST="i686-pc-linux-gnu" CXXFLAGS="-w -mtune=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer - momit-leaf-frame-pointer -msse -m3dnow -mfpmath=sse,387 -frename-registers - malign-functions=4 -fweb -ftracer -fvisibility-inlines-hidden" FEATURES="autoconfig candy ccache distlocks fixpackages sandbox sfperms strict" MAKEOPTS="-j3 -s" USE="x86 3dnow 3dnowext X aalib acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts cairo cdr crypt cups curl dga dvd dvdr eds emboss encode fam flac foomaticdb fortran gd gdbm gif glitz gphoto2 gpm gstreamer gtk gtk2 icc icc-pgo imagemagick imlib innodb java jikes joystick jpeg junit kde kdeenablefinal kdexdeltas ldap libg++ libwww mikmod mmx mmx2 mmxext motif mozilla mp3 mpeg mysql ncurses nocardbus nptl odbc ogg oggvorbis openal openexr opengl oss pam pdflib perl pic pie plotutils png psyco python qt qtmt quicktime readline samba sasl scanner sdl skey slang speex spell sqlite sse ssl stroke svga svgalib tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l vhosts vorbis wmf xine xml xml2 xmms xprint xv xvid zeroconf zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Yeah, not every1 has use ipv6. :-/
Flameyes, your bump broke things. Can you fix these, please?
Added back the errno patch if ipv6 patch is not applied. Sorry, it merged fine here without ipv6 patch (on linux), so I (erroneously) assumed it was needed by something enabled by ipv6.
Yes, works again. Thanks for fixing, Diego.