I did the following experiment on openSUSE Leap 15.4. I identified the files that contribute the debug info to the a.out: - /usr/lib64/crt1.o - /usr/lib64/crti.o - /usr/lib64/crtn.o - /usr/lib64/libc_nonshared.a (more specifically, elf-init.oS) I confirmed that these are all in glibc-devel. I stripped these (the 3 .o files and the .a file) using: ... $ sudo strip --strip-debug $f ... I confirmed that the a.out no longer has debug info. Then I ran the gdb test suite. Clean results.