public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols @ 2005-06-02 21:46 rcbilson at plg dot uwaterloo dot ca 2005-06-02 22:11 ` [Bug debug/21889] " ebotcazou at gcc dot gnu dot org ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: rcbilson at plg dot uwaterloo dot ca @ 2005-06-02 21:46 UTC (permalink / raw) To: gcc-bugs 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/21889] Bad assembler output for Solaris TLS debug symbols 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca @ 2005-06-02 22:11 ` ebotcazou at gcc dot gnu dot org 2005-06-02 22:11 ` ebotcazou at gcc dot gnu dot org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-06-02 22:11 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-02 22:11 ------- Confirmed with Sun tools. Workaround is to use -gstabs+ instead of -g. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-06-02 22:11:07 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/21889] Bad assembler output for Solaris TLS debug symbols 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca 2005-06-02 22:11 ` [Bug debug/21889] " ebotcazou at gcc dot gnu dot org @ 2005-06-02 22:11 ` ebotcazou at gcc dot gnu dot org 2005-06-03 21:56 ` ebotcazou at gcc dot gnu dot org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-06-02 22:11 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-02 22:11 ------- Investigating. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2005-06-02 22:11:07 |2005-06-02 22:11:37 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/21889] Bad assembler output for Solaris TLS debug symbols 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca 2005-06-02 22:11 ` [Bug debug/21889] " ebotcazou at gcc dot gnu dot org 2005-06-02 22:11 ` ebotcazou at gcc dot gnu dot org @ 2005-06-03 21:56 ` ebotcazou at gcc dot gnu dot org 2005-06-08 5:06 ` cvs-commit at gcc dot gnu dot org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-06-03 21:56 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-03 21:56 ------- > Confirmed with Sun tools. Workaround is to use -gstabs+ instead of -g. Or use GNU Binutils (preferably 2.16) of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/21889] Bad assembler output for Solaris TLS debug symbols 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca ` (2 preceding siblings ...) 2005-06-03 21:56 ` ebotcazou at gcc dot gnu dot org @ 2005-06-08 5:06 ` cvs-commit at gcc dot gnu dot org 2005-06-08 20:45 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-06-08 5:06 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-08 05:06 ------- Subject: Bug 21889 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2005-06-08 05:05:48 Modified files: gcc : ChangeLog config.gcc dwarf2out.c system.h target-def.h target.h gcc/config/frv : frv-protos.h frv.c frv.h gcc/config/i386: i386-protos.h i386.c i386.h gcc/config/ia64: ia64-protos.h ia64.c ia64.h gcc/config/rs6000: rs6000-protos.h rs6000.c rs6000.h gcc/config/s390: s390-protos.h s390.c s390.h gcc/config/sparc: sol2-gas.h sol2.h sparc-protos.h sparc.c sparc.h gcc/doc : tm.texi Log message: PR target/21889 * target.h (gcc_target) <asm_out>: New field output_dwarf_dtprel. * target-def.h (TARGET_ASM_OUTPUT_DWARF_DTPREL): New macro. (TARGET_ASM_OUT): Add it. * doc/tm.texi (Debugging Info): Document it. * dwarf2out.c (output_loc_operands) <INTERNAL_DW_OP_tls_addr>: Test it instead of ASM_OUTPUT_DWARF_DTPREL. (loc_descriptor_from_tree_1) <VAR_DECL>: Likewise. * system.h: Poison ASM_OUTPUT_DWARF_DTPREL. * config/frv/frv-protos.h (frv_output_dwarf_dtprel): Delete. * config/frv/frv.c (frv_output_dwarf_dtprel): Make static and unused. (gen_inlined_tls_plt): Remove unused variable MEM. (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to frv_output_dwarf_dtprel. * config/frv/frv.h (ASM_OUTPUT_DWARF_DTPREL): Delete. * config/i386/i386-protos.h (i386_output_dwarf_dtprel): Delete. * config/i386/i386.c (i386_output_dwarf_dtprel): Make static and unused. (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to i386_output_dwarf_dtprel. * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): Delete. * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): Delete. * config/ia64/ia64.c (ia64_output_dwarf_dtprel): Make static and unused. (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to ia64_output_dwarf_dtprel. * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Delete. * config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Delete. * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): Make static and unused. (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to rs6000_output_dwarf_dtprel * config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Delete. * config/s390/s390-protos.h (s390_output_dwarf_dtprel): Delete. * config/s390/s390.c (s390_output_dwarf_dtprel): Make static and unused. (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to s390_output_dwarf_dtprel. * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Delete. * config/sparc/sol2-gas.h (TARGET_SUN_TLS): Define to 0. (TARGET_GNU_TLS): Define to 1. * config/sparc/sparc-protos.h (sparc_output_dwarf_dtprel): Delete. * config/sparc/sparc.c (sparc_output_dwarf_dtprel): Make static and unused. (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to sparc_output_dwarf_dtprel if TARGET_GNU_TLS only. * config/sparc/sparc.h (ASM_OUTPUT_DWARF_DTPREL): Delete. * config.gcc (sparc64-*-solaris2*): Include tm-dwarf2.h last. (sparc-*-solaris2*): Likewise on Solaris 7 and up. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9084&r2=2.9085 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?cvsroot=gcc&r1=1.548&r2=1.549 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dwarf2out.c.diff?cvsroot=gcc&r1=1.598&r2=1.599 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/system.h.diff?cvsroot=gcc&r1=1.257&r2=1.258 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target-def.h.diff?cvsroot=gcc&r1=1.123&r2=1.124 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target.h.diff?cvsroot=gcc&r1=1.135&r2=1.136 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/frv/frv-protos.h.diff?cvsroot=gcc&r1=1.26&r2=1.27 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/frv/frv.c.diff?cvsroot=gcc&r1=1.89&r2=1.90 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/frv/frv.h.diff?cvsroot=gcc&r1=1.64&r2=1.65 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386-protos.h.diff?cvsroot=gcc&r1=1.139&r2=1.140 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.825&r2=1.826 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&r1=1.436&r2=1.437 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64-protos.h.diff?cvsroot=gcc&r1=1.72&r2=1.73 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.c.diff?cvsroot=gcc&r1=1.370&r2=1.371 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.h.diff?cvsroot=gcc&r1=1.200&r2=1.201 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000-protos.h.diff?cvsroot=gcc&r1=1.100&r2=1.101 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.834&r2=1.835 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.h.diff?cvsroot=gcc&r1=1.367&r2=1.368 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/s390/s390-protos.h.diff?cvsroot=gcc&r1=1.70&r2=1.71 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/s390/s390.c.diff?cvsroot=gcc&r1=1.235&r2=1.236 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/s390/s390.h.diff?cvsroot=gcc&r1=1.139&r2=1.140 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2-gas.h.diff?cvsroot=gcc&r1=1.1&r2=1.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2.h.diff?cvsroot=gcc&r1=1.70&r2=1.71 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc-protos.h.diff?cvsroot=gcc&r1=1.53&r2=1.54 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&r1=1.375&r2=1.376 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.h.diff?cvsroot=gcc&r1=1.285&r2=1.286 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/tm.texi.diff?cvsroot=gcc&r1=1.431&r2=1.432 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/21889] Bad assembler output for Solaris TLS debug symbols 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca ` (3 preceding siblings ...) 2005-06-08 5:06 ` cvs-commit at gcc dot gnu dot org @ 2005-06-08 20:45 ` cvs-commit at gcc dot gnu dot org 2005-06-08 20:53 ` cvs-commit at gcc dot gnu dot org 2005-06-08 20:57 ` [Bug debug/21889] Native Solaris assembler cannot grok DTP-relative " ebotcazou at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-06-08 20:45 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-08 20:45 ------- Subject: Bug 21889 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: ebotcazou@gcc.gnu.org 2005-06-08 20:44:58 Modified files: gcc : ChangeLog gcc/config/sparc: sol2-gas.h sol2.h Log message: PR target/21889 * config/sparc/sol2.h (ASM_OUTPUT_DWARF_DTPREL): Undefine. * config/sparc/sol2-gas.h (ASM_OUTPUT_DWARF_DTPREL): Redefine. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.284&r2=2.7592.2.285 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2-gas.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1&r2=1.1.46.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.69.8.1&r2=1.69.8.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/21889] Bad assembler output for Solaris TLS debug symbols 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca ` (4 preceding siblings ...) 2005-06-08 20:45 ` cvs-commit at gcc dot gnu dot org @ 2005-06-08 20:53 ` cvs-commit at gcc dot gnu dot org 2005-06-08 20:57 ` [Bug debug/21889] Native Solaris assembler cannot grok DTP-relative " ebotcazou at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-06-08 20:53 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-08 20:53 ------- Subject: Bug 21889 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: ebotcazou@gcc.gnu.org 2005-06-08 20:52:36 Modified files: gcc : ChangeLog gcc/config/sparc: sol2-gas-bi.h sol2.h Log message: PR target/21889 * config/sparc/sol2.h (ASM_OUTPUT_DWARF_DTPREL): Undefine. * config/sparc/sol2-gas.h (ASM_OUTPUT_DWARF_DTPREL): Redefine. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.876&r2=2.2326.2.877 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2-gas-bi.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.4&r2=1.4.14.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.57.4.4&r2=1.57.4.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug debug/21889] Native Solaris assembler cannot grok DTP-relative debug symbols 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca ` (5 preceding siblings ...) 2005-06-08 20:53 ` cvs-commit at gcc dot gnu dot org @ 2005-06-08 20:57 ` ebotcazou at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2005-06-08 20:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-08 20:56 ------- See http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00478.html -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Summary|Bad assembler output for |Native Solaris assembler |Solaris TLS debug symbols |cannot grok DTP-relative | |debug symbols Target Milestone|--- |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21889 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-06-08 20:57 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-06-02 21:46 [Bug debug/21889] New: Bad assembler output for Solaris TLS debug symbols rcbilson at plg dot uwaterloo dot ca 2005-06-02 22:11 ` [Bug debug/21889] " ebotcazou at gcc dot gnu dot org 2005-06-02 22:11 ` ebotcazou at gcc dot gnu dot org 2005-06-03 21:56 ` ebotcazou at gcc dot gnu dot org 2005-06-08 5:06 ` cvs-commit at gcc dot gnu dot org 2005-06-08 20:45 ` cvs-commit at gcc dot gnu dot org 2005-06-08 20:53 ` cvs-commit at gcc dot gnu dot org 2005-06-08 20:57 ` [Bug debug/21889] Native Solaris assembler cannot grok DTP-relative " 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).