Bug 27479

Summary: [testsuite] FAILs with trunk binutils
Product: dwz Reporter: Tom de Vries <vries>
Component: defaultAssignee: Nobody <nobody>
Status: RESOLVED MOVED    
Severity: normal CC: dwz
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Tom de Vries 2021-02-27 10:40:54 UTC
When running the dwz testsuite using trunk binutils, we get:
...
Running /home/vries/dwz/dwz.git/testsuite/dwz.tests/dwz-tests.exp ...
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/eu-strip-unstrip-multifile.sh
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/hardlink-multifile.sh
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/ld-2.26.1-multifile.sh
readelf: Warning: could not find separate debug file '/xxx/yyy/3'
readelf: Warning: tried: /lib/debug//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug/usr//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//home/vries/dwz/build/tmp.multifile-name.sh///xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh/.debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh//xxx/yyy/3
readelf: Warning: tried: .debug//xxx/yyy/3
readelf: Warning: tried: /xxx/yyy/3
readelf: Warning: tried: DEBUGINFOD_URLS=
readelf: Warning: could not find separate debug file '/xxx/yyy/3'
readelf: Warning: tried: /lib/debug//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug/usr//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//home/vries/dwz/build/tmp.multifile-name.sh///xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh/.debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh//xxx/yyy/3
readelf: Warning: tried: .debug//xxx/yyy/3
readelf: Warning: tried: /xxx/yyy/3
readelf: Warning: tried: DEBUGINFOD_URLS=
readelf: Warning: could not find separate debug file '/xxx/yyy/3'
readelf: Warning: tried: /lib/debug//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug/usr//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//home/vries/dwz/build/tmp.multifile-name.sh///xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh/.debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh//xxx/yyy/3
readelf: Warning: tried: .debug//xxx/yyy/3
readelf: Warning: tried: /xxx/yyy/3
readelf: Warning: tried: DEBUGINFOD_URLS=
readelf: Warning: could not find separate debug file '/xxx/yyy/3'
readelf: Warning: tried: /lib/debug//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug/usr//xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//home/vries/dwz/build/tmp.multifile-name.sh///xxx/yyy/3
readelf: Warning: tried: /usr/lib/debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh/.debug//xxx/yyy/3
readelf: Warning: tried: /home/vries/dwz/build/tmp.multifile-name.sh//xxx/yyy/3
readelf: Warning: tried: .debug//xxx/yyy/3
readelf: Warning: tried: /xxx/yyy/3
readelf: Warning: tried: DEBUGINFOD_URLS=
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/multifile-name.sh
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/multifile-relative.sh
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/multifile.sh
dwz version for-test
Copyright (C) 2001-2021 Red Hat, Inc.
Copyright (C) 1992-2021 Free Software Foundation, Inc.
Copyright (C) 2019-2021 SUSE LLC.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
child process exited abnormally
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/odr-struct-multifile.sh
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does not exist!
FAIL: /home/vries/dwz/dwz.git/testsuite/dwz.tests/pr24170.sh
Comment 1 Tom de Vries 2021-02-27 10:41:35 UTC
(In reply to Tom de Vries from comment #0)
> When running the dwz testsuite using trunk binutils, we get:
> ...
> Running /home/vries/dwz/dwz.git/testsuite/dwz.tests/dwz-tests.exp ...
> readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does
> not exist!
> readelf: Warning: Section '.gnu_debugaltlink' was not dumped because it does
> not exist!

Filed at PR binutils/27478 .
Comment 3 Tom de Vries 2021-03-04 16:02:54 UTC
Fixed at PR binutils/27478