------- Comment #20 from jakub at gcc dot gnu dot org 2005-11-25 17:05 ------- It needs to be fixed, gthr*.h relies on it. __attribute__((weeakref)) is supposed to work on all targets that support the weak attribute and darwin is one of them, either through .weakref assembler directive (very recent binutils, for ELF and maybe *COFF?) or via GCC's internal support (for the rest of the targets). Best would be if Darwin maintainers or other people familiar with darwin.c and/or Mach-O could work with Alexandre on resolving this (that's why I have added them to CC).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24991