public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/29987]  New: libgomp.c++/ctor-9.C failure
@ 2006-11-26  9:52 ebotcazou at gcc dot gnu dot org
  2006-11-26 14:04 ` [Bug libgomp/29987] " ghazi at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-11-26  9:52 UTC (permalink / raw)
  To: gcc-bugs

This failure with Sun as/ld
  http://gcc.gnu.org/ml/gcc-testresults/2006-11/msg00764.html
is of the form:

ld: fatal: relocation error: R_SPARC_HI22: file /var/tmp//cc8eBELF.o: symbol
base: relocation illegal for TLS symbol

It's a bug in Sun as, it doesn't switch section between .tbss and .bss:
hikaru% cat v.s
        .section        ".tbss",#alloc,#write,#tls
        .align 4
        .type   threadbase, #tls_object
        .size   threadbase, 4
threadbase:
        .skip 4
        .local  base
        .common base,4,4
hikaru% as -o v.o v.s
hikaru% objdump --syms v.o

v.o:     file format elf32-sparc

SYMBOL TABLE:
00000000 l    d  .tbss  00000000 .tbss
00000004 l       .tbss  00000004 base
00000000 l       .tbss  00000004 threadbase


hikaru% cat v.s
        .section        ".tdata",#alloc,#write,#tls
        .align 4
        .type   threadbase, #tls_object
        .size   threadbase, 4
threadbase:
        .skip 4
        .local  base
        .common base,4,4
hikaru% as -o v.o v.s
hikaru% objdump --syms v.o

v.o:     file format elf32-sparc

SYMBOL TABLE:
00000000 l    d  .bss   00000000 .bss
00000000 l    d  .tdata 00000000 .tdata
00000000 l     O .bss   00000004 base
00000000 l       .tdata 00000004 threadbase


-- 
           Summary: libgomp.c++/ctor-9.C failure
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


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


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

end of thread, other threads:[~2008-11-29 22:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-26  9:52 [Bug libgomp/29987] New: libgomp.c++/ctor-9.C failure ebotcazou at gcc dot gnu dot org
2006-11-26 14:04 ` [Bug libgomp/29987] " ghazi at gcc dot gnu dot org
2006-11-26 14:38 ` ebotcazou at gcc dot gnu dot org
2006-12-29  4:45 ` ghazi at gcc dot gnu dot org
2007-01-26 13:47 ` jakub at gcc dot gnu dot org
2008-11-14 19:09 ` ebotcazou at gcc dot gnu dot org
2008-11-18 12:32 ` [Bug target/29987] " jakub at gcc dot gnu dot org
2008-11-18 13:17 ` ro at techfak dot uni-bielefeld dot de
2008-11-18 13:34 ` ro at techfak dot uni-bielefeld dot de
2008-11-19 18:06 ` ro at techfak dot uni-bielefeld dot de
2008-11-20 20:17 ` ebotcazou at gcc dot gnu dot org
2008-11-29 22:07 ` ebotcazou at gcc dot gnu dot org
2008-11-29 22:09 ` ebotcazou 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).