Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581474 - www-client/firefox-46.0: 'class js::jit::MacroAssembler' has no member named 'branch64'
Summary: www-client/firefox-46.0: 'class js::jit::MacroAssembler' has no member named ...
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:
: 581486 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-28 19:51 UTC by Frank Krömmelbein
Modified: 2016-04-29 18:17 UTC (History)
3 users (show)

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


Attachments
build.log.bz2 (build.log.bz2,181.68 KB, text/plain)
2016-04-28 19:56 UTC, Frank Krömmelbein
Details
build.log.bz2 (build.log.bz2,181.68 KB, application/octet-stream)
2016-04-28 19:57 UTC, Frank Krömmelbein
Details
Upstream patch (firefox.patch,1.99 KB, patch)
2016-04-28 20:59 UTC, Felix Janda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2016-04-28 19:51:56 UTC
emerge --info firefox
Portage 2.2.26 (python 2.7.10-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.22-r4, 4.4.2-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.2-hardened-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:    20537296 total,  11485832 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 28 Apr 2016 18:43:31 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

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

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

mylocal
    location: /usr/local/portage
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/sdb1/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="de_DE.UTF-8"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacs acl acpi alsa amd64 amr berkdb bluetooth bluray btrfs bzip2 cdda cddb cec chipcard clamav cli consolekit cracklib crypt cryptsetup css cups cxx dbus declarative device-mapper djvu dmraid dri dts dvb dvd ebook encode epub exif ext4 f2fs faac fat ffmpeg flac fuse gdbm geoip gif gimp google gpg gphoto2 gpm hardened hbci http2 iconv id3tag infinality ipv6 jfs joystick jpeg justify kipi ladspa lame lcms libsamplerate lirc lm_sensors lvm lz4 lzma mad matroska mdadm mjpeg mmx mmxext mng mobi modemmanager modules mp3 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ntfs nvenc ogg opencl opengl openmp opus pam pax_kernel pcre pdf phonon pie plymouth pm-utils png policykit postscript ppp pvr qml qt3support qt5 rar raw rdesktop rdp readline reiser4 reiserfs s3tc samba scanner seccomp semantic-desktop session sftp smartcard smp sndfile sox squashfs sse sse2 ssl ssp svg tcpd tiff truetype twolame udev unicode upnp urandom usb v4l vaapi vcd vdpau vnc vorbis vpx webp widgets wifi wps x264 x265 xattr xcb xcomposite xfs xinerama xkb xscreensaver xtpax xv xvid xvmc zeroconf zlib" ABI_X86="64 32" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="evdev keyboard joystick mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel virtualbox fbdev vesa nouveau 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-45.0.1::gentoo was built with the following:
USE="dbus ffmpeg gstreamer hardened hwaccel jemalloc3 wifi -bindist -custom-cflags -custom-optimization -debug (-gmp-autoupdate) -gstreamer-0 -gtk3 -jit (-neon) (-pgo) -pulseaudio (-selinux) -startup-notification (-system-cairo) -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite -test" ABI_X86="64" LINGUAS="de -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW"
CFLAGS="-march=corei7 -pipe"
CXXFLAGS="-march=corei7 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/firefox -Wl,-z,relro,-z,now"
Comment 1 Frank Krömmelbein 2016-04-28 19:56:50 UTC
Created attachment 432458 [details]
build.log.bz2
Comment 2 Frank Krömmelbein 2016-04-28 19:57:27 UTC
Created attachment 432460 [details]
build.log.bz2
Comment 3 Frank Krömmelbein 2016-04-28 19:59:18 UTC
Please use the second attachment, it is bz2 compressed.
Comment 4 Felix Janda 2016-04-28 20:59:53 UTC
Created attachment 432486 [details, diff]
Upstream patch

Please try this patch.

It corresponds to https://bugzilla.mozilla.org/show_bug.cgi?id=1266366 ,
was found by googling for the error

'class js::jit::MacroAssembler' has no member named 'branch64'

and is not tested.
Comment 5 Toralf Förster gentoo-dev 2016-04-29 12:41:34 UTC
*** Bug 581486 has been marked as a duplicate of this bug. ***
Comment 6 Jiří Moravec 2016-04-29 13:40:09 UTC
Same problem, but solved with this upstream patch. :-))))
Comment 7 Toralf Förster gentoo-dev 2016-04-29 14:48:51 UTC
(In reply to Jiří Moravec from comment #6)
+1 - at least for 45.1.0 it works with the patch - and that now overcome a nasty bug of 45.0.1 which made that unusable.
Comment 8 Alex Xu (Hello71) 2016-04-29 14:49:56 UTC
bugzilla has strange semi-merging...
Comment 9 Frank Krömmelbein 2016-04-29 17:53:30 UTC
(In reply to Felix Janda from comment #4)
> Created attachment 432486 [details, diff] [details, diff]
> Upstream patch
> 
> Please try this patch.
> 
> It corresponds to https://bugzilla.mozilla.org/show_bug.cgi?id=1266366 ,
> was found by googling for the error
> 
> 'class js::jit::MacroAssembler' has no member named 'branch64'
> 
> and is not tested.

Thank you very much!
This patch works for me with Firefox 46.0.
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2016-04-29 18:17:34 UTC
Patch has been applied to both 45.1.0 and 46.0 ebuilds.  Compile tests with USE="-jit" pass locally, so hopefully all is well.  

I did not run-time test this, so if there are issues with using none-jit due to MOZ_CRASH() assertions at runtime from either branch64 or others, please open a new bug with those details.

commit 255b60802fb702c065999429fd3915751a3f056c
Author: Ian Stakenvicius <axs@gentoo.org>
Date:   Fri Apr 29 14:16:40 2016 -0400

    www-client/firefox-{45.1.0,46.0}: patch to fix branch64 calls missing from none-jit
    
    Bug: http://bugs.gentoo.org/581474