public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/31537]  New: duplicate weakref emitted with IMA
@ 2007-04-11 14:50 aldot at gcc dot gnu dot org
  2007-04-13 13:32 ` [Bug c/31537] " aldot at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: aldot at gcc dot gnu dot org @ 2007-04-11 14:50 UTC (permalink / raw)
  To: gcc-bugs

$ /scratch/obj.i686/gcc-4.3/./gcc/xgcc -B/scratch/obj.i686/gcc-4.3/./gcc/
-B/opt/i686/gcc-4.3//i686-linux-gnu/bin/
-B/opt/i686/gcc-4.3//i686-linux-gnu/lib/ -c f?.i -combine -o /dev/null 
/tmp/ccqmLD9J.s: Assembler messages:
/tmp/ccqmLD9J.s:3: Error: symbol `__gthrw_pthread_once' is already defined


$ cat f1.i
static __gthrw_pthread_once __attribute__ ((__weakref__ ("pthread_once")));
$ cat f2.i
static __gthrw_pthread_once __attribute__ ((__weakref__ ("pthread_once")));


It fails to drop duplicate weakrefs:
$ /scratch/obj.i686/gcc-4.3/./gcc/xgcc -B/scratch/obj.i686/gcc-4.3/./gcc/
-B/opt/i686/gcc-4.3//i686-linux-gnu/bin/
-B/opt/i686/gcc-4.3//i686-linux-gnu/lib/ -S f?.i -combine -o -
        .file   "f1.i"
        .weakref        __gthrw_pthread_once,pthread_once
        .weakref        __gthrw_pthread_once,pthread_once
        .ident  "GCC: (GNU) 4.3.0 20070410 (experimental)"
        .section        .note.GNU-stack,"",@progbits


-- 
           Summary: duplicate weakref emitted with IMA
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31537


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-06-04 13:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-11 14:50 [Bug c/31537] New: duplicate weakref emitted with IMA aldot at gcc dot gnu dot org
2007-04-13 13:32 ` [Bug c/31537] " aldot at gcc dot gnu dot org
2007-05-02 20:23 ` geoffk at gcc dot gnu dot org
2007-05-02 20:43 ` aldot at gcc dot gnu dot org
2007-05-03 19:14 ` geoffk at gcc dot gnu dot org
2007-06-21 16:44 ` aldot at gcc dot gnu dot org
2008-01-02 20:57 ` aldot at gcc dot gnu dot org
2008-01-25  9:14 ` aldot at gcc dot gnu dot org
2008-01-25 18:54 ` aldot at gcc dot gnu dot org
2008-01-29 23:20 ` aldot at gcc dot gnu dot org
2008-03-14 16:47 ` rguenth at gcc dot gnu dot org
2008-09-16 19:19 ` aldot at gcc dot gnu dot org
2009-06-04 12:55 ` steven at gcc dot gnu dot org
2009-06-04 13:25 ` aldot at gcc dot gnu dot org
2009-06-04 13:42 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).