[PATCH] ld: Run clang tests only if supported

H.J. Lu hjl.tools@gmail.com
Fri Aug 28 08:11:20 GMT 2026


Since Clang doesn't support all GCC options, PR ld/34570 tests fail to
compile if GCC specific options are used to build binutils.  Add
llvm_lto_tests to lto.exp and don't run PR ld/34576 tests if Clang fails
to compile them.

PR ld/34576
* testsuite/ld-plugin/lto.exp (llvm_lto_tests): New.
Use it.

--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ld-Run-clang-tests-only-if-supported.patch
Type: text/x-patch
Size: 2279 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20260828/370087f7/attachment.bin>


More information about the Binutils mailing list