https://sourceware.org/bugzilla/show_bug.cgi?id=27259
--- Comment #3 from Fangrui Song <i at maskray dot me> --- Thanks for the patch. The infinite loop has been fixed. The remaining issue is that: .text.foo & its associated __llvm_prf_cnts & __llvm_prf_data cannot be GC'ed. % ld-new a.o --print-gc-sections --gc-sections # no output Clang has now -fbinutils-version= . If this is back ported to 2.36, I'd suggest that patch to use -fbinutils-version=2.37 . If this is back ported, I'll suggest =2.36. -- You are receiving this mail because: You are on the CC list for the bug.