Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931842 - app-office/libreoffice-7.6.6.3[clang]: fails with a bunch of "AVX vector return of type" errors
Summary: app-office/libreoffice-7.6.6.3[clang]: fails with a bunch of "AVX vector retu...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-13 02:33 UTC by Erik Zeek
Modified: 2024-09-24 10:47 UTC (History)
4 users (show)

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


Attachments
build log (app-office:libreoffice-7.6.6.3:20240513-022516.log.gz,372.43 KB, application/gzip)
2024-05-13 02:33 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2024-05-13 02:33:46 UTC
Created attachment 892846 [details]
build log

A bunch of errors of the form:

In file included from /gentoo/notmp/portage/app-office/libreoffice-7.6.6.3/work/libreoffice-7.6.6.3/workdir/UnpackedTarball/skia/modules/skcms/skcms.cpp:2472:
/gentoo/notmp/portage/app-office/libreoffice-7.6.6.3/work/libreoffice-7.6.6.3/workdir/UnpackedTarball/skia/modules/skcms/src/Transform_inl.h:812:21: error: AVX vector return of type 'F' (aka 'Vec<16, float>') without 'evex512' enabled changes the ABI
  812 |                 a = F_from_U8(load<U8>(src + 1*i));
      |                     ^
/gentoo/notmp/portage/app-office/libreoffice-7.6.6.3/work/libreoffice-7.6.6.3/workdir/UnpackedTarball/skia/modules/skcms/src/Transform_inl.h:816:29: error: AVX vector return of type 'F' (aka 'Vec<16, float>') without 'evex512' enabled changes the ABI
  816 |                 r = g = b = F_from_U8(load<U8>(src + 1*i));

> emerge --info =libreoffice-7.6.6.3
Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.8.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.8.9-gentoo-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.39
KiB Mem:    65730272 total,    912300 free
KiB Swap:   72351740 total,  72351228 free
Timestamp of repository gentoo: Mon, 13 May 2024 02:18:46 +0000
Head commit of repository gentoo: b514847d8150e8400d63cef5d456fa67d8c8679a

Timestamp of repository inode64-overlay: Sun, 12 May 2024 05:07:27 +0000
Head commit of repository inode64-overlay: c2cada173eec29253dbf31df548eedc3b0b93621

Head commit of repository guru: 1faf228f45c65f5e7f7fab96f492d627f6326238

Head commit of repository steam-overlay: fc142da83eb4eb440c787e9f1befe5945b09f485

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r5::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo, 3.13.0_beta1_p1::gentoo
dev-lang/rust:             1.77.1::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.6::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.5::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo, 18.1.5::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.5::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /gentoo/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: True
    sync-git-verify-commit-signature: true

inode64-overlay
    location: /gentoo/local/layman/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git
    masters: gentoo
    volatile: True

guru
    location: /gentoo/local/layman/guru
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50
    volatile: True

steam-overlay
    location: /gentoo/local/layman/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

zeekec
    location: /gentoo/local/portage
    masters: gentoo
    priority: 100
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=native -march=native"
DISTDIR="/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j 2 --rebuild-if-new-slot=y --backtrack=50"
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 -mtune=native -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles installsources ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-O2 -pipe -mtune=native -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j24"
PKGDIR="/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-i --chown=portage:portage"
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="/gentoo/tmp"
SHELL="/bin/bash"
USE="X a52 aac aacs accel accessibility acoustid acpi activities addressbook aesicm aften aio all-plugins alsa amd64 amdgpu amr amrenc animgif ao aom apparmor appindicator appstream archive armadillo assistant atm audit auto-completion autoipd autotype avdevice bash-completion bcmath blas bluetooth bluray bmp boost bpf branding brotli browser btrfs bullet bzip2 cacert cairo calendar caps capstone cdda cddb cdinstall cdio cdparanoia cdr cet cgi charts cheats chm chromaprint chrome chromecast chromium clamapp clamav clamdtop clamonacc clang client clippy clockdiff codec2 collada colordiff compositor concurrent contactnotes context contrib corefonts cron crypt cryptsetup csc cscope css ctype cups curl custom-optimization cuvid cxx cycles data datavis dav1d dbus debug-frame declarative default-stack-clash-protection default-znow delayacct designer desktop device-mapper dga dhcp dia discid discouraged discover discovery distancefieldgenerator distinct-l djvu dmraid dns dns-over-tls docker docstrings dos dot double-precision dracut drafts dri drm dropbox dts dv dvd dvdnav dvdr dvi ebook echo-cancel egl eglfs eigen elf elfutils embedded emf enca encode epoll epub equalizer eselect-ldso ethernet evdev excel exegesis exif extensions extra extra-cardsets extra-ciphers extraengine faac faad facedetect faillog fancy farstream fastboot fastcgi fat fax fbcon fcgi fdk ffmpeg fftw fido2 filter finger fingerprint fingerprints firewalld flac flatfile flatpak flickr flint fluidsynth fontconfig fontforge fortune fpx freedoom frei0r ftp fullscreen fuse games gd gdal gdbm gdml geckodriver gegl gentoo-dev geoclue geoip geolocation geos ggi gif gimp git gkrellm glade gles gles2 glib glide glut gme gml gmp gmttria gnome-online-accounts gnomecanvas gnuplot gnutls go gog google googledrive gopher gpg gpgme gphoto2 gpm grammar graph graphics graphite graphviz grass groupwise grub gsf gsl gsm gstreamer gtk gtk3 gts gui guile gusb gzip gzip-el handbook haptic hardlink harfbuzz hbci hddtemp hdf hdf5 hdri heif help hex highlight history hpijs hscolour html htmlreport http http2 hugepages humanities hunspell hwloc iconv icu id3tag idn ignore-case image imagemagick imagequant imaging imap imlib importd infinality inifile inkjar innodb-lz4 innodb-lzo innodb-snappy inotify inputs inspector int64 introspection io-uring iostats iproute2 iptables ipv6 ipython iwd jai javascript jbig jit jmf john jpeg jpeg2k jpegxl json jumbo-build junction kde kdecards keeshare kernel-install kpathsea kwallet ladspa lame lapack lapacke large-stack lasi lastfm layers lcms legacy-systray lensfun libass libburn libcerf libdrm libffi libfuzzer libglvnd liblockfile libmpv libnotify libpfm libplacebo libssh2 libtirpc libtraceevent libtracefs libuv libv4l libvirt libvirtd libwww libxml2 liftoff lights live llvm lm-sensors lmdb localstorage location lock log log4j logger logitech logrotate logviewer logwatch lqr lsp lspclient lua lua-cairo lua-imlib lua-rsvg luatex lv2 lvm lyrics lz4 lzip lzma lzo mad magic magicmime magnetgenerator mail maildir man map mapimg maps marble markdown math mathml matio matplotlib matroska mbrola md5sum mdnsresponder-compat media mediaplayer mediawiki meson metadata-analysis-api metapost mhash midi mikmod mime mjpeg mmap mms mng mobi mod modpack modplug module modules-compress mono moodbar mopac7 mount mp3 mp4 mpc mpeg mpfr mplayer mpqc mpris ms mtp multiarch multilib multimedia multiprocess multiuser musepack music musicbrainz mysqli nano-syntax nbconvert ncat ncurses net nethack netpbm network network-cron networking networkmanager nfs nfsdcld nfsv4 nfsv41 nftables nginx nistbeacon nls nntp nocd non-free notebook notifications nowlistening nping nsplugin nss nsscache ntfs ntfsprogs ntp ntpviz numpy nvme nvtt oauth ocamlopt ocr octave odbcmanual odf offensive offlinehelp offload ofx ogg okular ompt opds opencl opencv opendocument openexr opengl openimageio openinventor openmp openssl optimization opus orc origin osc osdmenu osgapps osmesa otr ots overlay pam pango parcheck parse-clocks parted pci pcntl pcp pcre pcre16 pcre32 pdf pdfimport pdfium pdl2 pdo perfscripts pgplot physfs pim pipe pipewire pipewire-alsa pixeltool pkcs11 pkcs7 plasma plotutils plugins png pnm policykit pop portage portmon positioning posix postfix postproc postscript ppds pptx printsupport profiler proj projectm proprietary-codecs psf psl pstricks pthread publishers pulseaudio putsurface pvr pyside2 python q16 q32 q8 qalculate qd qemu qhull qml qmlls qrcode qt qt5 qt6 qt6-imageformats qtattributionsscanner qtaudio qtcamera qtdiag qtegrity qthelp qtkeychain qtmedia qtplugininfo quesoglc quick quota radio rar raw rcs readline redland regex remix remote rendering reports reviewboard rfc3779 rle rogue romio root rpc rpm rrdcgi rrdtool rss rsync-verify rtc rtf rtmp rubberband rust rust-analyzer rust-src rustfmt samba sanitize sasl sbcl scale0tilt scanner science scotch screen-sharing screencast script scripting scripts scripttools scrypt scxml sdk sdl sdl-image sdlgfx seafile seccomp secure-delete security-key semantic-desktop sensord sensors server setproctitle setup sftp sha512 shaderc shaders shadertools shadow share sharedmem shm shorten sid sift sigsegv skins skydrive smime smp smpeg sms snappy sndfile soap sockets socks solver songs sound soup sourceview sox spamassassin sparse speech speex spell sphinx spice spirv sql sqlite srt ssh ssh-agent ssl staging stars startup-notification statistics stats stream streaming subtitles subunit suid superlu svg svg2 svt-av1 swig symengine symlink synaptics syslog system-boost system-crontab system-icu system-jpeg system-libyaml system-llvm system-lua system-qemu system-seabios system-service system-sqlite systemd sysv-utils sysvipc szip t1lib taamey taglib tcl templates test-rust testbed testlib textures tga themes theora thesaurus thin threads thumbnail thunar tiff timezone tinfo tk tokenizer tomsfastmath toolbar tools tpm tracepath transcode translator trayicon truetype ttf tty-helpers twolame udev udisks udunits uefi uefi64 umfpack uml unicode unique unrar unwind upnp upower urandom urlpicpreview usb usb-monitor usbredir user-permissions utempter utils uudeview uuid v4l v4lutils vaapi vala valgrind vamp vc vcd vde vdpau vdr verify-file verify-sig vhost-net video videoeffects videofilters videos vidstab virgl virt-network virtfs virtualbox visio visualizations vkd3d vnc voice vorbis vpx vserver vte vtk vtv vulkan warmstarts wav wavpack wayland weather web webassembly webcam webchannel webengine webinterface webp webpresence webready webrtc webrtc-aec websockets widevine widgets wifi winbind wineappdb wininst winpopup wma wmf wordperfect wpg wps wxwidgets x11-backend x11extras x264 x265 xattr xcb xetex xface xforms xft xine xinerama xkb xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xnest xosd xpm xrandr xray xrender xslt xtables xtended xterm xv xvfb xvid xxhash xz youtube yubikey yuv4mpeg z3 zeroconf zimg zink zip zlib zstd" ABI_X86="64 32" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel intel8x0 intel8x0m pxa2xx-ac97 pxa2xx-soc" AMDGPU_TARGETS="gfx1032" 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 auth_digest authn_dbd authn_default authz_default dbd disk_cache ident imagemap lbmethod_bytraffic mem_cache proxy proxy_ajp proxy_balancer proxy_connect proxy_http slotmem_shm so" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF SPIRV WebAssembly X86" 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" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="aarch64 aarch64_be arm armeb i386 x86_64" RUBY_TARGETS="ruby31 ruby32 ruby33" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s net pnm" VIDEO_CARDS="amdgpu radeon radeonsi swrast virgl" 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, 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, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-7.6.6.3::gentoo was built with the following:
USE="accessibility bluetooth branding clang cups dbus googledrive gstreamer gtk kde mariadb pdfimport valgrind vulkan -base -coinmp -custom-cflags -debug -eds -firebird -java -ldap -odk -postgres -test" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version -fuse-ld=lld"
Comment 1 Erik Zeek 2024-05-13 03:12:47 UTC
It succeeded without the clang USE flag.
Comment 2 Matt Jolly gentoo-dev 2024-05-14 02:18:21 UTC
I hit this too with USE=clang and clang 18.