Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494958 - app-office/abiword USE=ots - ld: /usr/lib64/libots-1.a(article.o): relocation R_X86_64_32 against `g_free' can not be used when making a shared object; recompile with -fPIC
Summary: app-office/abiword USE=ots - ld: /usr/lib64/libots-1.a(article.o): relocation...
Status: RESOLVED DUPLICATE of bug 400623
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
Depends on:
Reported: 2013-12-21 15:34 UTC by Toni Ballesta
Modified: 2013-12-22 11:24 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Toni Ballesta 2013-12-21 15:34:14 UTC
Compiling Abiword with USE="ots" fails. Using Clang 3.3 or GCC 4.7.3, indifferent. Probably should mask the ots flag.

Using CLANG:
/usr/bin/x86_64-pc-linux-gnu-ld: /usr/lib64/libots-1.a(article.o): relocation R_X86_64_32 against `g_free' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libots-1.a: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libtool: install: error: relink `' with the above command before installing it

Using GCC:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libots-1.a(article.o): relocation R_X86_64_32 against `g_free' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libots-1.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
libtool: install: error: relink `' with the above command before installing it


# emerge --info

Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.16.0, 3.10.24-gentoo x86_64)
System uname: Linux-3.10.24-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:     4054040 total,   2654728 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Mon, 16 Dec 2013 21:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc[8818] (dcc_mkdir) ERROR: mkdir '/var/tmp/portage/.distcc/state' failed: No such file or directory [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.2-r2
dev-util/ccache:          3.1.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x-portage
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X a52 aac aacplus aalib acl acpi ads aiglx alac alsa amd64 apache2 apng audacious automount berkdb bzip2 cairo caps cdda cddax cddb cdr cgi cli cracklib crypt cups curl cxx dbus declarative device-mapper directfb dri dvb dvd dvdr encode examples exif extras faac fbcon ffmpeg flac fortran freerdp ftp fuse gbm gd gdbm geoip gif gnutls gphoto2 gpm gtk gudev hddtemp hwdb iconv id3tag ipv6 jpeg jpeg2k kdrive kerberos krb5 lame ldap libcanberra libmad libnotify libsamplerate lm_sensors lua lzma lzo mad matroska md5sum mdnsresponder-compat midi mikmod minizip mjpeg mmx mmxext mng mod modplug modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nsplugin ntfs odbc ogg oggvorbis openal opengl openmp openvg pam pango pcre pdf php php5 png postgres postgresql ppds python qt3support quicktime quota rdesktop rdp readline reiserfs samba scanner scsi sdl sensord server session shout slp sndfile snmp soap sqlite sse sse2 ssh ssl static-libs subtitles svg syslog system-libvncserver tcl tcpd theora threads thunar tidy tiff timidity tk toolbar truetype udev udisks unicode usb v4l v4l2 vboxwebsrv vcd vcdinfo vcdx virtualbox vnc vorbis wavpack winbind wma x264 xcomposite xend xinerama xml xmlreader xmlwriter xrandr xsl xvid zip zlib" ABI_X86="64" ALSA_CARDS="emu10k1 ice1712" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="panasonic" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="es es_ES ca ca_ES" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="*" QEMU_USER_TARGETS="*" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev nv nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-21 17:41:40 UTC
=app-text/ots-0.5.0-r1 should fix this
Comment 2 Pacho Ramos gentoo-dev 2013-12-21 17:56:10 UTC
Yeah, I remember this but forgot to call for stabilization -> just done in bug 494968

*** This bug has been marked as a duplicate of bug 400623 ***
Comment 3 Toni Ballesta 2013-12-22 11:24:52 UTC
Solved with ots-0.5.0-r1.