Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663444 - dev-lang/spidermonkey-52.9.1_pre1: error: TLS relocation against invalid instruction
Summary: dev-lang/spidermonkey-52.9.1_pre1: error: TLS relocation against invalid inst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-12 14:23 UTC by Conrad Kostecki
Modified: 2018-09-01 19:34 UTC (History)
1 user (show)

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


Attachments
build.log.zip (build.log.zip,39.65 KB, application/x-zip-compressed)
2018-08-12 14:24 UTC, Conrad Kostecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2018-08-12 14:23:27 UTC
/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj/_virtualenv/bin/python /var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/config/expandlibs_exec.py --uselist --  /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -o js  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe   -fno-omit-frame-pointer   Unified_cpp_js_src_shell0.o   -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj/build/unix/gold    -Wl,-rpath-link,/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj/dist/bin -Wl,-rpath-link,/usr/lib  ../../../mozglue/build/libmozglue.a ../../../js/src/libjs_static.a    -lm -ldl  -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lz -lm -lreadline
Executing: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -o js -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -fno-omit-frame-pointer /var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj/js/src/shell/tmp8Skwgz.list -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B ../../../build/unix/gold -Wl,-rpath-link,/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj/dist/bin -Wl,-rpath-link,/usr/lib ../libjs_static.a -lm -ldl -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lz -lm -lreadline
/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj/js/src/shell/tmp8Skwgz.list:
    INPUT("Unified_cpp_js_src_shell0.o")
    INPUT("../../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o")
    INPUT("../../../mozglue/misc/StackWalk.o")
    INPUT("../../../mozglue/misc/TimeStamp.o")
    INPUT("../../../mozglue/misc/TimeStamp_posix.o")
    INPUT("../../../mfbt/Compression.o")
    INPUT("../../../mfbt/Decimal.o")
    INPUT("../../../mfbt/Unified_cpp_mfbt0.o")
    INPUT("../../../mfbt/Unified_cpp_mfbt1.o")

../libjs_static.a(Unified_cpp_js_src12.o):Unified_cpp_js_src12.cpp:function js::jit::GenerateLIR(js::jit::MIRGenerator*): error: TLS relocation against invalid instruction
../libjs_static.a(Unified_cpp_js_src12.o):Unified_cpp_js_src12.cpp:function js::jit::GenerateCode(js::jit::MIRGenerator*, js::jit::LIRGraph*): error: TLS relocation against invalid instruction
../libjs_static.a(Unified_cpp_js_src12.o):Unified_cpp_js_src12.cpp:function js::jit::LinkIonScript(JSContext*, JS::Handle<JSScript*>): error: TLS relocation against invalid instruction
../libjs_static.a(Unified_cpp_js_src12.o):Unified_cpp_js_src12.cpp:function js::jit::AccountForCFGChanges(js::jit::MIRGenerator*, js::jit::MIRGraph&, bool, bool) [clone .part.1622]: error: TLS relocation against invalid instruction
../libjs_static.a(Unified_cpp_js_src12.o):Unified_cpp_js_src12.cpp:function js::jit::OptimizeMIR(js::jit::MIRGenerator*): error: TLS relocation against invalid instruction
collect2: error: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/config/rules.mk:642: js] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj/js/src/shell'
make[2]: *** [/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/config/recurse.mk:71: js/src/shell/target] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj'
make[1]: *** [/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/config/recurse.mk:33: compile] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj'
make: *** [/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/config/rules.mk:523: default] Error 2
 * ERROR: dev-lang/spidermonkey-52.9.1_pre1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-52.9.1_pre1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-52.9.1_pre1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1/jsobj'
 * S: '/var/tmp/portage/dev-lang/spidermonkey-52.9.1_pre1/work/mozjs-52.9.1pre1'
Comment 1 Conrad Kostecki gentoo-dev 2018-08-12 14:23:52 UTC
Portage 2.3.45 (python 3.6.6-final-0, default/linux/amd64/17.1, gcc-7.3.0, glibc-2.27-r6, 4.17.3-gentoo x86_64)
=================================================================
System uname: Linux-4.17.3-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_C2758_@_2.40GHz-with-gentoo-2.6
KiB Swap:   34078716 total,  34078716 free
Timestamp of repository gentoo: Sat, 11 Aug 2018 18:15:01 +0000
Head commit of repository gentoo: 4711906580f34d5726060a07460238b8e4f4b686
sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.12.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo, 2.31.1::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

galactica
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /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 -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch protect-owned sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-frecord-gcc-switches"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/"
INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/*"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now"
LINGUAS="de de_DE"
MAKEOPTS="-j9 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bzip2 cairo caps cjk cracklib crypt curl cvs cxx dbus dga djvu dri exif fbcon fbcpm fftw fontconfig fortran ftp gd gdbm gif git gmp gnutls gpm graphviz iconv icu idn imlib introspection ipv6 java javascript jbig jit jpeg jpeg2k lcms ldap libsamplerate lm_sensors lzma lzo maildir mbox mikmod milter mp3 ncurses nls nntp nptl nsplugin offensive ogg openal openexr opengl openmp orc oss pam pcre pdf perl pie png postscript pulseaudio python raw readline rtmp samba sasl slang smartcard sndfile snmp sox spell sqlite ssl subversion suid svg symlink syslog tcpd threads tiff truetype udev unicode usb vaapi vdpau vim-syntax webp wmf xattr xcb xface xml xmp xpm zeroconf zlib zsh-completion" ABI_X86="32 64" COLLECTD_PLUGINS="apcups cgroups conntrack contextswitch cpu cpusleep df disk dns entropy ethstat exec filecount hddtemp hugepages interface ipc iptables ipmi irq load lvm md memory mysql netlink nfs nginx ntpd openvpn ping processes protocols rrdcached sensors serial smart swap syslog tcpconns thermal turbostat unixsock uptime users" CPU_FLAGS_X86="aes mmxext sse sse2 ssse3 sse4_1" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="crystalfontz glcd2usb lcd2usb" NGINX_MODULES_HTTP="access auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip gunzip gzip headers_more limit_conn proxy realip referer rewrite sticky stub_status upstream_keepalive vhost_traffic_status" NGINX_MODULES_STREAM="access geo geoip limit_conn realip return ssl_preread" PHP_TARGETS="php7-2" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" USERLAND="GNU" VIDEO_CARDS="ast"
Unset:  CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST
Comment 2 Conrad Kostecki gentoo-dev 2018-08-12 14:24:51 UTC
Created attachment 543192 [details]
build.log.zip
Comment 3 Conrad Kostecki gentoo-dev 2018-09-01 19:34:54 UTC
Closing. After an "emerge -avuDN @world @system", I am now able to compile..