Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712150 - sys-devel/binutils-2.33.1-r1 fails tests
Summary: sys-devel/binutils-2.33.1-r1 fails tests
Status: RESOLVED OBSOLETE
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: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-03-11 15:03 UTC by Paolo Pedroni
Modified: 2020-07-31 14:52 UTC (History)
1 user (show)

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


Attachments
binutils-2.33.1-r1:20200311-110442.log.gz (binutils-2.33.1-r1:20200311-110442.log.gz,191.63 KB, application/gzip)
2020-03-11 15:03 UTC, Paolo Pedroni
Details
the build log of failed ARMv7 attempt (500428-binutils-test-build.log.xz,60.99 KB, application/x-xz)
2020-04-28 21:18 UTC, Nedko Arnaudov
Details
the emerge --info of failed ARMv7 attempt (500428-binutils-test-emerge-info.txt,5.81 KB, text/plain)
2020-04-28 21:19 UTC, Nedko Arnaudov
Details
the emerge -pqv of failed ARMv7 attempt (500428-binutils-test-emerge-pqv.txt,121 bytes, text/plain)
2020-04-28 21:19 UTC, Nedko Arnaudov
Details
the environment of failed ARMv7 attempt (500428-binutils-test-environment.txt,74.43 KB, text/plain)
2020-04-28 21:20 UTC, Nedko Arnaudov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2020-03-11 15:03:32 UTC
Created attachment 617970 [details]
binutils-2.33.1-r1:20200311-110442.log.gz

[...]
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/sec-to-seg.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/sec64k.exp ...
FAIL: ld-elf/64ksec-r
FAIL: ld-elf/64ksec
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/shared.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/tls.exp ...
[...]
`echo x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite -I..  -I/
var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-
2.33.1/gold/testsuite/.. -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite/../../include -I/var/tmp/portage/s
ys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite/../../elfcpp -I.. -DLOCALEDIR="\"/usr/share/binutils-data/x86_64-pc-linux-gnu/2
.33.1/locale\""   -W -Wall    -Wstack-usage=262144 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -O2 -pipe -frecord-gcc-switches
 -march=amdfam10 | sed -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir\/\2/' -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -c -o alt/thin_archive_test_2.o 
/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite/thin_archive_test_2.cc
`echo x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite -I..  -I/
var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-
2.33.1/gold/testsuite/.. -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite/../../include -I/var/tmp/portage/s
ys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsuite/../../elfcpp -I.. -DLOCALEDIR="\"/usr/share/binutils-data/x86_64-pc-linux-gnu/2
.33.1/locale\""   -W -Wall    -Wstack-usage=262144 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -O2 -pipe -frecord-gcc-switches
 -march=amdfam10 | sed -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir\/\2/' -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -MT thin_archive_test_3.o -MD -M
P -MF .deps/thin_archive_test_3.Tpo -c -o thin_archive_test_3.o /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/gold/testsui
te/thin_archive_test_3.cc
FAIL: gnu-debuglink (objdump 1)
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/binutils/testsuite/binutils-all/cxxfilt.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/binutils/testsuite/binutils-all/dlltool.exp ...
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/binutils/testsuite/binutils-all/elfedit.exp ...
[...]
PASS: bootstrap-test-r
PASS: bootstrap-test-treehash-chunksize
============================================================================
Testsuite summary for gold 0.1
============================================================================
# TOTAL: 4
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/gold'
make[4]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/gold'
make[3]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/gold'
make[2]: *** [Makefile:1156: check-recursive] Error 1
make[2]: Target 'check' not remade because of errors.
make[2]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/gold'
make[1]: *** [Makefile:6136: check-gold] Error 2
FAIL: Run pr24406-1
[...]
                === ld Summary ===

# of expected passes            2403
# of unexpected failures        3
# of expected failures          57
# of untested testcases         1
# of unsupported tests          39
/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/ld-new 2.33.1

make[5]: *** [Makefile:2559: check-DEJAGNU] Error 1
make[5]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld'
make[4]: *** [Makefile:1893: check-am] Error 2
make[4]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld'
make[3]: *** [Makefile:1762: check-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld'
make[2]: *** [Makefile:1895: check] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld'
make[1]: *** [Makefile:7549: check-ld] Error 2
make[1]: Target 'check-host' not remade because of errors.
make[1]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build'
make: *** [Makefile:2206: do-check] Error 2
make: Target 'check' not remade because of errors.

# emerge --info =sys-devel/binutils-2.33.1-r1
Portage 2.3.89 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop, gcc-9.2.0, glibc-2.29-r7, 5.4.24-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.24-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.6
KiB Mem:    12254644 total,   4574268 free
KiB Swap:    8351740 total,   8343536 free
Timestamp of repository gentoo: Wed, 11 Mar 2020 06:45:01 +0000
Head commit of repository gentoo: 797388f33ffb34b32c2d7e70efd58b00093e4cdc
sh dash 0.5.9.1-r3
ld GNU gold (Gentoo 2.33.1 p2 2.33.1) 1.16
distcc 3.3.3 x86_64-pc-linux-gnu [enabled]
ccache version 3.7.7 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.7.7::gentoo
dev-util/ccache:          3.7.7::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=5"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=5"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -frecord-gcc-switches -march=amdfam10 -flto=5"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup compress-build-logs config-protect-if-modified distcc distlocks ebuild-locks ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=5"
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ https://mirrors.evowise.com/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -flto=5"
LINGUAS="it it_IT"
MAKEOPTS="-j12 -l4"
PKGDIR="/usr/portage/packages"
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"
USE="3dnow X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit crypt css cups curl cxx dbus dga djvu dri dts dvd dvdr emboss encode exif expat fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm gif gmp gnutls gpm graphviz gtk iconv icu idn ieee1394 imagemagick imlib inotify introspection ipv6 java jbig jemalloc jpeg jpeg2k kde lame lcms libass libnotify libsamplerate libtirpc lm_sensors lua lzma lzo mad mmap mng mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl nsplugin offensive ogg openal opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio qt5 rdesktop readline samba sctp sdl seccomp sndfile speex spell split-usr sqlite ssl startup-notification svg symlink syslog systemd taglib test theora threads tiff truetype udev udisks unicode upower usb vaapi vala vdpau vim-syntax vorbis wavpack wayland win32codecs wmf wxwidgets x264 xattr xcb xcomposite xine xinerama xml xpm xscreensaver xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel virmidi" 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" CAMERAS="kodak ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" 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="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

sys-devel/binutils-2.33.1-r1::gentoo was built with the following:
USE="default-gold gold multitarget nls plugins -doc -static-libs -test" ABI_X86="(64)"
CFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10"
CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10"
FEATURES="binpkg-dostrip sandbox binpkg-logs unmerge-orphans protect-owned preserve-libs cgroup strict parallel-fetch userpriv split-log usersync userfetch multilib-strict usersandbox split-elog ipc-sandbox distcc ebuild-locks unmerge-logs compress-build-logs network-sandbox assume-digests sfperms merge-sync pid-sandbox unknown-features-warn binpkg-docompress distlocks config-protect-if-modified xattr qa-unresolved-soname-deps news"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"

# emerge -1pqv =sys-devel/binutils-2.33.1-r1
[ebuild   R   ] sys-devel/binutils-2.33.1-r1  USE="default-gold gold multitarget nls plugins test* -doc -static-libs"
Comment 1 Nedko Arnaudov 2020-04-28 21:01:39 UTC
Building sys-devel/binutils-2.33.1-r1 with sys-devel/gcc-9.3.0 fails on ARMv7
Comment 2 Nedko Arnaudov 2020-04-28 21:18:14 UTC
Created attachment 635100 [details]
the build log of failed ARMv7 attempt
Comment 3 Nedko Arnaudov 2020-04-28 21:19:04 UTC
Created attachment 635102 [details]
the emerge --info of failed ARMv7 attempt
Comment 4 Nedko Arnaudov 2020-04-28 21:19:40 UTC
Created attachment 635104 [details]
the emerge -pqv of failed ARMv7 attempt
Comment 5 Nedko Arnaudov 2020-04-28 21:20:08 UTC
Created attachment 635106 [details]
the environment of failed ARMv7 attempt
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-04 07:01:31 UTC
Relevant test failures are at least:

  $ xzcat Downloads/500428-binutils-test-build.log.xz  | fgrep FAIL
  FAIL: ld-elf/64ksec-r
  FAIL: ld-elf/64ksec
  FAIL: Run pr24406-1

Can you extract relevant test logs?

They are probably in .../work/build/ld/ld.log.

It should look like:

"""
Running .../ld/testsuite/ld-elf/sec64k.exp ...
...
FAIL: ld-elf/64ksec-r
"""
Comment 7 Paolo Pedroni 2020-05-04 11:03:54 UTC
FAIL: ld-elf/64ksec-r
/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new    -o tmpdir/sec64-0.o /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s
Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new    -o tmpdir/sec64-0.o /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for reading: No such file or directory
Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for reading: No such file or directory

failed with: <Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for reading: No such file or directory
>
FAIL: ld-elf/64ksec
testcase /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/sec64k.exp completed in 1 seconds
Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/shared.exp ...
/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new   -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf   -o tmpdir/pr22471a.o  /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/pr22471a.s
Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new   -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf   -o tmpdir/pr22471a.o  /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/pr22471a.s 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/ld-new  --hash-style=sysv --no-warn-shared-textrel  -o tmpdir/pr22471a.so -z norelro -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf  -shared tmpdir/pr22471a.o 
Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/ld-new  --hash-style=sysv --no-warn-shared-textrel  -o tmpdir/pr22471a.so -z norelro -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf  -shared tmpdir/pr22471a.o  2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
[...]
FAIL: Run pr24406-1
x86_64-pc-linux-gnu-gcc  -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -g -O2 -pipe -frecord-gcc-switches -march=amdfam10   -c -g -O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto -O2 -c /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin/pr24406-2a.c -o tmpdir/pr24406-2a.o
Executing on host: sh -c {x86_64-pc-linux-gnu-gcc  -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -g -O2 -pipe -frecord-gcc-switches -march=amdfam10   -c -g -O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto -O2 -c /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin/pr24406-2a.c -o tmpdir/pr24406-2a.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/   -L/usr/x86_64-pc-linux-gnu/lib64 -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.164 -L/usr/local/lib64 -L/lib64 -L/usr/lib64 -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.1 -L/usr/local/lib -L/lib -L/usr/lib -Wl,--hash-style=sysv -Wl,--no-warn-shared-textrel  -o tmpdir/pr24406-2  -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr24406-2a.o tmpdir/pr24406-2b.o -Wl,--wrap=cook
Executing on host: sh -c {x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/   -L/usr/x86_64-pc-linux-gnu/lib64 -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.164 -L/usr/local/lib64 -L/lib64 -L/usr/lib64 -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.1 -L/usr/local/lib -L/lib -L/usr/lib -Wl,--hash-style=sysv -Wl,--no-warn-shared-textrel  -o tmpdir/pr24406-2  -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr24406-2a.o tmpdir/pr24406-2b.o -Wl,--wrap=cook 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
Running: tmpdir/pr24406-2 > tmpdir/pr24406-2.out
diff tmpdir/pr24406-2.out /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin/pass.out
Comment 8 Paolo Pedroni 2020-05-04 11:08:13 UTC
Whoops, sorry, discard my latest comment. I extracted the wrong log messages. Here are the correct ones:

Running /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/sec64k.exp ...
/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new    -o tmpdir/sec64-0.o /var/tmp/portage/sys-devel/binutils
-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s
Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new    -o tmpdir/sec64-0.o /var/tmp/
portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s 2>&1}  /dev/null ld.tmp (timeout = 
300)
spawn [open ...]
Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for read
ing: No such file or directory
Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for read
ing: No such file or directory

failed with: <Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for read
ing: No such file or directory
>
FAIL: ld-elf/64ksec-r
/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new    -o tmpdir/sec64-0.o /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s
Executing on host: sh -c {/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/../gas/as-new    -o tmpdir/sec64-0.o /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for reading: No such file or directory
Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for reading: No such file or directory

failed with: <Assembler messages:
Error: can't open /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/./tmpdir/sec64-0.s for reading: No such file or directory
>
FAIL: ld-elf/64ksec
testcase /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-elf/sec64k.exp completed in 1 seconds

[...]

x86_64-pc-linux-gnu-gcc  -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binut
ils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -g -O2 -pipe -frecord-gcc-switches -march=amdfam10   -c -g -O2 -pipe -frec
ord-gcc-switches -march=amdfam10 -flto -O2 -c /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plu
gin/pr24406-1.c -o tmpdir/pr24406-1.o
Executing on host: sh -c {x86_64-pc-linux-gnu-gcc  -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/ -I/var/t
mp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -g -O2 -pipe -frecord-gcc-switches -march=amdfam
10   -c -g -O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto -O2 -c /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-
2.33.1/ld/testsuite/ld-plugin/pr24406-1.c -o tmpdir/pr24406-1.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/   -L/usr/x86_64-pc-linux-gnu/lib64 
-L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.164 -L/usr/local/lib64 -L/lib64 -L/usr/lib64 -L/usr/x86_64-pc-linux-gnu/lib -L/usr/li
b64/binutils/x86_64-pc-linux-gnu/2.33.1 -L/usr/local/lib -L/lib -L/usr/lib -Wl,--hash-style=sysv -Wl,--no-warn-shared-textrel  -o tm
pdir/pr24406-1  -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr24406
-1.o -Wl,--wrap=read
Executing on host: sh -c {x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/   -L/usr/
x86_64-pc-linux-gnu/lib64 -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.164 -L/usr/local/lib64 -L/lib64 -L/usr/lib64 -L/usr/x86_64-
pc-linux-gnu/lib -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.1 -L/usr/local/lib -L/lib -L/usr/lib -Wl,--hash-style=sysv -Wl,--no-
warn-shared-textrel  -o tmpdir/pr24406-1  -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugi
n -O2 -flto tmpdir/pr24406-1.o -Wl,--wrap=read 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
In function 'read',
    inlined from 'main' at /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin/pr24406-1.c:15:
11:
/usr/include/bits/unistd.h:42:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length 
than size of the destination buffer [-Wattribute-warning]
   42 |  return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf));
      |         ^
In function 'read',
    inlined from 'main' at /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin/pr24406-1.c:15:
11:
/usr/include/bits/unistd.h:42:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length 
than size of the destination buffer [-Wattribute-warning]
   42 |  return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf));
      |         ^
FAIL: Run pr24406-1x86_64-pc-linux-gnu-gcc  -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binut
ils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -g -O2 -pipe -frecord-gcc-switches -march=amdfam10   -c -g -O2 -pipe -frec
ord-gcc-switches -march=amdfam10 -flto -O2 -c /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plu
gin/pr24406-1.c -o tmpdir/pr24406-1.o
Executing on host: sh -c {x86_64-pc-linux-gnu-gcc  -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/ -I/var/t
mp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -g -O2 -pipe -frecord-gcc-switches -march=amdfam
10   -c -g -O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto -O2 -c /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-
2.33.1/ld/testsuite/ld-plugin/pr24406-1.c -o tmpdir/pr24406-1.o 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/   -L/usr/x86_64-pc-linux-gnu/lib64 
-L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.164 -L/usr/local/lib64 -L/lib64 -L/usr/lib64 -L/usr/x86_64-pc-linux-gnu/lib -L/usr/li
b64/binutils/x86_64-pc-linux-gnu/2.33.1 -L/usr/local/lib -L/lib -L/usr/lib -Wl,--hash-style=sysv -Wl,--no-warn-shared-textrel  -o tm
pdir/pr24406-1  -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin -O2 -flto tmpdir/pr24406
-1.o -Wl,--wrap=read
Executing on host: sh -c {x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/build/ld/tmpdir/ld/   -L/usr/
x86_64-pc-linux-gnu/lib64 -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.164 -L/usr/local/lib64 -L/lib64 -L/usr/lib64 -L/usr/x86_64-
pc-linux-gnu/lib -L/usr/lib64/binutils/x86_64-pc-linux-gnu/2.33.1 -L/usr/local/lib -L/lib -L/usr/lib -Wl,--hash-style=sysv -Wl,--no-
warn-shared-textrel  -o tmpdir/pr24406-1  -L/var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugi
n -O2 -flto tmpdir/pr24406-1.o -Wl,--wrap=read 2>&1}  /dev/null ld.tmp (timeout = 300)
spawn [open ...]
In function 'read',
    inlined from 'main' at /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin/pr24406-1.c:15:
11:
/usr/include/bits/unistd.h:42:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length 
than size of the destination buffer [-Wattribute-warning]
   42 |  return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf));
      |         ^
In function 'read',
    inlined from 'main' at /var/tmp/portage/sys-devel/binutils-2.33.1-r1/work/binutils-2.33.1/ld/testsuite/ld-plugin/pr24406-1.c:15:
11:
/usr/include/bits/unistd.h:42:9: warning: call to '__read_chk_warn' declared with attribute warning: read called with bigger length 
than size of the destination buffer [-Wattribute-warning]
   42 |  return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf));
      |         ^
FAIL: Run pr24406-1
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2020-07-31 14:52:42 UTC
These should be fixed by now. Please try 2.34.