./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a \ dns.a time.a unix.a byte.a -lcrypto -lssl `cat socket.lib` /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 tcpserver.o /lib/libc.so.6: could not read symbols: Bad value 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. Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.0_pre8 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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.lug.ro/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow aalib acl acpi adns alsa apache2 avi bitmap-fonts bzlib caps crypt cups curl curlwrappers dio eds emboss encode exif expat flac foomaticdb fortran ftp gd gif gmp gpm gstreamer imagemagick imap imlib java javamail jpeg junit ldap libg++ libwww mad maildir mailwrapper memlimit mhash mikmod mmap mmx mp3 mpeg ncurses nls nptl offensive ogg oggvorbis pam pcntl pcre pdflib png posix quicktime readline ruby samba session shared sharedmem slang slp soap sockets socks5 speex spell sqlite sse ssl svg sysvipc tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis wmf xml xml2 xmlrpc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Please, try with some saner C[XX]FLAGS, like "-march=athlon-xp -O2 -pipe" and report back.
./makelib byte.a byte_chr.o byte_copy.o byte_cr.o \ byte_diff.o byte_rchr.o byte_zero.o case_diffb.o \ case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \ str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \ uint16_unpack.o uint32_pack.o uint32_unpack.o ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib rm -f trylsock.o trylsock ./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a \ dns.a time.a unix.a byte.a -lcrypto -lssl `cat socket.lib` /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 tcpserver.o /lib/libc.so.6: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [tcpserver] Error 1 -------------------------------------------------------------- Portage 2.0.52-r1 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-hardened-r14 i686) ================================================================= System uname: 2.6.11-hardened-r14 i686 AMD Sempron(tm) 2800+ Gentoo Base System version 1.12.0_pre8 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="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/storage/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.inode.at" LINGUAS="de_DE@euro" PKGDIR="/storage/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://localhost/gentoo-portage" USE="3dnow acpi apache2 apm bcmath berkdb bzip2 bzlib calendar chroot cli cpdflib crypt ctype curl curlwrappers dba dlloader erandom exif exim exiscan-acl fam flatfile ftp gd gdbm gif gmp gpm hardened iconv imagemagick imap inifile innodb ithreads java jpeg ldap libwww maildir mhash mime mkconfig mmx mpm-worker mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly pam parse-clocks pcntl pcre pdflib pear perl pic pie png posix python readline samba sasl session sharedmem_off simplexml slang snmp sockets socks5 spell spl sse ssl sysvipc tcpd threads tidy tiff tokenizer truetype usb userlocales vhosts wddx wildlsearch x86 xml xml2 xmlrpc xsl zlib linguas_de_DE@euro userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
You forgot to reopen.
This is because of the ipv6 patch that includes "errno" patch. People with unset "ipv6" USE flag will get this problem :-/
(In reply to comment #4) > This is because of the ipv6 patch that includes "errno" patch. People with unset > "ipv6" USE flag will get this problem :-/ Ouch! How did I get here? sorry for the mess. I was posting this comment to different bug :-/
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.
It seems to be working now, thanks.
Yes, works again. Thanks for fixing, Diego.