This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols
- From: "rcbilson at plg dot uwaterloo dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2005 21:46:11 -0000
- Subject: [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
smalltalk=; cat test.c
__thread int x;
smalltalk=; gcc -c test.c
smalltalk=; gcc -g -c test.c
/usr/ccs/bin/as: "/var/tmp//cc09foyk.s", line 75: error: statement syntax
/usr/ccs/bin/as: "/var/tmp//cc09foyk.s", line 75: error: statement syntax
/usr/ccs/bin/as: "/var/tmp//cc09foyk.s", line 75: error: statement syntax
Line 75 of the generated assembly is:
.xword %r_tls_dtpoff64(x)
Compiling with -m32 produces something that's equally broken, but with 32
instead of 64.
--
Summary: Bad assembler output for Solaris TLS debug symbols
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rcbilson at plg dot uwaterloo dot ca
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc64-sun-solaris2.10
GCC host triplet: sparc64-sun-solaris2.10
GCC target triplet: sparc64-sun-solaris2.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889