| Summary: | ogdi fails to link due to non-TLS reference in libproj.a(pj_init.o) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matteo Spreafico <matteo> |
| Component: | [OLD] Library | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nerdboy |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 94256 | ||
| Bug Blocks: | |||
| Attachments: | makes it work here.... | ||
|
Description
Matteo Spreafico
2005-05-29 02:53:40 UTC
Rather linkely. If not, re-open this bug. Thanks! 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 Looking closer at your emerge output I would guess that re-emerging "proj" could help. Matteo? Still there? I just hit this lovely, and re-emerging proj did not help... Apparently linux (or is that Linux) is case sensitive :-). Just changing the TARGET to Linux from linux in the ebuild is sufficient. 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
I just fixed the TARGET issue, plus a couple other things, so wait just a bit while I commit... 3.1.5 is also now in portage, so don't waste your efforts (thanks though :) |