https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85442
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Can be reproduced even on x86_64-linux with CXXFLAGS='-g -O2 -D_GNU_SOURCE -gno-as-loc-support' cxx11-ios_failure-lt.s: Assembler messages: cxx11-ios_failure-lt.s: Fatal error: duplicate .debug_line sections make: *** [Makefile:766: cxx11-ios_failure.lo] Error 1 Otherwise it just creates duplicate debug info.