https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87702
--- Comment #2 from Mihail Zenkov <mihail.zenkov at gmail dot com> --- I'm not sure how to reproduce this regressions without rebuilding glibc. But I can provide prebuilded glibc for test. http://www.knk.uwebweb.com/glibc-segfault.tar.xz To reproduce just unpack and run ./test.sh. You should see: ./test.sh Regression 1 busybox ld.so libc_regression_1.so libc_regression_2.so test.sh BusyBox v1.29.3 (2018-10-18 20:28:02 BY) multi-call binary. Usage: rm [-irf] FILE... Remove (unlink) FILEs -i Always prompt before removing -f Never prompt -R,-r Recurse Segmentation fault Regression 2 busybox ld.so libc_regression_1.so libc_regression_2.so test.sh Segmentation fault