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



--- Comment #3 from Marc Girod <marc.girod at gmail dot com> 2013-03-27 
06:52:14 UTC ---

OK. Good to know. I configured with GNU, hence there is something in the tool

chain which results in the problem.

Under the debugger, I get the segfault stepping into the call to 'get_global()'

in libstdc++-v3/libsupc++/eh_globals.cc:63.

I can find only one declaration of this get_global, and it is earlier in

eh_globals.cc:50.

Looking at the decorations in the symbols:



gcc> nm ./sparc-sun-solaris2.10/libstdc++-v3/libsupc++/eh_globals.o

         U _GLOBAL_OFFSET_TABLE_

00000000 d _ZL16__gthread_active

00000000 b _ZZN12_GLOBAL__N_110get_globalEvE6global

00000000 T __cxa_get_globals

00000000 T __cxa_get_globals_fast

00000000 W __sparc_get_pc_thunk.l7

         U __tls_get_addr



I wonder if there is a mismatch between the offering and the request?

What symbols do you have, in the Sun configuration?

Note that I was handed another gcc, compiled independently for the same

platform, and which displays the same issue.

Reply via email to