https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-text/llpp-33 fails to compile (lto). Discovered on: amd64 (internal ref: lto_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 788597 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Warning 70 [missing-mli]: Cannot find interface file. link.c:987:27: error: invalid operands to binary >= (have ‘fz_location’ and ‘int’)
I'm not 100% sure that it is an lto fault. After if you dig into it, please remove the blocker bug if you think this has nothing to do with lto. Thanks
It isn't LTO – looks like the fz_location type has changed from an int to a struct of two ints in app-text/mupdf-1.20.0 which is now stable.
I have the same issue.
Created attachment 799517 [details] build log build log
``` backup ~ # emerge --info Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1, gcc-12.1.1, glibc-2.35-r8, 5.19.0-gentoo x86_64) ================================================================= System uname: Linux-5.19.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1241_v3_@_3.50GHz-with-glibc2.35 KiB Mem: 16296800 total, 861528 free KiB Swap: 33554428 total, 33552364 free Timestamp of repository gentoo: Sat, 13 Aug 2022 17:15:01 +0000 Head commit of repository gentoo: 27228226e11fba6757c3a09fe4af1f777744f533 sh bash 5.1_p16-r1 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 distcc[1846] (dcc_trace_version) distcc 3.4 x86_64-pc-linux-gnu; built Jul 2 2022 12:43:19 [disabled] app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16-r1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 2.7.18_p15::gentoo, 3.9.13::gentoo, 3.10.5::gentoo dev-lang/rust: 1.62.1::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.62.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo, 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo, 14.0.6-r1::gentoo sys-devel/gcc: 11.3.0::gentoo, 12.1.1_p20220625::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 13.0.1::gentoo, 14.0.6-r2::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: --exclude ChangeLog* sync-rsync-verify-metamanifest: yes crossdev location: /var/db/repos/crossdev-aarch64 masters: gentoo priority: 10 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core-avx2 " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=core-avx2 " DISTDIR="/var/cache/distfiles/" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=2" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.aliyun.com/gentoo/ http://gentoo.gossamerhost.com https://mirrors.aliyun.com/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j2 -l4" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* " 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="10bit X aac acl adns aio amd64 asyncdns avahi bash-completion bcmath blake2 bzip2 cairo caps cdp cgi clang cli conntrack cron crypt curl dbus declarative dri edp elogind enca examples faac fdp fontconfig fpm fpx frontend gbm gcrypt gd gdbm git glamor glut gmp gnutls gpg gs gsm gtk harfbuzz hddtemp hdri http2 iconv infinality ipmi ipv6 jbig jpeg lcms libglvnd libnl libtirpc lto lz4 lzma minizip mp3 multilib ncurses netlink network nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nptl offensive openexr opengl openmp openssl pam pcap pcre pgo png python q32 q8 qt3support qt4 qt5 rar raw readline rpc scrypt sctp seccomp sharedmem snmp sonmp split-usr sqlite ssh ssl svg threads tiff tools truetype unbound unicode update_drivedb urandom usb vim-syntax vpx wg-quick wmf wxwidgets x264 x265 xattr xml zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="proxy 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 access_compat auth_digest http2 ident imagemap log_forensic macro proxy_fcgi ratelimit remoteip reqtimeout slotmem_shm" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="apache conntrack cpu csv df disk exec filecount interface iptables irq load logfile match_empty_counter match_regex match_value memcached memory mysql network rrdtool sensors swap syslog table tail target_notification target_replace target_scale target_set tcpconns unixsock uptime users vmem write_http" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt 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="emu gentoo_platforms_efi-32 gentoo_platforms_efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en 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-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nv nouveau vesa radeon" 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, LANG, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ```
(In reply to Jouni Kosonen from comment #4) > It isn't LTO – looks like the fz_location type has changed from an int to a > struct of two ints in app-text/mupdf-1.20.0 which is now stable. Upstream is gone (they deleted it in protest re Ukraine) so I don't really know what to do here, tbh.
They shoot horses, don't they? The homepage is 404: https://github.com/moosotc/llpp Here is an old fork: https://github.com/psii/llpp That README says: "Oh my god it's full of bugs"