Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904738 - dev-ml/dose3-7.0.0: internal compiler error: in ix86_print_operand_address_as, at config/i386/i386.cc:13872
Summary: dev-ml/dose3-7.0.0: internal compiler error: in ix86_print_operand_address_as...
Status: RESOLVED DUPLICATE of bug 900519
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-21 07:41 UTC by Haxk20
Modified: 2023-04-21 08:00 UTC (History)
0 users

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


Attachments
Dose3 build log (dose3_build.log,37.13 KB, text/x-log)
2023-04-21 07:44 UTC, Haxk20
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haxk20 2023-04-21 07:41:40 UTC
After todays update ended abruptly i tracked down the issue down to dose3 which fails to build with internal compiler error. Im attaching full build log and as well emerge --info

Reproducible: Always

Steps to Reproduce:
1. build dose3
Actual Results:  
Fails to build with internal compiler error.

Expected Results:  
Should build just fine

Portage 3.0.46 (python 3.10.11-final-0, default/linux/amd64/17.1/systemd/merged-usr, gcc-12, glibc-2.37-r2, 6.3.0-rc5-next-20230406-x86_64 x86_64)
=================================================================
System uname: Linux-6.3.0-rc5-next-20230406-x86_64-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.37
KiB Mem:    16297168 total,   1411540 free
KiB Swap:   33554428 total,  24701112 free
Timestamp of repository gentoo: Thu, 20 Apr 2023 17:00:01 +0000
Head commit of repository gentoo: fe36384367b41e4035bae6ade404710a9520dcdd
Timestamp of repository booboo: Fri, 07 Apr 2023 16:01:58 +0000
Head commit of repository booboo: 95007428cae464addffbc6bd4679bc14750555e6

Timestamp of repository dlang: Fri, 07 Apr 2023 16:01:58 +0000
Head commit of repository dlang: 43685d87687546d4d96956116dc974ec034c5190

Timestamp of repository farmboy0: Sat, 15 Apr 2023 22:01:49 +0000
Head commit of repository farmboy0: 9ce8c085912aa6f0552362d98e4e604e3086f57a

Timestamp of repository gentoo-zh: Thu, 20 Apr 2023 15:01:49 +0000
Head commit of repository gentoo-zh: dbb941e0abaaf810a99e21d296aa926b57a05708

Timestamp of repository guru: Thu, 20 Apr 2023 04:46:51 +0000
Head commit of repository guru: 38b6d1ca3104ebf94e3c610a70d14e8014e312b4

Timestamp of repository lto-overlay: Sun, 26 Mar 2023 11:49:11 +0000
Head commit of repository lto-overlay: 229a78681565a36c4484b13f568fc946677ee383

Timestamp of repository mv: Tue, 18 Apr 2023 00:46:55 +0000
Head commit of repository mv: f3b5f1b23dd4d757cb80ec57645b65257b4a6d8f

Timestamp of repository nest: Mon, 17 Apr 2023 21:36:23 +0000
Head commit of repository nest: aa75ec9157b5c7420f30976a66da63ace6b2286f

Timestamp of repository pf4public: Thu, 20 Apr 2023 09:16:53 +0000
Head commit of repository pf4public: 5cc9815b14c2d618b1a851cc9cb8d3ff92e29226

Timestamp of repository steam-overlay: Sun, 02 Apr 2023 01:01:55 +0000
Head commit of repository steam-overlay: d24ddd3db84f894a52a2fdfd55a26ca822420081

Timestamp of repository stha09: Wed, 05 Apr 2023 08:17:42 +0000
Head commit of repository stha09: a5f2e43e9b895dce26fd32ba0a033e4a661f3f15

Timestamp of repository trolltoo: Wed, 05 Apr 2023 08:17:38 +0000
Head commit of repository trolltoo: 5ab55d6be68476c9a335381c51d734733e373e57

Timestamp of repository vowstar: Thu, 20 Apr 2023 04:16:50 +0000
Head commit of repository vowstar: afae27e86c287c9f6155238279888e9746f34fc8

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.8 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.9.16_p3::gentoo, 3.10.11::gentoo, 3.11.3::gentoo
dev-lang/rust:             1.68.2::gentoo
dev-util/ccache:           4.8::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.3::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           11.1.0::gentoo, 14.0.6-r1::gentoo, 15.0.7-r1::gentoo, 16.0.1::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.1::gentoo
sys-devel/llvm:            11.1.0::gentoo, 14.0.6-r2::gentoo, 15.0.7::gentoo, 16.0.2::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r2::gentoo
sys-libs/libselinux:       3.5::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-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

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

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

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

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

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

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

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

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

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

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

portage-crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo mv dlang booboo
    volatile: True

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

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

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

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

cross-arm-none-eabi
    location: /var/db/repos/cross-arm-none-eabi
    masters: gentoo
    priority: 10
    volatile: False

crossdev
    location: /var/db/repos/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: False

Installed sets: @esteam, @openwrt-prerequisites
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -mtune=znver2 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=12 -fuse-linker-plugin -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf /usr/share/maven-bin-3.9/conf"
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.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=znver2 -mtune=znver2 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=12 -fuse-linker-plugin -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 -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 multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ http://mirror.wheel.sk/gentoo ftp://tux.rainside.sk/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
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/zsh"
USE="X a52 aac aalib accessibility acl acpi addc aiglx aim alsa amd64 artswrappersuid audiofile avahi avcodec avformat avx avx2 bash-completion bidi bluetooth bluray boost bs2b bzip2 cairo calf caps cdda cddb cdr chromium cjk cli contrib contrib_dnn cpudetection crypt cube cups curl d3d9 dbus device-mapper dga dhclient djbfft dnn_samples dri dri3 dts dv dvb dvi dxva dxva2 eds egl examples fame fat ffmpeg firefox flac foomatic-db fortran freerdp freetype g3dvl gcj gdbm gif gimpprint git glamor gles2 gmp gnome gnutls gpg gphoto2 gsm gstreamer gtk hal hfs hvm iconv icq icu ieee1394 imap inotify introspection ipv6 irc irda jabber jack jfs joystick jpeg2k json kdeenablefinal kdehiddenvisibility kerberos keymap lame lcd ldap libdrm libglvnd libnotify libtirpc live llvm lm_sensors logind lsp lto lv2 lzma lzo mail matroska mda-lv2 mjpeg mmx mozdevelop mp3 mp3rtp msn mtp multilib musepack musicbrainz native-backend ncurses network networkmanager nfsv4 nfsv41 nls nptl nsplugin ntfs numa obex obj-gc ogg openal opencl opencv openexr opengl openh264 openmp openvg ovmf ozone ozone-wayland pam pango pcmcia pcre pda perl plymouth png policykit ppds pulseaudio python qemu qt3support qt5 rar rdesktop rdp readline real reiserfs rss rubberband sasl scanner screencast sdl seccomp speex spice ssl startup-notification stream subversion svg svn sysfs systemd tesseract test-rust testprograms theora tiff tinfo tk tracker truetype udev unicode usb v4l v4l2 vaapi vdpau virgl visualization vulkan vulkaninfo wayland webgl widgets wifi win32codecs wmf x264 x265 xa xattr xcb xfs xine xinerama xpm xprint xtables xulrunner xv xvid xvmc xwayland yahoo zeroconf zink zlib" 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 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 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 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF X86 WebAssembly" 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_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="alpha aarch64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 s390x sh4 sh4eb sparc sparc64 x86_64 riscv64 riscv32" QEMU_USER_TARGETS="alpha aarch64 arm armeb i386 m68k mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 riscv64 riscv32" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeonsi amdgpu" 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Haxk20 2023-04-21 07:44:06 UTC
Created attachment 860463 [details]
Dose3 build log
Comment 2 Haxk20 2023-04-21 07:44:33 UTC
This may also be in some case related to https://bugs.gentoo.org/900905 but i dont know how.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-21 07:46:10 UTC
See bug 900519. This is unfortunately probably "the LTO bitcode thing" where some commit changes internal representation enough that the bitcode is incompatible when loaded into a newer GCC.

You can use lto-rebuild from the LTO overlay which you seem to be using, or just manually rebuild all the static libraries being linked here.

Ultimately, we need to strip LTO bitcode from static libraries to stop this happening.

*** This bug has been marked as a duplicate of bug 900519 ***
Comment 4 Haxk20 2023-04-21 07:57:38 UTC
Gotcha. Thanks Sam :)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-21 08:00:28 UTC
(In reply to Haxk20 from comment #4)
> Gotcha. Thanks Sam :)

No worries! Please do report any ICEs you hit, we do want to know about them, this one is just a really annoying recurring thing that we need to deal with differently.

I'll look into it soon.