Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615500 - www-client/firefox-52.0.2 - include/mozilla/Vector.h:833:26: internal compiler error: Segmentation fault
Summary: www-client/firefox-52.0.2 - include/mozilla/Vector.h:833:26: internal compile...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-14 04:17 UTC by fuse809
Modified: 2017-08-26 18:11 UTC (History)
0 users

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


Attachments
build.log.gz (build.log.gz,230.17 KB, application/gzip)
2017-04-14 14:26 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fuse809 2017-04-14 04:17:29 UTC
On AMD64 Gentoo Linux www-client/firefox-52.0.2 fails to merge at the compile stage, even though 52.0.1 merged fine. The exact error I get is:

0.2/work/firefox-52.0.2/ff/js/src/Unified_cpp_js_src15.cpp
/usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -o Unified_cpp_js_src16.o -c  -I/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES '-DDLL_PREFIX="lib"' '-DDLL_SUFFIX=".so"' -DMOZ_HAS_MOZGLUE -I/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src -I/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/js/src  -I/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include  -I/usr/include/nspr        -fPIC  -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src16.o.pp  -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 -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -pipe -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe  -freorder-blocks -O3 -fomit-frame-pointer  -I/usr/lib64/libffi-3.2.1/include -Wno-shadow -Werror=format  /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/js/src/Unified_cpp_js_src16.cpp
In file included from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include/js/CallArgs.h:74:0,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include/js/CallNonGenericMethod.h:12,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/NamespaceImports.h:15,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/gc/Barrier.h:10,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jsatom.h:14,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/vm/Caches.h:10,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jscntxt.h:18,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/JitAllocPolicy.h:15,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/IonAnalysis.h:12,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/RangeAnalysis.h:13,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/RangeAnalysis.cpp:7,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/js/src/Unified_cpp_js_src16.cpp:2:
/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include/js/Value.h: In member function 'virtual bool js::jit::RSignExtend::recover(JSContext*, js::jit::SnapshotIterator&) const':
/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include/js/Value.h:959:62: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized]
         return fromTagAndPayload(JSVAL_TAG_INT32, uint32_t(i));
                                                              ^
In file included from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/js/src/Unified_cpp_js_src16.cpp:11:0:
/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/Recover.cpp:357:13: note: 'result' was declared here
     int32_t result;
             ^
In file included from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include/js/GCVector.h:10:0,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jscntxt.h:15,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/JitAllocPolicy.h:15,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/IonAnalysis.h:12,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/RangeAnalysis.h:13,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/js/src/jit/RangeAnalysis.cpp:7,
                 from /var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/js/src/Unified_cpp_js_src16.cpp:2:
/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include/mozilla/Vector.h: In member function 'bool js::jit::RangeAnalysis::tryRemovingGuards()':
/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/dist/include/mozilla/Vector.h:833:26: internal compiler error: Segmentation fault
   if (!usingInlineStorage()) {
                          ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[4]: *** [/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/config/rules.mk:953: Unified_cpp_js_src16.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff/js/src'
make[3]: *** [/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/config/recurse.mk:71: js/src/target] Error 2
make[3]: Leaving directory '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff'
make[2]: *** [/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/config/recurse.mk:33: compile] Error 2
make[2]: Leaving directory '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff'
make[1]: *** [/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/config/rules.mk:523: default] Error 2
make[1]: Leaving directory '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2/ff'
make: *** [client.mk:415: realbuild] Error 2
 * ERROR: www-client/firefox-52.0.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-52.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-52.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-52.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-52.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2'
 * S: '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2'

>>> Failed to emerge www-client/firefox-52.0.2, Log file:

>>>  '/var/tmp/portage/www-client/firefox-52.0.2/temp/build.log'

 * Messages for package www-client/firefox-52.0.2:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
 * ERROR: www-client/firefox-52.0.2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-52.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-52.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-52.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-52.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2'
 * S: '/var/tmp/portage/www-client/firefox-52.0.2/work/firefox-52.0.2'

as I can't attached logs to bugs (due to an issue with attachment.cgi not connecting for me) here is my build log https://raw.githubusercontent.com/fusion809/fusion809-overlay/53837fd/build.log. Here is the output of emerge -pqv...:

[ebuild     U ] www-client/firefox-52.0.2 [52.0.1-r1] USE="dbus gmp-autoupdate jemalloc startup-notification -bindist -custom-cflags -custom-optimization -debug -gtk2 -hardened -hwaccel -jack (-neon) -nsplugin -pgo -pulseaudio (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="en-GB -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -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 -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"

while emerge --info... returns:

Portage 2.3.5 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.24-r1, 4.10.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.10.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.3
KiB Mem:    16344476 total,   2155484 free
KiB Swap:          0 total,         0 free
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.8.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

fusion809
    location: /usr/local/fusion809-overlay
    masters: gentoo

flatpak-overlay
    location: /usr/local/flatpak-overlay
    sync-type: git
    sync-uri: git://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

grub2-themes
    location: /var/lib/layman/grub2-themes
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/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/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.utf8"
LC_ALL="en_AU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="X a52 aac acl acpi alsa amd64 berkdb branding bumblebee bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kms kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xwayland zlib" ABI_X86="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" 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 synaptics" KERNEL="linux" L10N="en en_AU en_GB en_US en-AU en-GB en-US" 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" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Coacher 2017-04-14 14:26:08 UTC
Created attachment 470062 [details]
build.log.gz

User's build.log from https://raw.githubusercontent.com/fusion809/fusion809-overlay/53837fd/build.log
Comment 2 fuse809 2017-04-14 15:29:07 UTC
Oddly I just re-tried to emerge www-client/firefox-52.0.2 and it merged fine, without error. Does this mean this bug should be closed?
Comment 3 Jory A. Pratt gentoo-dev 2017-08-26 18:11:35 UTC
(In reply to fuse809 from comment #2)
> Oddly I just re-tried to emerge www-client/firefox-52.0.2 and it merged
> fine, without error. Does this mean this bug should be closed?

means you was either out of ram or having a hardware issue, an internal error in gcc is usually memory related issues, I am gonna close bug feel free to reopen if problem should come back,