[PATCH] ld: Fix a H8/300 specific test case

Jan Dubiec jdx@o2.pl
Mon Nov 10 09:52:33 GMT 2025


On 10.11.2025 01:17, Alan Modra wrote:
[...]
 > It works here for me on Linux.
That's really strange. Here is the log from my Ubuntu 24.04.2 running on 
VirtualBox:

/mnt/Works/xcomp/build-binutils-h8300-linux/ld/../gas/as-new     -o 
tmpdir/relax-7?.o /mnt/Works/binutils/ld/testsuite/ld-h8300/relax-7?.s
Executing on host: sh -c 
{/mnt/Works/xcomp/build-binutils-h8300-linux/ld/../gas/as-new     -o 
tmpdir/relax-7?.o /mnt/Works/binutils/ld/testsuite/ld-h8300/relax-7?.s 
2>&1}  /dev/null dump.tmp (timeout = 300)
spawn [open ...]
Assembler messages:
Fatal error: can't create tmpdir/relax-7?.o: No such file or directory
failed with: <Assembler messages:
Fatal error: can't create tmpdir/relax-7?.o: No such file or directory>, 
no expected output
FAIL: H8300 Relaxation Test 7

It looks virtually the same as the log from Windows/MSYS2. I'm using 
DejaGnu 1.6.3 and bash 5.2.21, but I don't think that this is an issue 
related to these tools. Perhaps you are using a modified version of 
run_dump_test & Co? I'm using unmodified.

/J.D.



More information about the Binutils mailing list