Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105500 - ucspi-tcp-0.88-r12 compile failure
Summary: ucspi-tcp-0.88-r12 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-10 09:05 UTC by Andrei Ivanov
Modified: 2005-09-12 13:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2005-09-10 09:05:31 UTC
./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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-10 09:09:02 UTC
Please, try with some saner C[XX]FLAGS, like "-march=athlon-xp -O2 -pipe" and
report back.
Comment 2 Dennis Freise 2005-09-10 09:45:11 UTC
./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
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-10 14:16:31 UTC
You forgot to reopen.
Comment 4 Wejn 2005-09-11 11:58:35 UTC
This is because of the ipv6 patch that includes "errno" patch. People with unset
"ipv6" USE flag will get this problem :-/
Comment 5 Wejn 2005-09-11 12:01:23 UTC
(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 :-/
Comment 6 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-09-11 15:40:22 UTC
Flameyes, your bump broke things. Can you fix these, please?
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-11 15:45:28 UTC
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. 
 
Comment 8 Andrei Ivanov 2005-09-12 00:44:52 UTC
It seems to be working now, thanks.
Comment 9 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-09-12 13:10:17 UTC
Yes, works again. Thanks for fixing, Diego.