delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/26/08:59:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=AToMYr+iYpzYHT90FHCyf5TlxLWOG
hSIMoFt96c/QInXlDvB6dyzLms5HDPIVrN/h37R7SJuaIBcHl5Z5BsKQlOEYG0dZ
MbJdE8dCsQmCw7+ftLI98XuUKa0Pc1BMWVGJrSRJBuOw9gA5Goh9kZgkhlRluKls
29h5UOPkrr7ZKM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=7+3gjfWqAVhv895BPNwndaJIiIM=; b=i2H
RcdHFvzjLR7pxVEfQloIiKhqOvvrwOKyk+0NwAcnt8TlqUpoY0s5udRzQsNE6VkR
tMeiDsUt0EUmgjCV1ViPlKqJ5VFqaB+by0Mk9R5W0WRlgeWEGhn9kEFE5WQLoV98
jOsT++wYQI9pCe22fAWtSKnNghzEAAYvKXfzbe84=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f180.google.com
MIME-Version: 1.0
X-Received: by 10.50.25.65 with SMTP id a1mr13175939igg.3.1411736362778; Fri, 26 Sep 2014 05:59:22 -0700 (PDT)
Date: Fri, 26 Sep 2014 14:59:22 +0200
Message-ID: <CAKw7uVjFWrNeFtFRv_7Co=4S=B1viFigrrTHKJfMVY-7Pf-JNw@mail.gmail.com>
Subject: Clang and C++11 <mutex> header
From: =?UTF-8?Q?V=C3=A1clav_Zeman?= <vhaisman AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I am trying to use <mutex> C++11 header with Clang but  the compilation fails:

In file included from test.cxx:1:
/usr/lib/gcc/i686-pc-cygwin/4.8.3/include/c++/mutex:747:10: error:
thread-local storage is unsupported for the current
      target
  extern __thread void* __once_callable;
         ^
/usr/lib/gcc/i686-pc-cygwin/4.8.3/include/c++/mutex:748:10: error:
thread-local storage is unsupported for the current
      target
  extern __thread void (*__once_call)();

Is this Clang package configuration issue (disabled TLS support) or
Clang porting issue (missing TLS support in Clang on Cygwin)?

-- 
VZ

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019