[PATCH] tests: robustify run-strip-nothing.sh against unstripped libc_nonshared.a
Wed Aug 9 18:47:00 GMT 2017
On Tue, Aug 08, 2017 at 07:06:16PM +0300, Dmitry V. Levin wrote:
> When glibc's libc_nonshared.a contains objects with debug info,
> this debug info is leaked into every output file produced by gcc.
> Change run-strip-nothing.sh to use "gcc -s" instead of plain "gcc"
> for producing objects without debug info.
Thanks, I didn't know about gcc -s, but it is ideal for this testcase.
Committed to master with a ChangeLog entry.
More information about the Elfutils-devel