This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/56783] g++ does not supply signatures for gdb on g++ 4.7 versions
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Mar 2013 20:56:29 +0000
- Subject: [Bug debug/56783] g++ does not supply signatures for gdb on g++ 4.7 versions
- Auto-submitted: auto-generated
- References: <bug-56783-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56783
--- 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.