Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726118 - www-client/chromium-83.0.4103.61 fail to compile: inlining failed in call to always_inline ‘__m256 _mm256_fmadd_ps(__m256, __m256, __m256)’: target specific option mismatch 63 | _mm256_fmadd_ps (__m256 __A, __m256 __B, __m256 __C)
Summary: www-client/chromium-83.0.4103.61 fail to compile: inlining failed in call to ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 17:40 UTC by François Valenduc
Modified: 2020-05-29 22:56 UTC (History)
0 users

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


Attachments
full build.log file (build.log.gz,92.57 KB, application/gzip)
2020-05-29 17:42 UTC, François Valenduc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description François Valenduc 2020-05-29 17:40:47 UTC
chromium fail to compile with this error:

In file included from ../../third_party/skia/include/core/SkScalar.h:11,
                 from ../../third_party/skia/include/private/SkNx.h:11,
                 from ../../third_party/skia/include/private/SkHalf.h:12,
                 from ../../third_party/skia/src/core/SkOpts.cpp:8:
../../third_party/skia/include/private/SkFloatingPoint.h:163:48: warning: ‘clang::no_sanitize’ scoped attribute directive ignored [-Wattributes]
  163 | static inline float sk_double_to_float(double x) {
      |                                                ^
../../third_party/skia/include/private/SkFloatingPoint.h:230:66: warning: ‘clang::no_sanitize’ scoped attribute directive ignored [-Wattributes]
  230 | static inline float sk_ieee_float_divide(float numer, float denom) {
      |                                                                  ^
../../third_party/skia/include/private/SkFloatingPoint.h:235:70: warning: ‘clang::no_sanitize’ scoped attribute directive ignored [-Wattributes]
  235 | static inline double sk_ieee_double_divide(double numer, double denom) {
      |                                                                      ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/immintrin.h:107,
                 from ../../third_party/skia/include/private/SkVx.h:32,
                 from ../../third_party/skia/src/opts/SkBitmapProcState_opts.h:11,
                 from ../../third_party/skia/src/core/SkOpts.cpp:40:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/fmaintrin.h: In function ‘skvx::Vec<8, float> skvx::fma(const skvx::Vec<8, float>&, const skvx::Vec<8, float>&, const skvx::Vec<8, float>&)’:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/fmaintrin.h:63:1: error: inlining failed in call to always_inline ‘__m256 _mm256_fmadd_ps(__m256, __m256, __m256)’: target specific option mismatch
   63 | _mm256_fmadd_ps (__m256 __A, __m256 __B, __m256 __C)
      | ^~~~~~~~~~~~~~~
In file included from ../../third_party/skia/src/opts/SkBitmapProcState_opts.h:11,
                 from ../../third_party/skia/src/core/SkOpts.cpp:40:
../../third_party/skia/include/private/SkVx.h:575:57: note: called from here
  575 |             return bit_pun<Vec<8,float>>(_mm256_fmadd_ps(bit_pun<__m256>(x),
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
  576 |                                                          bit_pun<__m256>(y),
      |                                                          ~~~~~~~~~~~~~~~~~~~
  577 |                                                          bit_pun<__m256>(z)));
      |                                                          ~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/immintrin.h:107,
                 from ../../third_party/skia/include/private/SkVx.h:32,
                 from ../../third_party/skia/src/opts/SkBitmapProcState_opts.h:11,
                 from ../../third_party/skia/src/core/SkOpts.cpp:40:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/fmaintrin.h:63:1: error: inlining failed in call to always_inline ‘__m256 _mm256_fmadd_ps(__m256, __m256, __m256)’: target specific option mismatch
   63 | _mm256_fmadd_ps (__m256 __A, __m256 __B, __m256 __C)
      | ^~~~~~~~~~~~~~~
In file included from ../../third_party/skia/src/opts/SkBitmapProcState_opts.h:11,
                 from ../../third_party/skia/src/core/SkOpts.cpp:40:
../../third_party/skia/include/private/SkVx.h:575:57: note: called from here
  575 |             return bit_pun<Vec<8,float>>(_mm256_fmadd_ps(bit_pun<__m256>(x),
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
  576 |                                                          bit_pun<__m256>(y),
      |                                                          ~~~~~~~~~~~~~~~~~~~
  577 |                                                          bit_pun<__m256>(z)));
      |                                                          ~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/immintrin.h:107,
                 from ../../third_party/skia/include/private/SkVx.h:32,
                 from ../../third_party/skia/src/opts/SkBitmapProcState_opts.h:11,
                 from ../../third_party/skia/src/core/SkOpts.cpp:40:
(__m256, __m256, __m256)’: target specific option mismatch
   63 | _mm256_fmadd_ps (__m256 __A, __m256 __B, __m256 __C)
      | ^~~~~~~~~~~~~~~
In file included from ../../third_party/skia/src/opts/SkBitmapProcState_opts.h:11,
                 from ../../third_party/skia/src/core/SkOpts.cpp:40:
../../third_party/skia/include/private/SkVx.h:575:57: note: called from here
  575 |             return bit_pun<Vec<8,float>>(_mm256_fmadd_ps(bit_pun<__m256>(x),
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
  576 |                                                          bit_pun<__m256>(y),
      |                                                          ~~~~~~~~~~~~~~~~~~~
  577 |                                                          bit_pun<__m256>(z)));
      |                                                          ~~~~~~~~~~~~~~~~~~~
Comment 1 François Valenduc 2020-05-29 17:42:48 UTC
Created attachment 642574 [details]
full build.log file
Comment 2 François Valenduc 2020-05-29 17:43:30 UTC
output of emerge --info:

Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/systemd, gcc-9.3.0, glibc-2.30-r8, 5.4.43 x86_64)
=================================================================
System uname: Linux-5.4.43-x86_64-Intel-R-_Core-TM-_i7-6600U_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:     8165496 total,   1440176 free
KiB Swap:    1023996 total,   1023476 free
Timestamp of repository gentoo: Tue, 26 May 2020 05:45:01 +0000
Head commit of repository gentoo: 021a1e76d9538fedbda3a37168d4a5bee9ce31cf
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.16.5::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.33.1-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

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

local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mno-f16c -mno-fsgsbase -mrdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mno-f16c -mno-fsgsbase -mrdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mclflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=skylake -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask y"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc 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 -pipe"
GENTOO_MIRRORS="rsync://pc-francois.local/gentoo-distfiles rsync://pc-francois-old.local/gentoo-distfiles http://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6 -l4"
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="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd tcpd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias proxy proxy_http proxy_wstunnel" 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="libinput evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres12" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Mike Gilbert gentoo-dev 2020-05-29 22:49:42 UTC
You have a bunch of -mno-xxx options in CXXFLAGS. Please remove them.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-29 22:56:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3abbef68b08630039bcd249d6869a2c5c653b8cc

commit 3abbef68b08630039bcd249d6869a2c5c653b8cc
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-05-29 22:54:42 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-05-29 22:54:42 +0000

    www-client/chromium: filter -mno-fma -mno-fma4
    
    Bug: https://bugs.gentoo.org/726118
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 www-client/chromium/chromium-83.0.4103.61.ebuild | 2 +-
 www-client/chromium/chromium-84.0.4136.5.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)