[PATCH v2] ld: Properly override compiler flags in tests

Sam James sam@gentoo.org
Sat Aug 16 23:54:08 GMT 2025


"H.J. Lu" <hjl.tools@gmail.com> writes:

> Some tests need to be compiled with additional flags.  When binutils is
> built and compiled with
>
> CC="gcc -fsanitize=address,undefined" CXX="g++ -fsanitize=address,undefined"

Thanks. This gives me many more PASSes and no new FAIls. I'll look at
the other FAILs and needed sprinking of NOSANITIZE* at some point.

diffs of .log look reasonable as well.


More information about the Binutils mailing list