Summary: | dev-libs/boost installs 'd'-postfixed libraries when built with debug USE-flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Sullivan <nathan> |
Component: | New packages | Assignee: | Tiziano Müller (RETIRED) <dev-zero> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amd64, benjfitz, didier, genstef, kanelxake |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | boost-1.34.0 CONTENTS |
Description
Nathan Sullivan
2007-06-14 00:44:02 UTC
Portage 2.1.2.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r3 x86_64) ================================================================= System uname: 2.6.20-gentoo-r3 x86_64 AMD Opteron(tm) Processor 148 Gentoo Base System release 1.12.10 Timestamp of tree: Wed, 13 Jun 2007 16:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.6-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=k8 -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-overlays/layman/xeffects /usr/local/portage-overlays/layman/php-experimental /usr/local/portage-overlays/layman/enlightenment /usr/local/portage-overlays/testing /usr/local/portage-overlays/gentoo-webapps-overlay/experimental /usr/local/portage-overlays/rezlooks-emul /usr/local/portage-overlays/gentoo-voip-overlay /usr/local/portage-overlays/kerio-overlay" SYNC="rsync://172.17.0.2/gentoo-portage" USE="3dnow X aac acl acpi aim alsa amd64 apache2 audiofile avahi avi bash-completion berkdb big-tables bitmap-fonts bzip2 cairo canvas cdr cli cpdflib cracklib crypt cups curl dba dbus debug divx4linux dlloader dri dvd dvdr dvdread emboss encode ethereal evo exif extraengine fam ffmpeg firefox flac fortran gd gdbm gif gimpprint glut gmp gpm gstreamer gtk gtk2 hal iconv icq idn imap innodb ipv6 isdnlog jabber java jpeg kerberos lcms ldap libcaca libg++ logrotate mad mhash midi mikmod mmx mng mono mozsvg mp3 mpeg mppe-mppc mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcntl pcre pdf pear perl php png posix pppd pulseaudio python qt3support quicktime readline reflection ruby samba sdl session slang snmp soap sockets spell spl sqlite sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode userlocales utf8 vorbis wddx wma xine xinerama xml xml2 xmlrpc xorg xosd xprint xsl xv xvid yahoo zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS (In reply to comment #0) > /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: > /usr/lib64/libboost_thread-mt-sd.a(mutex.o): relocation R_X86_64_32 against `a > local symbol' can not be used when making a shared object; recompile with -fPIC > /usr/lib64/libboost_thread-mt-sd.a: could not read symbols: Bad value Looks more like boost is broken than gnash to me... very likely, im not game enough to touch -fPIC issues without having the time nor the knowledge to get into learning how they work :) gnash seems to try to link against the static version of boost on your system, which it really shouldn't. Could you please the file "/var/db/pkg/dev-libs/boost-1.34.0/CONTENTS"? Thanks. Created attachment 122361 [details]
boost-1.34.0 CONTENTS
As requested :)
It seems that gnash ignores boost's shared libs with a "-d" postfix (which it shouldn't). Maybe I should add a couple of lines which introduces symlinks from the "non-debug" library name to the one with debug. This would make it possible to build boost with USE=debug and without breaking all packages depending on boost. your call dev-zero... im no expert with boost :) Hi, This error was solved for me if I remove the use flag "debug" for boost !? I've also clean my gcc install by removing old versions and use of fix_libtool_files.sh After this changes, no more -fPIC problem !? I'm on ~amd64. dev-zero, yes please do that. And while you are at it: gnash fails with gcc-4.2.0 due to #include <bits/atomicity.h> instead of #include <ext/atomicity.h> in /usr/include/boost/detail/atomic_count_gcc.hpp Please fix that too. Fixed in CVS. *** Bug 182844 has been marked as a duplicate of this bug. *** *** Bug 190029 has been marked as a duplicate of this bug. *** |