Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911687 - www-client/chromium-115.0.5790.170: build failure with binutils-2.41 (../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr')
Summary: www-client/chromium-115.0.5790.170: build failure with binutils-2.41 (../../t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: binutils-2.41
  Show dependency tree
 
Reported: 2023-08-04 02:14 UTC by Sam James
Modified: 2023-08-04 06:57 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,114.26 KB, application/x-xz)
2023-08-04 02:14 UTC, Sam James
Details
ffmpeg.patch (ffmpeg.patch,1.69 KB, patch)
2023-08-04 02:15 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-04 02:14:47 UTC
Created attachment 866986 [details]
build.log.xz

FAILED: obj/third_party/ffmpeg/ffmpeg_internal/flac.o 
x86_64-pc-linux-gnu-gcc -MMD -MF obj/third_party/ffmpeg/ffmpeg_internal/flac.o.d -DHAVE_AV_CONFIG_H -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DFFMPEG_CONFIGURATION=NULL -DCHROMIUM_NO_LOGGING -D_ISOC99_SOURCE -D_LARGEFILE_SOURCE -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/ffmpeg/chromium/config/Chrome/linux/x64 -I../../third_party/ffmpeg -I../.. -Igen -I../../third_party/opus/src/include -fPIC -Wno-deprecated-declarations -fomit-frame-pointer -w -std=c99 -pthread -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -std=gnu11 -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -c ../../third_party/ffmpeg/libavcodec/flac.c -o obj/third_party/ffmpeg/ffmpeg_internal/flac.o
../../third_party/ffmpeg/libavcodec/x86/mathops.h: Assembler messages:
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
../../third_party/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'

----

Portage 3.0.49 (python 3.12.0-beta-4, default/linux/amd64/17.1/hardened, gcc-13, glibc-2.38, 6.1.42-adry x86_64)
=================================================================
System uname: Linux-6.1.42-adry-x86_64-11th_Gen_Intel-R-_Core-TM-_i7-11800H_@_2.30GHz-with-glibc2.38
KiB Mem:    32595692 total,  15761960 free
KiB Swap:    8388604 total,   7231740 free
Timestamp of repository gentoo: Thu, 03 Aug 2023 22:31:40 +0000
Head commit of repository gentoo: 253ca8f173ea2909628027a1cb23095cf682fcf0

Timestamp of repository emacs: Sun, 30 Jul 2023 18:48:18 +0000
Head commit of repository emacs: 7638b8ed14920c439181fecc5eee8acfd711be30

Timestamp of repository kde: Wed, 02 Aug 2023 18:32:20 +0000
Head commit of repository kde: f58052ca124abfe5442d5e830df32968b39fa4f7

Timestamp of repository qt: Wed, 02 Aug 2023 18:32:11 +0000
Head commit of repository qt: dab1f4a33807f28a9be8ae6813556366a09c20c0

sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.41 p1) 2.41
ccache version 4.8.2 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta4_p1::gentoo
dev-lang/rust-bin:         1.71.0::gentoo
dev-util/ccache:           4.8.2::gentoo
dev-util/cmake:            3.27.1-r1::gentoo
dev-util/meson:            1.2.0::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r7::gentoo, 2.41::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             11.4.1_p20230622::gentoo, 12.3.1_p20230728::gentoo, 13.2.1_p20230729::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False
    sync-git-clone-extra-opts: -b stable -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0 -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now
    sync-git-verify-commit-signature: yes

emacs
    location: /var/db/repos/emacs
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/emacs.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    volatile: False

sam_c
    location: /home/sjames/git/overlay
    masters: gentoo
    volatile: True

Installed sets: @sam-emacs, @sam-fonts, @sam-fortune
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -ggdb3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /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 -march=native -fdiagnostics-color=always -frecord-gcc-switches -ggdb3"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --complete-graph --deep --changed-deps-report=y --usepkg=y --usepkg-exclude nvidia-drivers --usepkg-exclude gentoo-kernel --implicit-system-deps=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg clean-logs compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles installsources ipc-sandbox mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ https://mirror.bytemark.co.uk/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_GB en_US"
MAKEOPTS="-j16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
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/portage"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="PIC X a52 aac acl acpi activities aes alsa amd64 avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl bash-completion bluetooth branding bzip2 cairo caps cdda cdr cet clang cli crypt dbus declarative dist-kernel dri dts dvd dvdr elogind emacs encode exif f16c flac fma3 fortran gdbm gif gles2 gmp gpm graphite gtk gui hardened hunspell iconv icu ipv6 iwd jit jpeg kde kwallet lcms libnotify libtirpc lto mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses networkmanager nptl ogg opengl openmp pam pango pclmul pcre pdf pgo pic pie pipewire plasma png policykit popcnt ppds pulseaudio qml qt5 rdrand readline screencast sdl seccomp semantic-desktop sha smartcard sound spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg syslog system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-jsoncpp system-leveldb system-libevent system-libs system-libvpx system-libyaml system-lz4 system-mitkrb5 system-sqlite system-ssl system-tbb system-uulib system-webp system-zlib test-rust tiff truetype udev udisks unicode upower usb vaapi verify-sig vorbis vulkan wayland widgets x264 xattr xcb xft xml xtpax xv xvid zlib zsh-completion zstd" ABI_X86="32 64" 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="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB en-US" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_10 python3_12" RUBY_TARGETS="ruby31 ruby30 ruby32" VIDEO_CARDS="intel i965 iris nvidia" 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, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-04 02:15:25 UTC
Created attachment 866987 [details, diff]
ffmpeg.patch
Comment 2 Larry the Git Cow gentoo-dev 2023-08-04 06:57:43 UTC
The bug has been closed via the following commit(s):

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

commit ac80d3a8a81ae6a7dc68a31dcac519c830980e65
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2023-08-04 06:54:08 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2023-08-04 06:55:00 +0000

    www-client/chromium: fix building with binutils 2.41
    
    Closes: https://bugs.gentoo.org/911687
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/chromium-115.0.5790.170.ebuild |  1 +
 .../files/chromium-115-binutils-2.41.patch         | 76 ++++++++++++++++++++++
 2 files changed, 77 insertions(+)