This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/24829] [4.1 Regression] libobjc testsuite failures
- From: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2005 14:25:51 -0000
- Subject: [Bug other/24829] [4.1 Regression] libobjc testsuite failures
- References: <bug-24829-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from aoliva at gcc dot gnu dot org 2005-11-14 14:25 -------
Hmm, this is tricky. I hadn't considered the case of having one of these
functions defined with a symbol that does not have external linkage. I suppose
we may have to take care of this case :-( even though it probably wouldn't have
worked with the #pragma weaks. Or would it? Anyhow, please confirm how you
configured the compiler. I'm particularly interested in what assembler you're
using, and what `grep HAVE_GAS_WEAK gcc/auto-host.h' prints.
Anyhow, one solution that comes to mind is to modify the __gthrw macro to
declare not a function with the same symbol name, but rather a static const
pointer to the original function. In a perfect world, we'd be able to define
preprocessor macros within preprocessor macros, but without this ability,
that's the best I can think of, short of adding explicit defines for some
conditions.
--
aoliva at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aoliva at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-11-14 14:25:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24829