[Bug debug/56783] g++ does not supply signatures for gdb on g++ 4.7 versions
redi at gcc dot gnu.org
Fri Mar 29 20:56:00 GMT 2013
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-29 20:56:29 UTC ---
(In reply to comment #4)
> Johanathan, 4.2 was NOT a typo. That was the version of g++ that came with
> Snow Leopard. It was failing. I replaced it by version 4.7 obtained from
> SourceForge, and it fails in EXACTLY the same way.
Then the problem is unlikely to be GCC. I'm fairly sure Apple's modified GCC
4.2 should work with their own OS and linker. Maybe the problem is with your
GDB version, which you haven't stated.
> Therefore, the linker must be adding the "signatures" to the linked module,
> probably by reading the object decks AND the source files. But that only seems
> to be happening with g++ 4.0.1 and associated linker. The linker with versions
> 4.2 and higher must have revised linkers that DO NOT create the "signatures".
GCC doesn't have an associated linker, it is using the Apple linker that comes
with the OS.
More information about the Gcc-bugs