https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79168
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 40564 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40564&action=edit gcc7-pr79168.patch Does the attached untested patch help? All I've noticed is that on some files the 2nd and 3rd line from compiler-rt original has been removed during the merge when it shouldn't, and in case ot tsan_rtl_aarch64.S it ate the .section .bss directive.