Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x86-64-assem.o: error adding symbols: Bad value
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message

Joined: 20 Aug 2006
Posts: 513

PostPosted: Mon Jan 15, 2018 6:53 pm    Post subject: x86-64-assem.o: error adding symbols: Bad value Reply with quote

Just changed profiles to 17.0, following the news item, below is the result of 'emerge -e @world'.

I saw other -fPIC posts, but still having an issue here. Thoughts?


x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -g -Wl,--export-dynamic -o sbcl alloc.o backtrace.o breakpoint.o coreparse.o dynbind.o funcall.o gc-common.o globals.o interr.o interrupt.o largefile.o monitor.o os-common.o parse.o print.o purify.o pthread-futex.o regnames.o run-program.o runtime.o safepoint.o save.o sc-offset.o search.o thread.o time.o util.o validate.o var-io.o vars.o wrap.o x86-64-arch.o linux-os.o x86-64-linux-os.o gencgc.o marknsweepgc.o x86-64-assem.o ldso-stubs.o -ldl -lpthread -lz -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: x86-64-assem.o: relocation R_X86_64_32S against `all_threads' can not be used when making a shared object; recompile with -fPIC
x86-64-assem.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:60: sbcl] Error 1
make: Leaving directory '/var/tmp/portage/dev-lisp/sbcl-1.3.11/work/sbcl-1.3.11/src/runtime'
 * ERROR: dev-lisp/sbcl-1.3.11::gentoo failed (compile phase):
 *   make failed
 * Call stack:
 *, line 124:  Called src_compile
 *   environment, line 2448:  Called die
 * The specific snippet of code:
 *       env - HOME="${T}" PATH="${PATH}" CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" GNUMAKE=make ./ "sh ${bindir}/ --no-sysinit --no-userinit --disable-debugger" || die "make failed";
 * If you need support, post the output of `emerge --info '=dev-lisp/sbcl-1.3.11::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lisp/sbcl-1.3.11::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lisp/sbcl-1.3.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/sbcl-1.3.11/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lisp/sbcl-1.3.11/work/sbcl-1.3.11'
 * S: '/var/tmp/portage/dev-lisp/sbcl-1.3.11/work/sbcl-1.3.11'

>>> Failed to emerge dev-lisp/sbcl-1.3.11, Log file:

>>>  '/var/tmp/portage/dev-lisp/sbcl-1.3.11/temp/build.log'


$ emerge --info
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r9, 4.9.72-gentoo x86_64)
System uname: Linux-4.9.72-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:    32902300 total,  26328208 free
KiB Swap:    1048572 total,   1047856 free
Timestamp of repository gentoo: Sun, 14 Jan 2018 00:45:01 +0000
Head commit of repository gentoo: 553faa3a6330706cda3971965b7cf6c72e17a84d
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /usr/local/portage
    masters: gentoo
    priority: 0

Installed sets: @steam
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync:// rsync://"
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 --exclude=/.git"
USE="X acl alsa alsa-plugin amd64 apng berkdb boost bzip2 cg cli conntrack cracklib crypt cups cxx dbus dri flash fortran freeimage gdbm gtk gudev gui iconv icu ipv6 lua minizip modules multilib ncurses nls nptl nsplugin ois opengl openmp pam pcap pcre pcre16 png pulseaudio python qt5 readline rendering sdl seccomp sqlite ssl stats tcl tcpd tiff tk tools transparent-proxy udev unicode widgets xattr xcb xkb zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
Back to top
View user's profile Send private message

Joined: 08 Mar 2003
Posts: 24371
Location: here

PostPosted: Mon Jan 15, 2018 7:01 pm    Post subject: Reply with quote

Bug try to unmask dev-lisp/sbcl-1.3.21 or build current without pie
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum