This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin
- From: "espindola at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2009 18:09:47 -0000
- Subject: [Bug testsuite/40459] g++.dg/abi/mangle*.C fail on darwin
- References: <bug-40459-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from espindola at gcc dot gnu dot org 2009-12-17 18:09 -------
I tried to build gcc on darwin to debug this but the build fails with a link
failure (sorry, don't remember exactly where). Do I need to do something
special to build on darwin?
The error message is emitted when mangling the names and the "instantiated
from" bits use input_location. Yes, that is bad :-(
I assume that the difference is coming from use computing the assembler name at
a different point in time when building on darwin.
The short term "fix" might be to force the assembler name computation to happen
at a fixed point in time for both darwin and non-darwin systems.
The correct fix would be to not use input_location.
--
espindola at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-12-17 18:09:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40459