]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld, testsuite, ctf: really test -gctf even if the compiler warns
authorNick Alcock <nick.alcock@oracle.com>
Tue, 11 Feb 2025 15:33:51 +0000 (15:33 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Thu, 30 Oct 2025 14:24:59 +0000 (14:24 +0000)
commit080652d025ef14b27642c59bf258585f3bf16844
treea916973435e448d2a1ea3b13a83a0c160dda4288
parent6b24677ccaf0dd9f01a9b46f52b46dc19de4ff0f
ld, testsuite, ctf: really test -gctf even if the compiler warns

Commit a12c988767e5bd6b6a15dd6ca5e3b277f5627c64 endeavoured to
improve the CTF-availability test by having it try to create
CTF even if the compiler appears not to be working, checking
for the presence of likely-valid generated assembler instead.

Unfortunately this commit didn't remove the actual call to
check_compiler_available, so it didn't really improve anything.
Remove that call to induce proper testing on platforms in which
the compiler emits warnings.

ld/
* testsuite/lib/ld-lib.exp (check_ctf_available): Don't
require a working compiler before testing.
ld/testsuite/lib/ld-lib.exp