delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/11/15:47:01

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51BKl1tu484063
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51BKl1tu484063
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=MzINDvQx
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8AEE13858CDB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1739306820;
bh=3UTPIaMTjPy9OaCwo8fhpgceSwduTodTg04gYMmUIqM=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=MzINDvQxK3YEfSa5SB89bjVBIXV+8HPFrKY0R60VwqLZEXv5+DKECKSR8Ibnw5MRa
gpawvJibEjPs903Q/j9TgRlchgS/VmlR3YKEsqXUKbPq0cLuDKLPtir7T2KQC5hGCE
GAlY4/ma1i8b61QVK3HtXRsmkcWjpap/Zf6VX3sE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F7C53858CD9
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0F7C53858CD9
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739306762; cv=none;
b=FuDwFyLQ/tKiJPzjjo4wgnZIS4mvzWJyOfLTiWdmlF0ofAtnxtJLOpwg6NZu6w/grEMa24hXIZMp+Ay7hMjp4Yx+H1bSLUrEpfne2hxbrzrDWOBTs1k69WaQgdwOBZkgVa5rFqW1j0/zUrLZzgarGyxcAedgoV/rt3fnZMTuQ28=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1739306762; c=relaxed/simple;
bh=W1oTxto+RnS1JsmuZ5O3MdZeMhau0lHE0FPK0ZCj+dc=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=LarLG/MT+N0HqF2Q4e8lM8Sx+lY31G8+wkK3/9NxgBYWD3GtY9XfTSszXLU0AvqbgzEFZ5Y9WMS2jB7aDVKmOr7dwFXSwtV22q0FY3m+Uxg0Lba/dw2M8KmijV1tm2niM75pi5B2K6sBqQegFYCZn1Ap7lrQa4EX1mOJ06Q3fwM=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F7C53858CD9
Message-ID: <6faedefc-eb17-4b02-89b9-44b73e82d43f@SystematicSW.ab.ca>
Date: Tue, 11 Feb 2025 13:45:59 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: __builtin_thread_pointer
To: cygwin AT cygwin DOT com
References: <9c6a1ccc-d2fb-4aaf-b8c2-29574fa640b4 AT cornell DOT edu>
<D47E777E-C732-47BD-81C8-5A488E38E1F3 AT unified-streaming DOT com>
Autocrypt: addr=Brian DOT Inglis AT SystematicSW DOT ab DOT ca; keydata=
xjMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePbN
LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT7ClgQTFggA
PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW
AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO
WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDM44BF6KcfMSCisGAQQBl1UB
BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAfCfgQYFggAJhYhBMM5
/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF
IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5
RSyTY8X+AQ==
Organization: Systematic Software
In-Reply-To: <D47E777E-C732-47BD-81C8-5A488E38E1F3@unified-streaming.com>
X-Rspamd-Queue-Id: 2CC0D2002B
X-Rspamd-Server: rspamout04
X-Stat-Signature: k5pmhg9w7jbwsf5r3od3uw3yby6rgkqf
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19IMa7xyZAbpx0MK9yy7G5/87QDi7QV62g=
X-HE-Tag: 1739306760-20003
X-HE-Meta: U2FsdGVkX1+Q/HEQdfdFnCj8VRw6f/XMNptzq7n4y+XPrcSeU1IYNTe9LTH+7a+o8OLE3vdHNboiczcrG3838IoqOxEPijlfc2EvereqK09ujQ5m3Au3+Vn0S+Lijy0FXJb2yDJbGNl8CwIXO+K4NL1Xve1UhUHA/gA7S68tw8y5seF6++Or/rXHVWlFPFLZm07vjnNn+qNeGl7AeCtdtj8q7Gca4H+x2tRapEAutTDLSs7MxZDTvTdfwG1maAmNOO+NuVm0+Ir7RmnXbaoDaUaQeY90/W3H3BG4n79MJJqJBAqPg9XArB5YEh0rbtxBv08S/aVsL1cS21kakGpBNadg3sTtUEYB
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51BKl1tu484063

On 2025-02-11 12:41, Dimitry Andric via Cygwin wrote:
>> On 11 Feb 2025, at 20:26, Ken Brown via Cygwin wrote:
>> Does Cygwin support __builtin_thread_pointer?  I'm guessing not, because
>> I'm getting a link error (undefined reference to
>> `__builtin_thread_pointer') when I try to build some software that uses
>> it.  Or is there something that would have to be added to the link command
>> line?  The full command line and error message are quoted below, in case
>> anyone spots something obvious.

> It's a gcc builtin function, not something implemented in an external 
> library. Therefore, there is no linker option that can fix this.
> Also, as far as I can see from gcc's documentation,
> __builtin_thread_pointer() is only supported for the RISCV and SH
> architectures. Then again, gcc's implementation seems to hinge this on
> whether the platform supports TLS or not.
> In any case, it is probably better to not use this function if your gcc does
> not support it.
Does `info gcc tls` help and do we know if that is supported by our gcc(s)?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

- Raw text -


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