delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/12/06:55:26

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=ULM3FcPzMRCPwnu3mvPqyiQ2WYAu8
GuX2OMUzZ4D4lsI5h/m075J0JrpHjiOwQGS9n8Jqa4Wwt58nASkOPgyRdDUFOCx2
952W70zWKDwH7e3BqK0XwABVboFtuP+ZsnsOTGrkQuB8ObXtHiTBilcevd4tv46X
QcVQIGlNahm9TA=
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=zAq1koQ19LVLp3QWnvljrxfUg5A=; b=vxT
KChS2mSXk/ocD0bIsb6vxsu/Mk9ufGSjnVcQwbmhP9kar7Jc9VW/WJo8BKUIflJZ
SArcb3q+ih9+e7sA3PE7DARKk+2P9CqzD4fTVLRkNjPq46feM8uLV80yb7dwhLMY
vJ820pZvwwRdkbyHXsow+lmvocU4Q5I+7Rhisr9E=
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=-0.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-ob0-f171.google.com
MIME-Version: 1.0
X-Received: by 10.182.56.15 with SMTP id w15mr1051759obp.2.1431428106365; Tue, 12 May 2015 03:55:06 -0700 (PDT)
Date: Tue, 12 May 2015 12:55:06 +0200
Message-ID: <CAJoYywX5sdiZC8EQXf50frRWpvUArRP7hkTYst506S0UBiQ7=A@mail.gmail.com>
Subject: GCC thread sanitizer (TSan) support
From: Irfan Adilovic <irfanadilovic AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

When I try to link a trivial program with -fsanitize=thread, I get the
following:

/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -ltsan

Compiling with -fsanitize=thread works. Target is x86_64-pc-cygwin
(TSan supports 64-bit only). gcc version is 4.9.2

Is this not supported on cygwin, or si the tsan library erroneously missing?

-- Irfan

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