--- Comment #12 from howarth at nitro dot med dot uc dot edu 2010-02-14
23:34 ---
Posted revised patch at http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00549.html
with regression test results at
http://gcc.gnu.org/ml/gcc-testresults/2010-02/msg01339.html.
--
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2010-02-13
15:41 ---
This should probably be a P2 since it causes a regression on darwin which
breaks their weak linking.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42854
--- Comment #10 from howarth at nitro dot med dot uc dot edu 2010-02-13
16:04 ---
This alternative fix works as well...
--- /Users/howarth/gcc-4.5-20100211/gcc/varasm.c2010-01-20
18:46:25.0 -0500
+++ gcc/varasm.c2010-02-13 10:58:45.0 -0500
@@ -2345,7
--- Comment #11 from howarth at nitro dot med dot uc dot edu 2010-02-14
02:12 ---
Proposed patch at http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00532.html and
testsuite resuilts for proposed patch at
http://gcc.gnu.org/ml/gcc-testresults/2010-02/msg01258.html.
--
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2010-02-13
05:09 ---
The weak_import attribute is described fairly well in this technote
http://developer.apple.com/mac/library/technotes/tn2002/tn2064.html#SECTION2
--
--- Comment #8 from howarth at nitro dot med dot uc dot edu 2010-02-13
06:09 ---
On darwin, it would appear that the change in r155919 is unnecessary. Using...
--- /Users/howarth/gcc-4.5-20100211/gcc/varasm.c2010-01-20
18:46:25.0 -0500
+++ gcc/varasm.c
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2010-02-11
02:04 ---
This section in darwin.c seems a bit strange...
if (!DECL_EXTERNAL (decl)
(!TREE_PUBLIC (decl) || !DECL_WEAK (decl))
! lookup_attribute (weakref, DECL_ATTRIBUTES (decl))
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42854
--- Comment #1 from jakub at gcc dot gnu dot org 2010-01-25 12:03 ---
This is completely undocumented attribute, so you first need to get Apple to
actually document what it does and get the documentation into doc/extend.texi.
Especially nothing explains the relationship between weak
--- Comment #2 from dominiq at lps dot ens dot fr 2010-01-25 12:53 ---
This is completely undocumented attribute ...
What is the undocumented attribute? If you mean
-fno-asynchronous-unwind-tables, you don't need it for the tests to fail.
--
--- Comment #3 from jakub at gcc dot gnu dot org 2010-01-25 12:59 ---
I mean that
grep weak_import doc/*
yields nothing at all (and google for weak_import doesn't show up any useful
documentation either).
It seems that Geoff Keating's implementation of the attribute (how could it be
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2010-01-25
20:20 ---
Mike Stump's comment on Geoff's implementation of the attribute weak_import in
FSF gcc is...
Not earth shattering, it just sets .weak_definition or .weak_reference for
the assembler. google can find
--- Comment #5 from dominiq at lps dot ens dot fr 2010-01-25 21:59 ---
Mike Stump's comment on Geoff's implementation of the attribute weak_import in
FSF gcc is...
Could you give a pointer?
The first test was introduced by this patch
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Target Milestone|--- |4.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42854
14 matches
Mail list logo