Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888904 - www-client/firefox-108.0.1 - compile error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
Summary: www-client/firefox-108.0.1 - compile error: always_inline function '_mm_crc32...
Status: RESOLVED DUPLICATE of bug 838373
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 21:52 UTC by tka
Modified: 2022-12-29 21:57 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,295.19 KB, application/x-xz)
2022-12-29 21:55 UTC, tka
Details
environment (environment,229.77 KB, text/plain)
2022-12-29 21:55 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2022-12-29 21:52:32 UTC
When I try to build firefox on my x86 (pentium4) machine, it fails with the following error:

683:47.87 gfx/skia/SkOpts_sse42.o
683:47.88 /usr/lib/llvm/15/bin/i686-pc-linux-gnu-clang++ -Qunused-arguments -std=gnu++17 -o SkOpts_sse42.o -c  -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DSKIA_IMPLEMENTATION=1 -DSK_PDF_USE_HARFBUZZ_SUBSETTING=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build/gfx/skia -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/include/third_party/skcms -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/cairo/cairo/src -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build/mozilla-config.h -fno-sized-deallocation -fno-aligned-new -march=native -mtune=native -fomit-frame-pointer -pipe -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wenum-compare-conditional -Wenum-float-conversion -Wno-ambiguous-reversed-operator -Wno-error=deprecated -Wno-error=deprecated-anon-enum-enum-conversion -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-pragma -Wno-error=deprecated-this-capture -Wno-error=deprecated-volatile -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wformat -Wformat-security -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-overloaded-virtual -Wno-sign-compare -Wno-unreachable-code -Wno-unused-function -Wno-implicit-fallthrough -Wno-inconsistent-missing-override -Wno-macro-redefined -Wno-unused-private-field -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/SkOpts_sse42.o.pp  -fcolor-diagnostics -O3 -msse4.2 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkOpts_sse42.cpp
683:56.23 In file included from /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkOpts_sse42.cpp:11:
683:56.24 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:93:21: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.25                 a = _mm_crc32_u32(a, sk_unaligned_load<uint32_t>(data+0));
683:56.26                     ^
683:56.27 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:94:21: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.27                 b = _mm_crc32_u32(b, sk_unaligned_load<uint32_t>(data+4));
683:56.28                     ^
683:56.33 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:95:21: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.34                 c = _mm_crc32_u32(c, sk_unaligned_load<uint32_t>(data+8));
683:56.34                     ^
683:56.35 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:99:37: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.36             hash = _mm_crc32_u32(a, _mm_crc32_u32(b, c));
683:56.37                                     ^
683:56.39 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:99:20: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.40             hash = _mm_crc32_u32(a, _mm_crc32_u32(b, c));
683:56.41                    ^
683:56.43 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:104:20: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.44             hash = _mm_crc32_u32(hash, sk_unaligned_load<uint32_t>(data));
683:56.45                    ^
683:56.47 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:111:20: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.48             hash = _mm_crc32_u32(hash, sk_unaligned_load<uint32_t>(data));
683:56.49                    ^
683:56.51 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:115:20: error: always_inline function '_mm_crc32_u16' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.52             hash = _mm_crc32_u16(hash, sk_unaligned_load<uint16_t>(data));
683:56.54                    ^
683:56.55 /var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/gfx/skia/skia/src/opts/SkChecksum_opts.h:119:20: error: always_inline function '_mm_crc32_u8' requires target feature 'crc32', but would be inlined into function 'hash_fn' that is compiled without support for 'crc32'
683:56.56             hash = _mm_crc32_u8(hash, sk_unaligned_load<uint8_t>(data));
683:56.58                    ^
683:56.59 9 errors generated.
683:56.60 gmake[4]: *** [/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/config/rules.mk:669: SkOpts_sse42.o] Error 1
683:56.62 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build/gfx/skia'
683:56.63 gmake[3]: *** [/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/config/recurse.mk:72: gfx/skia/target-objects] Error 2
683:57.09 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build'
683:57.13 gmake[2]: *** [/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/config/recurse.mk:34: compile] Error 2
683:57.42 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build'
683:57.46 gmake[1]: *** [/var/tmp/portage/www-client/firefox-108.0.1/work/firefox-108.0.1/config/rules.mk:361: default] Error 2
683:57.71 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-108.0.1/work/firefox_build'
683:57.75 gmake: *** [client.mk:60: build] Error 2
683:58.24 52 compiler warnings present.
 * ERROR: www-client/firefox-108.0.1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_compile
 *   environment, line 5038:  Called die
 * The specific snippet of code:
 *       ${virtx_cmd} ./mach build --verbose || die


The same version builds without error on my amd64 system. Please note that this is the first update of firefox on that system in a long time. The last known successful version was 97.0.2.

This may be caused by the same underlying reason as bug 850757. I leave it up to you to decide whether to close this as duplicate or to keep it separate.

Reproducible: Always
Comment 1 tka 2022-12-29 21:55:12 UTC
Created attachment 845702 [details]
build.log.xz

$ emerge -pqv '=www-client/firefox-108.0.1::gentoo'
[ebuild     U ] www-client/firefox-108.0.1 [97.0.2] USE="X%* clang dbus eme-free hardened openh264 system-av1* system-harfbuzz system-icu system-jpeg system-libevent (system-libvpx) system-webp -debug -geckodriver (-gmp-autoupdate) -hwaccel -jack -libproxy -lto (-pgo) -pulseaudio -screencast (-selinux) -sndio -system-png (-system-python-libs) -wayland -wifi" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -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 -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW"


$ emerge --info '=www-client/firefox-108.0.1::gentoo'
Portage 3.0.42 (python 3.10.9-final-0, default/linux/x86/17.0/hardened, gcc-12, glibc-2.36-r6, 6.1.1 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.1-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.36
KiB Mem:     2030636 total,    189556 free
KiB Swap:   16777212 total,  16674480 free
Timestamp of repository gentoo: Wed, 28 Dec 2022 22:00:01 +0000
Head commit of repository gentoo: b14ccff2d4d0eb8f88860b15818ca95b7e06ed6d
sh bash 5.2_p15
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.2_p15::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.66.0::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 15.0.6::gentoo
sys-devel/gcc:             12.2.1_p20221224::gentoo
sys-devel/gcc-config:      2.9::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.6::gentoo
sys-devel/llvm:            13.0.1::gentoo, 15.0.6::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

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

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -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/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=native -mtune=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup collision-protect 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 qa-unresolved-soname-deps 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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LEX="flex"
LINGUAS=""
MAKEOPTS="-j2"
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"
SHELL="/bin/bash"
USE="X a52 acl acpi alsa apache2 bzip2 cairo caps cdda cddb cdparanoia cli crypt dbus dri dts dvd elogind fam ffmpeg fftw flac fontconfig gd gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg lame lcms libglvnd libnotify libtirpc mad matroska mmap mmx mp3 mpeg ncurses nptl ogg opengl openmp pam pcre php pic pie png policykit ppds readline sasl sdl seccomp split-usr sse sse2 ssl ssp startup-notification svg test-rust theora threads tiff truetype udev udisks unicode upower verify-sig vorbis x264 x86 xattr xcb xml xtpax xv xvid zlib" ABI_X86="32" ADA_TARGET="gnat_2021" 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_X86="mmx mmxext sse sse2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="i915 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LANG, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 tka 2022-12-29 21:55:37 UTC
Created attachment 845704 [details]
environment
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-29 21:57:36 UTC
I suspect this is really the same as bug 838373.

*** This bug has been marked as a duplicate of bug 838373 ***