Bug 29487 - all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)
Summary: all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)
Status: RESOLVED WORKSFORME
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.39
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-14 15:58 UTC by Andreas K. Huettel
Modified: 2022-08-15 00:38 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Huettel 2022-08-14 15:58:18 UTC
Gentoo Linux, installed: gcc 11.3, binutils 2.38; building binutils 2.39

Running /tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/gas.exp ...
FAIL: .equ redefinitions (3)
[...]

                === gas Summary ===

# of expected passes            1603
# of unexpected failures        1
# of unsupported tests          1
/tmp/portage/sys-devel/binutils-2.39/work/build/gas/as-new 2.39.0


From the log:

PASS: .equ redefinitions (2)
../as-new     -o tmpdir/redef3.o /tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/redef3.s
Executing on host: sh -c {../as-new     -o tmpdir/redef3.o /tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/redef3.s 2>&1}  /dev/null dump.t
mp (timeout = 300)
spawn [open ...]
/tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite/../../binutils/objdump  -rsj .data tmpdir/redef3.o > tmpdir/dump.out
Executing on host: sh -c {/tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite/../../binutils/objdump  -rsj .data tmpdir/redef3.o > tmpdir/dump.out 2>dump.tmp} 
 /dev/null  (timeout = 300)
spawn [open ...]
exited abnormally with 1, output:/tmp/portage/sys-devel/binutils-2.39/work/build/binutils/.libs/objdump: error while loading shared libraries: /tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so: file too short

FAIL: .equ redefinitions (3)


huettel@noumea /tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite $ ls -la /tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so
-rwxr-xr-x 1 huettel huettel 1242864 15. Aug 00:45 /tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so
Comment 1 Alan Modra 2022-08-15 00:38:01 UTC
> opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so: file too short

That's an error from ld.so.  I think that says you have a problem in your file system, or you are somehow re-building libopcodes at the same time as using it.  objdump is run for other tests before this one, so why didn't it fail loading libopcodes.so on other tests?