Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157165

Summary: [fPIC] dev-cpp/libbinio-1.4 fails to compile
Product: Gentoo Linux Reporter: Boudewijn Ector <Boudewijn>
Component: [OLD] DevelopmentAssignee: AMD64 Project <amd64>
Status: RESOLVED INVALID    
Severity: normal CC: spock
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Boudewijn Ector 2006-12-04 16:35:05 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/binio.o: relocation R_X86_64_32S against `vtable for binio' can not be used when making a shared object; recompile with -fPIC
.libs/binio.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libbinio.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/libbinio-1.4/work/libbinio-1.4/src'
make: *** [all-recursive] Error 1

!!! ERROR: dev-cpp/libbinio-1.4 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 609:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Tried building libbinio-1.4 using sage CFLAGS too (O2, march=opteron).




emerge info:

localhost boudewijn # emerge --info
Portage 2.1.2_rc2-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17 x86_64)
=================================================================
System uname: 2.6.17 x86_64 Dual Core AMD Opteron(tm) Processor 270
Gentoo Base System version 1.12.1
Last Sync: Mon, 04 Dec 2006 23:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -funroll-loops -pipe -msse3 -freorder-blocks-and-partition -march=opteron"
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/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O3 -funroll-loops -pipe -msse3 -freorder-blocks-and-partition -march=opteron"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="nl"
MAKEOPTS="-j9"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 asterisk berkdb bitmap-fonts cli cracklib crypt cups dbus dlloader dri dvd dvdr elibc_glibc flac fortran gdbm gpm hal iconv input_devices_keyboard input_devices_mouse isdnlog jack java jpeg kde kernel_linux kqemu libg++ linguas_nl mikmod mp3 ncurses nls nptl nptlonly ogg pam pcre pdf perl ppds pppd python qt qt3 readline reflection session spl ssl tcpd theora tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis wma xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS





System is quad core based, 2G of ram.
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2007-02-24 09:34:17 UTC
Please attach your config.log.
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2008-03-02 12:41:05 UTC
No response and it works for me on both amd64 and ~amd64.