Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94363 - ogdi fails to link due to non-TLS reference in libproj.a(pj_init.o)
Summary: ogdi fails to link due to non-TLS reference in libproj.a(pj_init.o)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on: 94256
Blocks:
  Show dependency tree
 
Reported: 2005-05-29 02:53 UTC by Matteo Spreafico
Modified: 2005-07-22 19:21 UTC (History)
1 user (show)

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


Attachments
makes it work here.... (ogdi.ebuild.patch,156 bytes, patch)
2005-07-21 06:10 UTC, Rob Kruus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Spreafico 2005-05-29 02:53:40 UTC
Making shared library:
/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux/libogdi31.so
gcc -shared  -O  -o
/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux/libogdi31.so ecs_dyna.o
ecsregex.o ecssplit.o ecsassoc.o ecshash.o ecstile.o server.o ecsdist.o
ecslist.o ecsinfo.o ecsgeo.o ecs_xdr.o ecs_xdrz.o gmath.o client.o
ecs_capabilities.o -ldl -L/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux
-lzlib_ogdi31 -L/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux
-lexpat_ogdi31  -L/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/lib/linux/static
-lproj  -lm 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld:
errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS
reference in
/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/lib/linux/static/libproj.a(pj_init.o)
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: ***
[/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux/libogdi31.so] Error 1
make[3]: Leaving directory
`/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/ogdi/c-api/OBJ.linux'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/ogdi/c-api'
make[1]: *** [c-api] Error 2
make[1]: Leaving directory `/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/ogdi'
make: *** [ogdi] Error 2


Reproducible: Always
Steps to Reproduce:





Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r9-Teo i686)
=================================================================
System uname: 2.6.11-gentoo-r9-Teo i686 mobile AMD  Duron(tm)
Gentoo Base System version 1.6.12
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.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -ffast-math -funroll-loops
-fomit-frame-pointer -mfpmath=sse,387 -maccumulate-outgoing-args -fp
p-arrays -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/con
b/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -ffast-math -funroll-loops
-fomit-frame-pointer -mfpmath=sse,387 -maccumulate-outgoing-args -
oop-arrays -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu/"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl acpi alsa apache2 arts avi bash-completion berkdb
bitmap-fonts bluetooth bonobo bzlib cpdflib crypt csc
rl dba dvd emboss encode esd fam ffmpeg flac foomaticdb fortran gd gdbm gif
gimpprint gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 
unit kde kdeenablefinal lcms libg++ libwww mad mailwrapper mhash mikmod mime mmx
mng motif mp3 mpeg mysql ncurses nls nptl nptlonl
rbis opengl pam pcre pdflib perl plotutils png posix postgres python qt
quicktime readline real scanner sdl session sharedext shar
 sms snmp speex spell sse ssl svg svga sysvipc szip tcltk tcpd tetex theora tiff
truetype truetype-fonts type1-fonts unicode userl
is win32codecs wmf xine xml xml2 xmms xprint xsl xv zlib linguas_it userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 1 Matteo Spreafico 2005-05-29 02:54:50 UTC
I think it depends on bug 94256
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2005-06-07 03:27:55 UTC
Rather linkely. If not, re-open this bug. Thanks!
Comment 3 Matteo Spreafico 2005-06-09 13:36:39 UTC
Same problem with new linux-headers 
 
Making shared 
library: /var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux/libogdi31.so 
gcc -shared  -O  
-o /var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux/libogdi31.so 
ecs_dyna.o ecsregex.o ecssplit.o ecsassoc.o ecshash.o ecstile.o server.o 
ecsdist.o ecslist.o ecsinfo.o ecsgeo.o ecs_xdr.o ecs_xdrz.o gmath.o client.o 
ecs_capabilities.o -ldl 
-L/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux -lzlib_ogdi31 
-L/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux -lexpat_ogdi31  
-L/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/lib/linux/static -lproj  -lm  
/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 /var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/lib/linux/static/libproj.a(pj_init.o) 
/lib/libc.so.6: could not read symbols: Bad value 
collect2: ld returned 1 exit status 
make[3]: *** 
[/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/bin/linux/libogdi31.so] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/ogdi/c-api/OBJ.linux' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory 
`/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/ogdi/c-api' 
make[1]: *** [c-api] Error 2 
make[1]: Leaving directory `/var/tmp/portage/ogdi-3.1.4/work/ogdi-3.1.4/ogdi' 
make: *** [ogdi] Error 2 
 
!!! ERROR: sci-libs/ogdi-3.1.4 failed. 
!!! Function src_compile, Line 25, Exitcode 2 
!!! make failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
 
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 
2.6.11-gentoo-r10 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r10 i686 Pentium III (Katmai) 
Gentoo Base System version 1.6.12 
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 
sys-apps/sandbox:    1.2.8 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.16-r1 
sys-devel/libtool:   1.5.18 
virtual/os-headers:  2.6.11-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe -ffast-math -funroll-loops 
-fomit-frame-pointer -mfpmath=sse,387 -maccumulate-outgoing-args 
-fprefetch-loop-arrays -fforce-addr" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/fax /usr/share/config /var/qmail/control /var/spool/fax/etc" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe -ffast-math -funroll-loops 
-fomit-frame-pointer -mfpmath=sse,387 -maccumulate-outgoing-args 
-fprefetch-loop-arrays -fforce-addr" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.ngi.it 
ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://gentoo.oregonstate.edu/" 
LANG="it_IT.utf8" 
LC_ALL="it_IT.utf8" 
LDFLAGS="-Wl,-O1" 
LINGUAS="it" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages-p3" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 X aalib acl acpi alsa apache2 arts avi bash-completion berkdb 
bitmap-fonts blas bonobo bzip2 bzlib caps cdparanoia cdr cpdflib crypt cscope 
ctype cups curl curlwrappers dba dga divx4linux dvd emboss encode esd fam 
fbcon ffmpeg fftw flac font-server foomaticdb fortran ftp gd gdal gdbm geotiff 
gif gnutls gpm gtk gtk2 gtkhtml iconv imagemagick imap imlib ipv6 java jbig 
jpeg jpeg2k junit kde kdeenablefinal kerberos lapack lcms ldap libcaca libwww 
lzw-tiff mad mailwrapper matroska mbox mhash mikmod mime ming mmx mng motif 
mozilla mp3 mpeg mysql nas ncurses nls nptl nptlonly nvidia offensive ogg 
oggvorbis opengl pam pcntl pcre pdflib perl png posix postgres python qt 
quicktime readline real recode samba sasl scanner sdl session sharedext 
sharedmem silc simplexml slang snmp sockets speex spell sse ssl svg svga 
sysvipc szip tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts 
type1-fonts unicode usb userlocales v4l vhost vorbis win32codecs wmf xine xml 
xml2 xmlrpc xmms xpm xprint xsl xv xvid xvmc zlib linguas_it userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET 
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2005-06-10 07:21:41 UTC
Looking closer at your emerge output I would guess that re-emerging "proj" could
help.
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2005-06-22 04:45:31 UTC
Matteo? Still there?
Comment 6 Steve Arnold archtester gentoo-dev 2005-07-19 22:21:12 UTC
I just hit this lovely, and re-emerging proj did not help...
Comment 7 Rob Kruus 2005-07-21 06:07:35 UTC
Apparently linux (or is that Linux) is case sensitive :-).
Just changing the TARGET to Linux from linux in the ebuild is sufficient.
Comment 8 Rob Kruus 2005-07-21 06:10:47 UTC
Created attachment 63977 [details, diff]
makes it work here....

This is a ptach to the 3.1.4 ebuild
I'll submit a new ebuild for version 3.1.5
Comment 9 Steve Arnold archtester gentoo-dev 2005-07-22 18:58:38 UTC
I just fixed the TARGET issue, plus a couple other things, so wait just a bit 
while I commit...
Comment 10 Steve Arnold archtester gentoo-dev 2005-07-22 19:21:28 UTC
3.1.5 is also now in portage, so don't waste your efforts (thanks though :)