Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900905 - sys-devel/binutils-2.40-r3: internal compiler error: in ix86_print_operand_address_as, at config/i386/i386.cc:13872
Summary: sys-devel/binutils-2.40-r3: internal compiler error: in ix86_print_operand_ad...
Status: RESOLVED DUPLICATE of bug 834720
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-12 02:25 UTC by Conrad Kostecki
Modified: 2023-03-13 20:35 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,202.38 KB, application/gzip)
2023-03-12 02:27 UTC, Conrad Kostecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2023-03-12 02:25:15 UTC
I am not sure about '-freport-bug'? Where do I set that?

libtool: relink: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/dis-buf.o .libs/disassemble.o .libs/dis-init.o .libs/arc-dis.o .libs/arc-ext.o .libs/arc-opc.o .libs/arm-dis.o .libs/avr-dis.o .libs/bfin-dis.o .libs/cgen-asm.o .libs/cgen-bitset.o .libs/cgen-dis.o .libs/cgen-opc.o .libs/cr16-dis.o .libs/cr16-opc.o .libs/cris-desc.o .libs/cris-dis.o .libs/cris-opc.o .libs/crx-dis.o .libs/crx-opc.o .libs/csky-dis.o .libs/d10v-dis.o .libs/d10v-opc.o .libs/d30v-dis.o .libs/d30v-opc.o .libs/dlx-dis.o .libs/epiphany-asm.o .libs/epiphany-desc.o .libs/epiphany-dis.o .libs/epiphany-ibld.o .libs/epiphany-opc.o .libs/fr30-asm.o .libs/fr30-desc.o .libs/fr30-dis.o .libs/fr30-ibld.o .libs/fr30-opc.o .libs/frv-asm.o .libs/frv-desc.o .libs/frv-dis.o .libs/frv-ibld.o .libs/frv-opc.o .libs/ft32-dis.o .libs/ft32-opc.o .libs/h8300-dis.o .libs/hppa-dis.o .libs/i386-dis.o .libs/ip2k-asm.o .libs/ip2k-desc.o .libs/ip2k-dis.o .libs/ip2k-ibld.o .libs/ip2k-opc.o .libs/iq2000-asm.o .libs/iq2000-desc.o .libs/iq2000-dis.o .libs/iq2000-ibld.o .libs/iq2000-opc.o .libs/lm32-asm.o .libs/lm32-desc.o .libs/lm32-dis.o .libs/lm32-ibld.o .libs/lm32-opc.o .libs/lm32-opinst.o .libs/m10200-dis.o .libs/m10200-opc.o .libs/m10300-dis.o .libs/m10300-opc.o .libs/m32c-asm.o .libs/m32c-desc.o .libs/m32c-dis.o .libs/m32c-ibld.o .libs/m32c-opc.o .libs/m32r-asm.o .libs/m32r-desc.o .libs/m32r-dis.o .libs/m32r-ibld.o .libs/m32r-opc.o .libs/m32r-opinst.o .libs/m68hc11-dis.o .libs/m68hc11-opc.o .libs/m68k-dis.o .libs/m68k-opc.o .libs/s12z-dis.o .libs/s12z-opc.o .libs/mcore-dis.o .libs/mep-asm.o .libs/mep-desc.o .libs/mep-dis.o .libs/mep-ibld.o .libs/mep-opc.o .libs/metag-dis.o .libs/microblaze-dis.o .libs/moxie-dis.o .libs/moxie-opc.o .libs/msp430-decode.o .libs/msp430-dis.o .libs/mt-asm.o .libs/mt-desc.o .libs/mt-dis.o .libs/mt-ibld.o .libs/mt-opc.o .libs/nds32-asm.o .libs/nds32-dis.o .libs/nios2-dis.o .libs/nios2-opc.o .libs/ns32k-dis.o .libs/or1k-asm.o .libs/or1k-desc.o .libs/or1k-dis.o .libs/or1k-ibld.o .libs/or1k-opc.o .libs/pdp11-dis.o .libs/pdp11-opc.o .libs/pj-dis.o .libs/pj-opc.o .libs/ppc-dis.o .libs/ppc-opc.o .libs/pru-dis.o .libs/pru-opc.o .libs/rl78-decode.o .libs/rl78-dis.o .libs/rx-decode.o .libs/rx-dis.o .libs/s390-dis.o .libs/s390-opc.o .libs/score-dis.o .libs/score7-dis.o .libs/sh-dis.o .libs/sparc-dis.o .libs/sparc-opc.o .libs/spu-dis.o .libs/spu-opc.o .libs/tic30-dis.o .libs/tic4x-dis.o .libs/tic54x-dis.o .libs/tic54x-opc.o .libs/tic6x-dis.o .libs/tilepro-dis.o .libs/tilepro-opc.o .libs/v850-dis.o .libs/v850-opc.o .libs/vax-dis.o .libs/visium-dis.o .libs/visium-opc.o .libs/wasm32-dis.o .libs/xstormy16-asm.o .libs/xstormy16-desc.o .libs/xstormy16-dis.o .libs/xstormy16-ibld.o .libs/xstormy16-opc.o .libs/xtensa-dis.o .libs/xgate-dis.o .libs/xgate-opc.o .libs/z80-dis.o .libs/z8k-dis.o .libs/aarch64-asm.o .libs/aarch64-asm-2.o .libs/aarch64-dis.o .libs/aarch64-dis-2.o .libs/aarch64-opc.o .libs/aarch64-opc-2.o .libs/alpha-dis.o .libs/alpha-opc.o .libs/bpf-asm.o .libs/bpf-desc.o .libs/bpf-dis.o .libs/bpf-ibld.o .libs/bpf-opc.o .libs/ia64-dis.o .libs/ia64-opc.o .libs/loongarch-opc.o .libs/loongarch-dis.o .libs/loongarch-coder.o .libs/mips-dis.o .libs/mips-opc.o .libs/mips16-opc.o .libs/micromips-opc.o .libs/mmix-dis.o .libs/mmix-opc.o .libs/nfp-dis.o .libs/riscv-dis.o .libs/riscv-opc.o .libs/tilegx-dis.o .libs/tilegx-opc.o   -Wl,-rpath -Wl,/usr/lib64/binutils/x86_64-pc-linux-gnu/2.40 -L/var/tmp/portage/sys-devel/binutils-2.40-r3/work/build/libsframe/.libs -Wl,--as-needed -L/var/tmp/portage/sys-devel/binutils-2.40-r3/image/usr/lib64/binutils/x86_64-pc-linux-gnu/2.40 -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.40 -lbfd -L/var/tmp/portage/sys-devel/binutils-2.40-r3/work/build/bfd/../libiberty/pic -lz -lzstd -lsframe -L/var/tmp/portage/sys-devel/binutils-2.40-r3/work/build/opcodes/../libiberty/pic -liberty  -march=native -mtune=intel -fprofile-use -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,now -Wl,-lc -Wl,--as-needed -Wl,-lm -Wl,--no-as-needed   -Wl,-soname -Wl,libopcodes-2.40.0.gentoo-sys-devel-binutils-mt.so -o .libs/libopcodes-2.40.0.gentoo-sys-devel-binutils-mt.so
/var/tmp/portage/sys-devel/binutils-2.40-r3/work/binutils-2.40/opcodes/ft32-dis.c:30:30: warning: type of 'ft32_opc_info' does not match original declaration [-Wlto-type-mismatch]
   30 | extern const ft32_opc_info_t ft32_opc_info[128];
      |                              ^
/var/tmp/portage/sys-devel/binutils-2.40-r3/work/binutils-2.40/opcodes/ft32-opc.c:25:23: note: array types have different bounds
   25 | const ft32_opc_info_t ft32_opc_info[] =
      |                       ^
/var/tmp/portage/sys-devel/binutils-2.40-r3/work/binutils-2.40/opcodes/ft32-opc.c:25:23: note: 'ft32_opc_info' was previously declared here
during RTL pass: final
/var/tmp/portage/sys-devel/binutils-2.40-r2/work/binutils-2.40/libiberty/regex.c: In function 'byte_common_op_match_null_string_p':
/var/tmp/portage/sys-devel/binutils-2.40-r2/work/binutils-2.40/libiberty/regex.c:7736:1: internal compiler error: in ix86_print_operand_address_as, at config/i386/i386.cc:13872
0x10233b0 internal_error(char const*, ...)
        ???:0
0x101a3d8 fancy_abort(char const*, int, char const*)
        ???:0
0x1503fea output_operand(rtx_def*, int)
        ???:0
0x1502c86 output_asm_insn(char const*, rtx_def**)
        ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
make[5]: *** [/var/tmp/portage/sys-devel/binutils-2.40-r3/temp/ccntsySa.mk:86: /var/tmp/portage/sys-devel/binutils-2.40-r3/temp/cckD4J0B.ltrans28.ltrans.o] Error 1
make[5]: *** Waiting for unfinished jobs....
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libopcodes.la' with the above command before installing it
make[4]: *** [Makefile:835: install-bfdlibLTLIBRARIES] Fehler 1
make[4]: Verzeichnis „/var/tmp/portage/sys-devel/binutils-2.40-r3/work/build/opcodes“ wird verlassen
make[3]: *** [Makefile:1242: install-am] Fehler 2
make[2]: *** [Makefile:1130: install-recursive] Fehler 1
make[1]: *** [Makefile:3662: install-opcodes] Fehler 2
make: *** [Makefile:2587: install] Fehler 2
 * ERROR: sys-devel/binutils-2.40-r3::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-devel/binutils-2.40-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.40-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.40-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.40-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/binutils-2.40-r3/work/build'
 * S: '/var/tmp/portage/sys-devel/binutils-2.40-r3/work/binutils-2.40'
Comment 1 Conrad Kostecki gentoo-dev 2023-03-12 02:25:26 UTC
Portage 3.0.45.2 (python 3.10.10-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.37-r1, 6.2.5-gentoo x86_64)
=================================================================
System uname: Linux-6.2.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1275_v6_@_3.80GHz-with-glibc2.37
KiB Mem:    63999392 total,  38614080 free
KiB Swap:   67633148 total,  67633148 free
Timestamp of repository gentoo: Sat, 11 Mar 2023 18:15:02 +0000
Head commit of repository gentoo: 16ddb7d5254ba3dc499c0698235dca32d2a6e014
Timestamp of repository guru: Sat, 11 Mar 2023 17:31:51 +0000
Head commit of repository guru: fa47745e886ca2482fe5bb040e5cf1568fd6ad76

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.7.4 [enabled]
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:           3.10.10_p2::gentoo, 3.11.2_p1::gentoo
dev-lang/rust:             1.67.1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.7-r1::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
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: --compress --exclude-from=/etc/portage/rsync_excludes --new-compress
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

bl4ckb0x
    location: /usr/local/portage
    masters: gentoo
    volatile: True

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini /etc/teamspeak3-server/tsdns_settings.ini /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.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php7.4/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.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php7.4/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.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="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
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="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache 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 sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/etc/grub.d /etc/systemd /etc/xinetd.d"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--sort-common -Wl,-z,now"
LEX="flex"
LINGUAS="de de_DE"
MAKEOPTS="-j9 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--compress --exclude-from=/etc/portage/rsync_excludes --new-compress"
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 aalib accessibility acl alsa amd64 bash-completion berkdb bzip2 cairo calendar caps cddb cgi cjk colord cracklib crypt cups curl cvs cxx dbus dedicated dga djvu dri dvb elogind encode exif fbcon ffmpeg fftw filecaps flac fontconfig fortran ftp gd gdbm geolocation gif git gmp gnutls gphoto2 gpm graphviz gsm gstreamer hddtemp iconv icu idn ieee1394 imap imlib inotify introspection ipv6 java javascript jbig jemalloc jit joystick jpeg jpeg2k kerberos latex lcms ldap libass libcaca libglvnd libnotify libsamplerate lm-sensors lua luajit lz4 lzma lzo magic maildir mbox mhash mikmod milter mmap modplug motif mp3 mysql mysqli ncurses nls nntp offensive ogg openal openexr opengl openmp opus orc oss pam pcre pdf perl pie png policykit posix postgres postscript pulseaudio python raw readline rtmp samba sasl scanner sdl seccomp session slang smartcard sndfile snmp soap sockets sound sox speex spell split-usr sqlite ssl startup-notification subversion suid svg symlink syslog tcl tcpd test-rust theora threads tiff truetype udev unicode upnp usb v4l vaapi vdpau verify-sig vhosts vim-syntax vnc vorbis wavpack wayland webkit webp wmf x264 xattr xcb xcomposite xface xft xinetd xml xmpp xpm xscreensaver xv xvid zeroconf zip zlib zsh-completion zstd" ABI_X86="32 64" COLLECTD_PLUGINS="apcups battery buddyinfo cgroups check_uptime connectivity conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec fhcount filecount hddtemp hugepages interface ipc ipmi iptables irq java load mcelog md memory mysql netlink nfs nginx ntpd openldap openvpn pcie_errors ping postgresql processes protocols rrdcached sensors serial smart snmp swap syslog tcpconns thermal turbostat unixsock uptime users wireless" CPU_FLAGS_X86="aes avx avx2 rdrand mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt nmea0183" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="cfontzpacket crystalfontz glcd2usb hd44780 lcd2usb" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-3 lua5-4" NGINX_MODULES_HTTP="access addition auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip geoip2 gunzip gzip gzip_static headers_more image_filter javascript limit_conn limit_req map metrics proxy realip referer rewrite secure_link sticky stub_status upload_progress upstream_keepalive vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip geoip2 javascript limit_conn map realip return ssl_preread" PHP_TARGETS="php7-4 php8-1 php8-2" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="d3d12 intel i965"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Conrad Kostecki gentoo-dev 2023-03-12 02:27:03 UTC
Created attachment 857351 [details]
build.log.gz
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-13 20:35:01 UTC
This is both a GCC bug (bug 900519) but also (and primarily) a binutils bug (bug 834720).

*** This bug has been marked as a duplicate of bug 834720 ***