Expected pr24576-1 and pr24576-2 failures on Windows/MinGW

Jan Dubiec jdx@o2.pl
Mon Feb 23 12:05:20 GMT 2026


On 23.02.2026 11:10, Alan Modra wrote:
[...]
> The simplest thing to do is ignore this and tell people to put up 
> with some FAILs.  ;-)

Although it looks awful, this exactly what my patch from the original
post does. :-)


> Apart from that, not running the test on hosts> likely to have non-
> unix file systems sounds like a reasonable plan.

I dont't agree. Here comes more, and this one is IMO much more serious
because it refers to paths inside linker scripts:

[...]
/d/Works/xcomp/build-binutils-h8300-mingw/ld/../gas/as-new     -o 
tmpdir/start.o /d/Works/binutils/ld/testsuite/ld-scripts/start.s
Executing on host: sh -c 
{/d/Works/xcomp/build-binutils-h8300-mingw/ld/../gas/as-new     -o 
tmpdir/start.o /d/Works/binutils/ld/testsuite/ld-scripts/start.s 2>&1} 
/dev/null dump.tmp (timeout = 300)
spawn [open ...]
./ld-new   -L/d/Works/binutils/ld/testsuite/ld-scripts  -r 
--whole-archive -lpr33265-2 -o tmpdir/dump tmpdir/start.o
Executing on host: sh -c {./ld-new 
-L/d/Works/binutils/ld/testsuite/ld-scripts  -r --whole-archive 
-lpr33265-2 -o tmpdir/dump tmpdir/start.o  2>&1}  /dev/null dump.tmp 
(timeout = 300)
spawn [open ...]
D:\Works\xcomp\build-binutils-h8300-mingw\ld\ld-new.exe: cannot open 
linker script file 
D:/Works/binutils/ld/testsuite/ld-scripts\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\./././././/libpr33265-2.a: 
No such file or directory
failed with: <\Works\xcomp\build-binutils-h8300-mingw\ld\ld-new.exe: 
cannot open linker script file 
D:/Works/binutils/ld/testsuite/ld-scripts\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\./././././/libpr33265-2.a: 
No such file or directory>, expected: <.*group nested too deeply.*>
FAIL: ld-scripts/pr33265-2

/d/Works/xcomp/build-binutils-h8300-mingw/ld/../gas/as-new     -o 
tmpdir/start.o /d/Works/binutils/ld/testsuite/ld-scripts/start.s
Executing on host: sh -c 
{/d/Works/xcomp/build-binutils-h8300-mingw/ld/../gas/as-new     -o 
tmpdir/start.o /d/Works/binutils/ld/testsuite/ld-scripts/start.s 2>&1} 
/dev/null dump.tmp (timeout = 300)
spawn [open ...]
./ld-new   -L/d/Works/binutils/ld/testsuite/ld-scripts  -r 
--whole-archive -lpr33265-3a -o tmpdir/dump tmpdir/start.o
Executing on host: sh -c {./ld-new 
-L/d/Works/binutils/ld/testsuite/ld-scripts  -r --whole-archive 
-lpr33265-3a -o tmpdir/dump tmpdir/start.o  2>&1}  /dev/null dump.tmp 
(timeout = 300)
spawn [open ...]
D:\Works\xcomp\build-binutils-h8300-mingw\ld\ld-new.exe: cannot open 
linker script file 
D:/Works/binutils/ld/testsuite/ld-scripts\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\./././././/libpr33265-3b.a: 
No such file or directory
failed with: <\Works\xcomp\build-binutils-h8300-mingw\ld\ld-new.exe: 
cannot open linker script file 
D:/Works/binutils/ld/testsuite/ld-scripts\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\././././.\./././././/libpr33265-3b.a: 
No such file or directory>, expected: <.*group nested too deeply.*>
FAIL: ld-scripts/pr33265-3
[...]

Note that pr33265-1 passes.

Unfortunately, I haven't found the bug yet and I'm quite busy until 
Easter. :-(

Jan



More information about the Binutils mailing list