public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/39888]  New: TLS emutls not linked to automatically on Darwin
@ 2009-04-24 18:39 fago at earthlink dot net
  2009-04-27 19:04 ` [Bug other/39888] " developer at sandoe-acoustics dot co dot uk
                   ` (64 more replies)
  0 siblings, 65 replies; 66+ messages in thread
From: fago at earthlink dot net @ 2009-04-24 18:39 UTC (permalink / raw)
  To: gcc-bugs

Using thread local storage (e.g. OpenMP ThreadPrivate variables) on Darwin
requires manually linking to TLS emutls, via either -lgcc_s.so.1 or -lgcc_eh

See the threads:
http://gcc.gnu.org/ml/gcc/2008-12/msg00145.html
http://gcc.gnu.org/ml/gcc/2008-12/msg00107.html

>From the above threads, this is evidently quite a mess. However, as I was just
bit by this I hoped it useful to have a bug tracking the issue.

I just ran across this with a fresh bootstrap of gcc 4.4.0 on MacOSX 10.5.6
x86_64, configured as: "--program-suffix=-4.4 --enable-languages=c,c++,fortran"

TLS works fine if I manually link to gcc_s.so.1 or gcc_eh as mentioned above.


-- 
           Summary: TLS emutls not linked to automatically on Darwin
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fago at earthlink dot net


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


^ permalink raw reply	[flat|nested] 66+ messages in thread

end of thread, other threads:[~2010-03-11 12:18 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 18:39 [Bug other/39888] New: TLS emutls not linked to automatically on Darwin fago at earthlink dot net
2009-04-27 19:04 ` [Bug other/39888] " developer at sandoe-acoustics dot co dot uk
2009-04-27 19:05 ` developer at sandoe-acoustics dot co dot uk
2009-04-27 19:06 ` developer at sandoe-acoustics dot co dot uk
2009-04-27 19:07 ` developer at sandoe-acoustics dot co dot uk
2009-04-27 19:15 ` developer at sandoe-acoustics dot co dot uk
2009-09-22 18:56 ` mrs at apple dot com
2009-09-22 19:20 ` developer at sandoe-acoustics dot co dot uk
2009-09-22 21:18 ` mrs at apple dot com
2009-09-23  3:02 ` howarth at nitro dot med dot uc dot edu
2009-09-23 15:50 ` howarth at nitro dot med dot uc dot edu
2009-09-23 16:00 ` developer at sandoe-acoustics dot co dot uk
2009-09-23 16:19 ` howarth at nitro dot med dot uc dot edu
2009-09-23 16:28 ` howarth at nitro dot med dot uc dot edu
2009-09-23 16:36 ` developer at sandoe-acoustics dot co dot uk
2009-09-23 16:51 ` howarth at nitro dot med dot uc dot edu
2009-09-23 17:53 ` howarth at nitro dot med dot uc dot edu
2009-09-23 18:41 ` howarth at nitro dot med dot uc dot edu
2009-09-23 18:57 ` howarth at nitro dot med dot uc dot edu
2009-09-23 20:44 ` mrs at apple dot com
2009-09-23 20:48 ` mrs at apple dot com
2009-09-23 20:49 ` mrs at apple dot com
2009-09-23 20:52 ` mrs at apple dot com
2009-09-23 21:06 ` howarth at nitro dot med dot uc dot edu
2009-09-23 21:18 ` howarth at nitro dot med dot uc dot edu
2009-09-23 23:45 ` howarth at nitro dot med dot uc dot edu
2009-09-24  7:47 ` developer at sandoe-acoustics dot co dot uk
2009-09-24 13:06 ` howarth at nitro dot med dot uc dot edu
2009-09-24 13:15 ` howarth at nitro dot med dot uc dot edu
2009-09-24 20:55 ` developer at sandoe-acoustics dot co dot uk
2009-09-24 22:33 ` howarth at nitro dot med dot uc dot edu
2009-09-24 22:42 ` developer at sandoe-acoustics dot co dot uk
2009-09-24 23:47 ` howarth at nitro dot med dot uc dot edu
2009-09-24 23:48 ` howarth at nitro dot med dot uc dot edu
2009-09-25  1:20 ` howarth at nitro dot med dot uc dot edu
2009-09-25  2:19 ` howarth at nitro dot med dot uc dot edu
2009-09-25 10:07 ` developer at sandoe-acoustics dot co dot uk
2009-09-25 10:45 ` howarth at nitro dot med dot uc dot edu
2009-09-25 10:54 ` developer at sandoe-acoustics dot co dot uk
2009-09-25 19:17 ` howarth at nitro dot med dot uc dot edu
2009-09-25 19:25 ` developer at sandoe-acoustics dot co dot uk
2009-09-25 23:52 ` howarth at nitro dot med dot uc dot edu
2009-09-26  0:54 ` howarth at nitro dot med dot uc dot edu
2009-09-26  1:00 ` howarth at nitro dot med dot uc dot edu
2009-09-26  2:55 ` howarth at nitro dot med dot uc dot edu
2009-09-26  5:51 ` howarth at nitro dot med dot uc dot edu
2009-09-26 17:29 ` developer at sandoe-acoustics dot co dot uk
2009-09-26 20:36 ` howarth at nitro dot med dot uc dot edu
2009-09-28  7:48 ` developer at sandoe-acoustics dot co dot uk
2009-09-28  9:02 ` developer at sandoe-acoustics dot co dot uk
2009-09-30 16:58 ` developer at sandoe-acoustics dot co dot uk
2009-09-30 19:46 ` mrs at apple dot com
2009-09-30 19:54 ` developer at sandoe-acoustics dot co dot uk
2009-09-30 23:36 ` howarth at nitro dot med dot uc dot edu
2009-09-30 23:38 ` howarth at nitro dot med dot uc dot edu
2009-10-01  8:36 ` developer at sandoe-acoustics dot co dot uk
2009-10-01 14:00 ` howarth at nitro dot med dot uc dot edu
2009-10-01 17:22 ` developer at sandoe-acoustics dot co dot uk
2009-10-01 19:18 ` mrs at apple dot com
2009-10-02  8:17 ` developer at sandoe-acoustics dot co dot uk
2009-10-02 10:39 ` developer at sandoe-acoustics dot co dot uk
2009-11-18  7:36 ` andreast at gcc dot gnu dot org
2009-11-18  7:37 ` andreast at gcc dot gnu dot org
2010-01-22  9:59 ` developer at sandoe-acoustics dot co dot uk
2010-03-11  3:30 ` howarth at nitro dot med dot uc dot edu
2010-03-11 12:18 ` ubizjak at gmail dot com

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).