http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47966
--- Comment #7 from Dainis Jonitis <jonitis at gmail dot com> 2011-03-03 15:44:04 UTC --- Everything works fine in Ubuntu GDB, because the Assembler (2.20.1) is smart enough to ignore wrong debug symbols and still generate correct object file with correct addresses in stabs that match symbol table addresses. It fails on our system because we use prehistoric assembler 1.92.3 that is confused by wrong debug symbols and produces the wrong stab addresses in object file.