------- Comment #6 from davek at gcc dot gnu dot org 2009-09-15 13:29 ------- (In reply to comment #1) > The cause is that DW_TAG_variable references gomp_tls_data instead of > ___emutls_v.gomp_tls_data. >
Here's an example: <1><f51>: Abbrev Number: 49 (DW_TAG_variable) <f52> DW_AT_name : (indirect string, offset: 0x4a): gomp_tls_data <f56> DW_AT_decl_file : 8 <f57> DW_AT_decl_line : 361 <f59> DW_AT_type : <0x96e> <f5d> DW_AT_external : 1 <f5e> DW_AT_declaration : 1 This points to the declaration of gomp_tls_data on line 361 of libgomp.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41357