Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943705 - gui-libs/gtk-4.14.4-r1 - error: implicit declaration of function ‘_mm_popcnt_u64’
Summary: gui-libs/gtk-4.14.4-r1 - error: implicit declaration of function ‘_mm_popcnt_...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: time64-migration
  Show dependency tree
 
Reported: 2024-11-18 04:33 UTC by immolo
Modified: 2024-11-19 04:02 UTC (History)
1 user (show)

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


Attachments
build.log (gtk4.build.log,694.03 KB, text/x-log)
2024-11-18 04:33 UTC, immolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description immolo 2024-11-18 04:33:54 UTC
Created attachment 908914 [details]
build.log

x86 time64 test system

FAILED: gtk/libgtk.a.p/gtkbitset.c.o 
i686-pc-linux-gnut64-gcc -Igtk/libgtk.a.p -Igtk -I../gtk-4.14.4/gtk -I. -I../gtk-4.14.4 -Igdk -I../gtk-4.14.4/gdk -Igsk -I../gtk-4.14.4/gsk -Igdk/x11 -I../gtk-4.14.4/gdk/x11 -Igtk/a11y/atspi -Igtk/css -Igdk/version -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib/graphene-1.0/include -I/usr/include/libdrm -I/usr/include/lzo -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.14.4"' -D_GNU_SOURCE -O2 -march=native -msse2 -mfpmath=sse -pipe -fPIC -pthread -DGTK_COMPILATION '-DG_LOG_DOMAIN="Gtk"' -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED '-DGTK_BINARY_VERSION="4.0.0"' '-DGTK_HOST="linux"' '-DGTK_DATA_PREFIX="/usr"' '-DX11_DATA_PREFIX="/usr"' -fno-strict-aliasing -Wno-missing-include-dirs -Wduplicated-branches -Wduplicated-cond -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmisleading-indentation -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -Waddress -Warray-bounds -Wempty-body -Wenum-int-mismatch -Wimplicit -Wimplicit-fallthrough -Wimplicit-fallthrough=5 -Winit-self -Wint-to-pointer-cast -Wmain -Wmissing-braces -Wmissing-declarations -Wmissing-prototypes -Wnonnull -Woverride-init -Wpointer-to-int-cast -Wredundant-decls -Wreturn-type -Wsequence-point -Wtrigraphs -Wvla -Wwrite-strings -Wcast-align -Wnull-dereference -fvisibility=hidden -MD -MQ gtk/libgtk.a.p/gtkbitset.c.o -MF gtk/libgtk.a.p/gtkbitset.c.o.d -o gtk/libgtk.a.p/gtkbitset.c.o -c ../gtk-4.14.4/gtk/gtkbitset.c
In file included from ../gtk-4.14.4/gtk/roaring/roaring.c:23,
                 from ../gtk-4.14.4/gtk/gtkbitset.c:24:
../gtk-4.14.4/gtk/roaring/roaring.h: In function ‘hamming’:
../gtk-4.14.4/gtk/roaring/roaring.h:260:18: error: implicit declaration of function ‘_mm_popcnt_u64’; did you mean ‘_mm_popcnt_u32’? [-Wimplicit-function-declaration]
  260 |     return (int) _mm_popcnt_u64(x);
      |                  ^~~~~~~~~~~~~~
      |                  _mm_popcnt_u32
../gtk-4.14.4/gtk/roaring/roaring.h:260:18: warning: nested extern declaration of ‘_mm_popcnt_u64’ [-Wnested-externs]
../gtk-4.14.4/gtk/roaring/roaring.h: In function ‘avx2_harley_seal_popcount256’:
../gtk-4.14.4/gtk/roaring/roaring.h:1011:23: error: implicit declaration of function ‘_mm256_extract_epi64’; did you mean ‘_mm256_extract_epi8’? [-Wimplicit-function-declaration]
 1011 |     return (uint64_t)(_mm256_extract_epi64(total, 0)) +
      |                       ^~~~~~~~~~~~~~~~~~~~
      |                       _mm256_extract_epi8
../gtk-4.14.4/gtk/roaring/roaring.h:1011:23: warning: nested extern declaration of ‘_mm256_extract_epi64’ [-Wnested-externs]

Steps to reproduce:

1. setup stage3-i686-ssemath-t64-openrc-<DATE>.tar.xz system
2. (Optional but helpful) Merge profile default/linux/x86/23.0/i686/time64 with target/desktop
3. emerge -va1 =gui-libs/gtk-4.14.4-r1

emerge --info:

Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/x86/23.0/i686/time64, gcc-14, glibc-2.40-r5, 6.11.7-gentoo-immolo i686)
=================================================================
System uname: Linux-6.11.7-gentoo-immolo-i686-Intel-R-_Core-TM-_i5-8350U_CPU_@_1.70GHz-with-glibc2.40
KiB Mem:     8084888 total,   6549400 free
KiB Swap:    4194300 total,   4190972 free
Timestamp of repository gentoo: Fri, 08 Nov 2024 20:00:00 +0000
Head commit of repository gentoo: 90d8e86c71554da135f19501449e643577cafb20
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.31.0::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.82.0::gentoo
sys-apps/baselayout:       2.16::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8-r6::gentoo, 19.1.3::gentoo
sys-devel/gcc:             14.2.1_p20241026::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r6::gentoo, 19.1.3::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::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-extra-opts: 
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/x86/binpackages/23.0/i686-ssemath-t64

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnut64"
CFLAGS="-O2 -march=native -msse2 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnut64"
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/sandbox.d"
CXXFLAGS="-O2 -march=native -msse2 -mfpmath=sse -pipe"
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="-O2 -march=native -msse2 -mfpmath=sse -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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=native -msse2 -mfpmath=sse -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
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 aac acl acpi alsa bluetooth branding bzip2 cairo cdda cdr crypt dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc lto mad mng mp3 mp4 mpeg ncurses nls ogg opengl openmp pam pango pcre pdf pgo png policykit ppds qml readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff time64 truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 x86 xattr xcb xft xml xv xvid zlib" ABI_X86="32" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file 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 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 sse aes avx avx2 f16c fma3 mmxext pclmul popcnt rdrand sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="time64" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 immolo 2024-11-19 04:02:29 UTC
Issue still exists in 4.16 so have reported upstream.