Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654536 - www-client/firefox-59.0.2 - /usr/lib/gcc/i686-pc-linux-gnu/7.3.0/../../../../i686-pc-linux-gnu/bin/ld: internal error /var/tmp/portage/sys-devel/binutils-2.30-r1/work/binutils-2.30/ld/ldlang.c 6635
Summary: www-client/firefox-59.0.2 - /usr/lib/gcc/i686-pc-linux-gnu/7.3.0/../../../../...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-01 15:51 UTC by Juergen Rose
Modified: 2018-06-18 13:46 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,290.26 KB, text/x-log)
2018-05-01 15:51 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2018-05-01 15:51:46 UTC
Created attachment 529256 [details]
build.log

'MAKEOTPS=-j1 emerge -v1 firefox' fails with:
....
15:27.19    Compiling bitreader v0.3.0
15:28.63    Compiling cose v0.1.4
15:29.64 error: linking with `/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/build/cargo-linker` failed: exit code: 1
15:29.64   |
15:29.64   = note: "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/build/cargo-linker" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m32" "-L" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build0-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build1-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build2-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build3-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build4-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build5-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build6-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build7-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.build_script_build8-b606aa3e94fa033962cdc4a4dd4079f3.rs.rcgu.o" "-o" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/build/cose-f045c864d0d6ce16/build_script_build-f045c864d0d6ce16.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-L" "/var/tmp/portage/www-client/firefox-59.0.2/work/mozilla-release-239e434d6d2b8e1e2b697c3416d1e96d48fe98e5/ff/toolkit/library/release/deps" "-L" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-3a04e5487357b9dc.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libpanic_unwind-75baa38f22cc081b.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc_jemalloc-cc6cad7f4861198e.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libunwind-0df808026f9bff72.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc_system-5885ff2e63807fd7.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liblibc-4b46c18a44d67980.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/liballoc-22af9bc8b767b147.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libstd_unicode-46e7ab27ec583312.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-b4b9c53c65e9ed4f.rlib" "/usr/lib/rustlib/i686-unknown-linux-gnu/lib/libcompiler_builtins-0bcc823f82eb498d.rlib" "-Wl,-Bdynamic" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util"
15:29.64   = note: /usr/lib/gcc/i686-pc-linux-gnu/7.3.0/../../../../i686-pc-linux-gnu/bin/ld: internal error /var/tmp/portage/sys-devel/binutils-2.30-r1/work/binutils-2.30/ld/ldlang.c 6635
15:29.64           collect2: error: ld returned 1 exit status
15:29.64           
15:29.64 
15:29.64 error: aborting due to previous error
15:29.66 
15:30.00 error: Could not compile `cose`.
...


root@lynxoldvirt:/root(9)# emerge --info '=www-client/firefox-59.0.2::gentoo'
Portage 2.3.31 (python 2.7.14-final-0, default/linux/x86/17.0, gcc-7.3.0, glibc-2.26-r6, 4.15.15-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.15.15-gentoo-i686-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:     3237408 total,    562112 free
KiB Swap:    4194300 total,   4176884 free
Timestamp of repository gentoo: Mon, 30 Apr 2018 07:30:01 +0000
Head commit of repository gentoo: 57edb28805fe770dc11c2050c71f30b2134f63c5
Head commit of repository masterzorag: 604bda1c0b0375475a69990ab243f26a12251a8f

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo
dev-util/cmake:           3.11.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::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-r1::gentoo
sys-devel/gcc:            7.3.0-r1::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.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /usr/portage_lynxvirt
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

masterzorag
    location: /usr/local/portage2
    sync-type: git
    sync-uri: https://github.com/masterzorag/gentoo-overlay.git
    masters: gentoo

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

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en fr ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="R X acl admin alsa apng automount bash-completion berkdb boost bzip2 cairo cdda cddb clang cli cmake crypt cups curl cxx dbus djvu doc dot dri eds egl emacs evdev exif extra extras fftw fontconfig fortran fpx fuse gd gdbm gif gimp git gmp gnome gnome-keyring gnuplot gnutls gpm graphics graphtft graphviz gstreamer gtk gudev hdf hdf5 hdri hwdb iconv icu imagemagick introspection ipv6 ithreads jadetex jbig jpeg jpeg2k kate kerberos latex lcms ldap lensfun libkms lzma lzo mercurial modules motif mp3 mp4 ncurses netpbm network nls nptl ntp ogg opencv opengl openmp pam pango pcre pdf pdl2 perl plotutils png policykit postscript preview-latex pulseaudio python q32 qemu qt5 raw readline samba seccomp sockets sound sqlite ssl subversion svg systemd tcl tcpd tex theora threads tiff tk truetype udev udisks unicode usb vala valgrind webkit wmf x86 xa xattr xetex xml xpm yaml zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" 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" L10N="de en fr ru" 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 ruby23" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS





root@lynxoldvirt:/root(10)# emerge -pqv '=www-client/firefox-59.0.2::gentoo'
[ebuild     U ] www-client/firefox-59.0.2 [58.0.1] USE="dbus gmp-autoupdate pulseaudio screenshot -bindist -custom-cflags -custom-optimization -debug -eme-free -hardened -hwaccel -jack (-neon) (-selinux) -startup-notification -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="de fr ru -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"
Comment 1 Andrew 2018-05-04 14:56:58 UTC
I have exactly the same error
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2018-05-06 20:52:31 UTC
Please have a look in the syslog if this was an out-of-memory condition.
Comment 3 Viktor Yu. Kovalskii 2018-05-09 04:39:28 UTC
I have the similar problem with www-client/firefox-59.0.2::gentoo www-client/firefox-60.0_beta14::mozilla.

I don't find any problem with out-of-memory in my syslog.

emerge --info
Portage 2.3.36 (python 3.6.5-final-0, default/linux/x86/17.0/desktop/plasma, gcc-7.3.0, glibc-2.26-r6, 4.14.35-gentoo i686)
=================================================================
System uname: Linux-4.14.35-gentoo-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-gentoo-2.4.1
KiB Mem:     3092936 total,    194752 free
KiB Swap:    2104508 total,   1736380 free
Head commit of repository gentoo: bfe3c66ba7340f890a0d70dc0b1d02a18c4f6668

Timestamp of repository flying: Wed, 18 Apr 2018 15:00:18 +0000
Timestamp of repository oschtan: Sat, 14 Apr 2018 17:50:21 +0000
Head commit of repository kde: 0f093ee27f70d41661fe6f9397c7a00c0183c989

Head commit of repository mozilla: 396b8a2cf20489e1275c096fee11009fa37974ae

Head commit of repository rion: bbe22968d53caac8da77a356c0a6a86c5caca29c

Head commit of repository science: 367a3e9287d0c00636a4845a55fcf97af93026df

Head commit of repository stuff: f5359295e976ff75f66dc52f0b88b9eb19d02096

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p2) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.6.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r1::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.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /mnt/slag/gentoo-tree
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

flying
    location: /mnt/slag/layman/flying
    masters: gentoo

oschtan
    location: /mnt/slag/layman/oschtan
    sync-type: rsync
    sync-uri: rsync://oschtan.pw/oschtan/
    masters: gentoo
    sync-rsync-extra-opts: 

kde
    location: /mnt/slag/layman/kde
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mozilla
    location: /mnt/slag/layman/mozilla
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

rion
    location: /mnt/slag/layman/rion
    sync-type: git
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

science
    location: /mnt/slag/layman/science
    sync-type: git
    sync-uri: git://github.com/gentoo-science/sci.git
    masters: gentoo
    priority: 50

stuff
    location: /mnt/slag/layman/stuff
    sync-type: git
    sync-uri: https://github.com/istitov/stuff.git
    masters: gentoo
    priority: 50

Installed sets: @toolchain
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL intel-ucode"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
DISTDIR="/mnt/slag/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build --with-bdeps=y"
FCFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ru_RU"
MAKEOPTS="-j3"
PKGDIR="/mnt/slag/packages"
PORTAGE_CONFIGROOT="/"
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="/mnt/slag"
USE="X a52 aac acl acpi activities alsa amr apng archive aspell bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit curl cxx dbus declarative djvu dri dts dvd dvdnav dvdr emboss emf enca encode exceptions exif expat faac faad fam fbcondecor ffmpeg flac fontconfig fortran ftp fuse gallium gif git glib gmp gnutls gpm harfbuzz http iconv icu idn imagemagick jbig jemalloc jpeg jpeg2k kde kwallet lame latex lcms libass libnotify libsamplerate lm_sensors lz4 lzma lzo mad man mime mng modules mp3 mp4 mpeg musepack natspec ncurses networkmanager nls nptl ogg opengl openmp orc osmesa pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio qml qt5 rar readline rtc seccomp sndfile spell sqlite ssl startup-notification svg tcpd threads tiff truetype twolame udev udisks unicode upower usb utils vorbis wavpack webengine webp widgets wifi wmf wxwidgets x264 x86 xattr xcb xcomposite xml xmp xorg xv xvid zip zlib" ABI_X86="32" ALSA_CARDS="hda-intel" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" CURL_SSL="openssl" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_6 python2_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i915" 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"
Unset:  CC, CTARGET, CXX, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv '=www-client/firefox-59.0.2::gentoo'
[ebuild     U ] www-client/firefox-59.0.2 [58.0.1] USE="custom-cflags custom-optimization dbus eme-free hwaccel pulseaudio startup-notification system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite wifi -bindist -debug -gmp-autoupdate -hardened -jack (-neon) -screenshot (-selinux) {-test}" L10N="ru -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"
Comment 4 Shaun Watson 2018-05-09 11:46:50 UTC
I was experiencing the same issue compiling on i686.  Downgrading binutils from 2.30-r2 to 2.29.1-r1 solved the compiling issue with cose.
Comment 5 Juergen Rose 2018-05-10 15:06:32 UTC
Installing and eselecting binutils-2.30-r2 solved the issue here too.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2018-05-19 12:25:00 UTC
(In reply to Shaun Watson from comment #4)
> I was experiencing the same issue compiling on i686.  Downgrading binutils
> from 2.30-r2 to 2.29.1-r1 solved the compiling issue with cose.

(In reply to Juergen Rose from comment #5)
> Installing and eselecting binutils-2.30-r2 solved the issue here too.

Ok then I'm considering this fixed. I'm going to drop 2.30 and 2.30-r1 later today.