Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698274 - www-client/firefox-69.0.3 on ppc64le - .../work/firefox-69.0.3/js/xpconnect/src/XPCWrappedNative.cpp:1326:6: error: inlining failed in call to always_inline 'bool CallMethodHelper::GatherAndConvertResults()': function not inlinable
Summary: www-client/firefox-69.0.3 on ppc64le - .../work/firefox-69.0.3/js/xpconnect/s...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-22 14:34 UTC by Aljoscha Vollmerhaus
Modified: 2020-05-12 07:40 UTC (History)
0 users

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


Attachments
compressed Firefox build log showing the failure (build.log.xz,194.97 KB, application/x-xz)
2019-10-23 07:09 UTC, Aljoscha Vollmerhaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aljoscha Vollmerhaus 2019-10-22 14:34:20 UTC
I can't emerge any of the ~ppc64 Firefox packages on ppc64le, if my limited understanding is correct the resulting binary fails to pass some testing tool.
See attached build log.
There seem to be similar bugs related to i686 builds on other Bugtrackers, for example ArchLinux32:
https://bugs.archlinux32.org/index.php?do=details&task_id=87




Reproducible: Always

Steps to Reproduce:
1. use ppc64le
2. emerge firefox
3. observe fail
Actual Results:  
build failure

Expected Results:  
emerge firefox

Portage 2.3.76 (python 3.6.9-final-0, default/linux/powerpc/ppc64/17.0/64bit-userland/little-endian/systemd, gcc-8.3.0, glibc-2.29-r2, 4.19.72-gentoo ppc64le)
=================================================================
System uname: Linux-4.19.72-gentoo-ppc64le-POWER9,_altivec_supported-with-gentoo-2.6
KiB Mem:    33277632 total,  18697408 free
KiB Swap:    1048512 total,   1040320 free
Timestamp of repository gentoo: Mon, 21 Oct 2019 11:30:01 +0000
Head commit of repository gentoo: 992dbbe8f438565987e5188bbda5ca02a0133d7c
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

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

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=native"
CHOST="powerpc64le-unknown-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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe -mcpu=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -mcpu=native"
GENTOO_MIRRORS="https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
PKGDIR="/var/cache/binpkgs"
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 alsa altivec apng berkdb branding bzip2 cairo cli crypt cups cxx dbus dri exif fam ffmpeg firefox flac fortran gdbm gif glamor gtk gtk2 gtk3 iconv icu ipv6 jpeg lcms libkms libnotify lzo matroska mng mp3 mp4 mpeg ncurses nls nptl offensive ogg opengl openmp openssl opus pam pango pcre pdf png policykit ppc64 ppds pulseaudio python qt5 readline rtsp sdl seccomp smartcard smp spell split-usr sqlite ssl startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis vpx webp x264 xattr xcb xinerama xml xv xvid zlib" ABI_PPC="64" ADA_TARGET="gnat_2018" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_PPC="altivec vsx vsx3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aljoscha Vollmerhaus 2019-10-22 14:39:19 UTC
I wanted to attach the build.log, but it's 6 mbytes.
I'll try to quote the relevant section of the build during the failure, not sure if this is enough information. Is there another method for me to share the file?

14:03.09     Finished release [optimized] target(s) in 13m 20s
14:03.61 gmake[4]: Entering directory '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/toolkit/library/rust'
14:03.61 /var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/_virtualenvs/init/bin/python -m mozbuild.action.check_binary --target --networking /var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/powerpc64le-unknown-linux-gnu/release/libgkrust.a
14:03.61 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/toolkit/library/rust'
14:03.61 gmake[2]: *** [/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/config/recurse.mk:34: compile] Error 2
14:03.61 gmake[1]: *** [/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/config/rules.mk:391: default] Error 2
14:03.61 gmake: *** [client.mk:125: build] Error 2
14:03.64 11 compiler warnings present.
 * ERROR: www-client/firefox-69.0.3::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 5276:  Called die
 * The specific snippet of code:
 *       GDK_BACKEND=x11 MOZ_MAKE_FLAGS="${MAKEOPTS} -O" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} ./mach build --verbose || die
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-69.0.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-69.0.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-69.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-69.0.3/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3'
 * S: '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3'
Comment 2 Aljoscha Vollmerhaus 2019-10-22 14:39:46 UTC
I wanted to attach the build.log, but it's 6 mbytes.
I'll try to quote the relevant section of the build during the failure, not sure if this is enough information. Is there another method for me to share the file?

14:03.09     Finished release [optimized] target(s) in 13m 20s
14:03.61 gmake[4]: Entering directory '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/toolkit/library/rust'
14:03.61 /var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/_virtualenvs/init/bin/python -m mozbuild.action.check_binary --target --networking /var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/powerpc64le-unknown-linux-gnu/release/libgkrust.a
14:03.61 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/ff/toolkit/library/rust'
14:03.61 gmake[2]: *** [/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/config/recurse.mk:34: compile] Error 2
14:03.61 gmake[1]: *** [/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3/config/rules.mk:391: default] Error 2
14:03.61 gmake: *** [client.mk:125: build] Error 2
14:03.64 11 compiler warnings present.
 * ERROR: www-client/firefox-69.0.3::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 5276:  Called die
 * The specific snippet of code:
 *       GDK_BACKEND=x11 MOZ_MAKE_FLAGS="${MAKEOPTS} -O" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} ./mach build --verbose || die
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-69.0.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-69.0.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-69.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-69.0.3/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3'
 * S: '/var/tmp/portage/www-client/firefox-69.0.3/work/firefox-69.0.3'
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-22 18:21:59 UTC
(In reply to Aljoscha Vollmerhaus from comment #1)
> I wanted to attach the build.log, but it's 6 mbytes.

Compress it: `xz build.log` for instance.
Comment 4 Aljoscha Vollmerhaus 2019-10-23 07:09:29 UTC
Created attachment 593682 [details]
compressed Firefox build log showing the failure
Comment 5 Aljoscha Vollmerhaus 2019-10-23 09:55:24 UTC
FYI, I've just successfully compiled it using gcc-9.2.0-r1
Comment 6 Aljoscha Vollmerhaus 2019-10-23 10:29:01 UTC
This workaround (upgrading gcc to 9.2) seems to work for Thunderbird as well (I've yet to file a bugreport for that, but it seems to suffer the same problem as Firefox).
Comment 7 Aljoscha Vollmerhaus 2020-05-12 07:40:50 UTC
Since GCC is now at 9.3 this can be closed I guess.