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.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
+2017-08-08 Dmitry V. Levin <ldv@altlinux.org>
+
+ * run-strip-nothing.sh: Add -s.
+
2017-07-26 Mark Wielaard <mark@klomp.org>
* dwarf-getmacros.c (mac): Use DW_MACRO names instead of DW_MACRO_GNU.
tempfiles a.out strip.out debug.out
# Create no-debug a.out.
-echo "int main() { return 1; }" | gcc -xc -
+echo "int main() { return 1; }" | gcc -s -xc -
# strip to file
testrun ${abs_top_builddir}/src/strip -g -o strip.out ||