cpu_flags_arm_thumb is forced on but arm64 does not support thumb. Removing the forcing allows USE=-cpu_flags_arm_thumb emerge media-video/mplayer to build. Reproducible: Always Steps to Reproduce: 1. emerge media-video/mplayer 2. wait a few sec for configure to fail 3. Notice the -mthumb is in build log. Actual Results: Configure failed due to CPU_FLAGS_ARM=(thumb) Expected Results: I was watching media no my arm64 system
Please give the full build.log & emerge --info.
The default state appears to be Pi4_GCC-13 ~ # emerge -pv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 62.26 s. [ebuild R ] media-video/mplayer-1.5_p20230618::gentoo USE="X a52 aalib alsa bluray cdio doc dts dvd dvdnav enca encode faad iconv ipv6 jack jpeg libass mad mng mp3 network opengl osdmenu png rar sdl shm speex truetype twolame unicode vorbis x264 xscreensaver xv xvid (-aqua) -bidi -bl (-bs2b) -cddb -cdparanoia (-cpudetection) -debug -dga -dv -dvb -faac -fbcon -ftp (-ggi) -gsm -joystick -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -nas -openal -oss -pnm -pulseaudio -pvr -radio -rtc -rtmp -samba (-selinux) -tga -theora -toolame -tremor -v4l -vcd (-vdpau) (-vidix) -xinerama -yuv4mpeg -zoran" CPU_FLAGS_ARM="(thumb*) (vfp) (vfpv3) (-iwmmxt) (-neon)" VIDEO_CARDS="(-mga)" 0 KiB Which has (thumb*) forced on. Forcing (-thumb) with /etc/portage/profile/package.use.mask/mplayer yields [ebuild R ] media-video/mplayer-1.5_p20230618::gentoo USE="X a52 aalib alsa bluray cdio doc dts dvd dvdnav enca encode faad iconv ipv6 jack jpeg libass mad mng mp3 network opengl osdmenu png rar sdl shm speex truetype twolame unicode vorbis x264 xscreensaver xv xvid (-aqua) -bidi -bl (-bs2b) -cddb -cdparanoia (-cpudetection) -debug -dga -dv -dvb -faac -fbcon -ftp (-ggi) -gsm -joystick -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -nas -openal -oss -pnm -pulseaudio -pvr -radio -rtc -rtmp -samba (-selinux) -tga -theora -toolame -tremor -v4l -vcd (-vdpau) (-vidix) -xinerama -yuv4mpeg -zoran" CPU_FLAGS_ARM="(vfp) (vfpv3) (-iwmmxt) (-neon) (-thumb)" VIDEO_CARDS="(-mga)" 0 KiB which builds. Pi4_GCC-13 ~ # emerge --info Portage 3.0.48.1 (python 3.11.4-final-0, default/linux/arm64/17.0/desktop, gcc-13, glibc-2.37-r3, 6.2.1-gentoo aarch64) ================================================================= System uname: Linux-6.2.1-gentoo-aarch64-with-glibc2.37 KiB Mem: 98111208 total, 90030888 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 21 Jun 2023 07:00:01 +0000 Head commit of repository gentoo: f6d706c27982bd7271d91a6af98cd08dc586c6b0 sh bash 5.2_p15-r3 ld GNU ld (Gentoo 2.40 p5) 2.40.0 distcc 3.4 aarch64-unknown-linux-gnu [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r3::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.36.1-r2::gentoo dev-lang/python: 3.9.16-r1::gentoo, 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta3::gentoo dev-lang/rust: 1.69.0-r1::gentoo dev-util/cmake: 3.26.4-r1::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.47.1::gentoo sys-apps/sandbox: 2.31::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.39-r4::gentoo, 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 14.0.6-r1::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo sys-devel/gcc: 11.3.1_p20221007::gentoo, 12.2.1_p20221231::gentoo, 13.1.1_p20230527::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo sys-devel/llvm: 14.0.6-r2::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo sys-libs/libselinux: 3.4::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: Installed sets: @extras, @fs-extras, @kde-extras, @more_extras ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="@FREE all-rights-reserved bh-luxi bluez-firmware fairuse FraunhoferFDK freedist IUPAC-InChi kaptan linux-firmware linux-fw-redistributable MPEG-4 MSttfEULA no-source-code OSGi-Specification-2.0 raspberrypi-videocore-bin rpi-eeprom SSPL-1 sun-bcla-jai Turkowski unRAR xgraph LSI free-noncomm MBROLA-VOICES Microsoft-vscode MBROLA Amazon CC-BY-NC-SA-2.5 SPS vim.org Sun-BSD-no-nuclear-2005 PICO-8 NVIDIA-SDK Kryoflux-MAME NVIDIA-r2 codehaus-classworlds BigelowHolmes BSL-1.1 DCC grass-ipafonts JoyPixels bakoma JSON geekbench Plex fping netperf JPRS" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -flto" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /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/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/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="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -flto" DISTDIR="/var/cache/distfiles" 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="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -flto" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live 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="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -flto" GENTOO_MIRRORS="http://mirrors.gethosted.online/gentoo http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo https://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirror.bytemark.co.uk/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en en_GB" MAKEOPTS="-j32" PKGDIR="/var/cache/packages" PORTAGE_BINHOST="http://bloodnoc.org/~roy/BINHOSTS/gcc-12.x/armv8a" 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 aac aalib accessibility acl acpi alsa arm64 bluetooth bluray branding btrfs bzip2 cairo cdda cdr clamav clang cli context crypt cups dbus default-gold dillo dmraid doc dot dri dts dvd dvdnav dvdr eds egl elogind encode exif extras f2fs faad fat ffmpeg flac fontconfig fortran gdbm geoclue gif git gles1 gnome-keyring gpm graphite gstreamer gtk gtk3 gui hfs iconv icu introspection iptables ipv6 jack jadetex jfs jit jpeg kde latex lcms libnotify libtirpc lto lvm mad map mdadm minizip mng modemmanager mp3 mp4 mpeg mysql mysqli ncurses netifrc ngspice nls nptl nss ntfs ogg openexr opengl openmp openssl pam pango pcre pcre16 pcre32 pdf php pie pim png policykit postgres postproc ppds python qml qt5 rar raspberry-pi readline reiser4 reiserfs script sdk sdl seccomp servletapi skia sound speex spell split-usr sqlite ssl ssp startup-notification svc svg test-rust thesaurus thin threads tiff tk truetype twolame udev udf udisks unicode upower usb vala virt-network vorbis vulkan webengine widgets wmf wxwidgets x264 x265 xattr xcb xface xfs xft xml xpm xscreensaver xv xvfb xvid xvmc zip zlib" 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_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" 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 libinput synaptics" KERNEL="linux" L10N="en en-GB" 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_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30 ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev nouveau radeon radeonsi v3d vc4" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS build log and configure log in a few min ..
Created attachment 864427 [details] Build Log
Created attachment 864428 [details] Config.log
Huh, in profiles: profiles/arch/arm64/use.force:15:cpu_flags_arm_thumb profiles/arch/arm64/use.force:16:cpu_flags_arm_thumb2 profiles/arch/arm64/use.mask:61:-cpu_flags_arm_thumb profiles/arch/arm64/use.mask:62:-cpu_flags_arm_thumb2 I don't think that should be there at all.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c26ee7641e1b52ed0be5163049ab7cfac4f543 commit 20c26ee7641e1b52ed0be5163049ab7cfac4f543 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-24 03:37:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-24 03:37:13 +0000 profiles/arch/arm64: drop forcing cpu_flags_arm_thumb* on arm64 arm64 doesn't support thumb. Closes: https://bugs.gentoo.org/908990 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/arm64/use.mask | 2 -- 1 file changed, 2 deletions(-)