Re: Thread-local destructor registration with C++11 on PowerPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/26/2013 04:15 PM, Sebastian Huber wrote:
Hello,

how can I configure GCC to emit the calls to __cxa_thread_atexit() for
destructor registration?  On a Linux PowerPC target I see the registration of
destructors, but not on the powerpc-rtems target.  I guess I missed a
configuration option or define.  Has someone a hint for me?


Ok, I found it. It is connected with __cxa_exit(). There seem to be two ways to enable it. One is the --enable=__cxa_atexit configure option. The second is default_use_cxa_atexit in gcc/config.gcc.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@xxxxxxxxxxxxxxxxxx
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux