delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/08/18:35:08

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D598385801D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1636414507;
bh=Aqur/ovrBIeVX4rqXgng4XT+GzwGOBZv/FLXrzCbEks=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=KRdFMhKtJe1XR+4BpLvdUVoDQ349dIOWAQagDHLzCf6y+XFuEMGL4rjDOu9FicUue
N8ZnbJ5rna42etsHt8f4j8rsiZHvHzTLssE3FZS9yY7RcBrEjJpLaxMjY/JxqFJtkO
+rpdoJmIS5R9NBri+m0WimvxAJDvvMnHwHjWkIEk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B25D33858C2C
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=SaAFtmwuoDzVc/E329iYfo7Ywy05YVYpIveXeipMdDtDMvpRUhZkwzKBHwDTapB1trwD6YUdtgT2Sk9BWa/+etzpaLRZc3IRrzepZLPioBwV8QTVePH3iky8MHhE2s8DCNUp4PVlDeujkyAI4SC2m599DUmxaDbIBt0Y2Zq8q5hLDX22b+oIBm+YpqTFg3EDac4mYvhxsQZPJvOk1+vF0jyHOM+3IBFKOheqb+GlkP0U4T/WbIAUddDPtXmZsn6J1Xr+HBPvmBod551dvekeAoN2v/FrLL3UDhDoht44EGEH2O9wMNPpUF8c0TuV+b+JwdLYaJRY7VJI/WwkC72iIg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=hAa4kbKT593hpHvG3074pMPYQZuaD/0/sSvP/gE6Edk=;
b=ckTKvp+4RGX8/P4c0O71ejgBCBL7GE99KL3b0dR048QrSvZKQ/3ltbiYk6eVZUBW+6VbqRBkgQjFpV1AgnYeFzI9WZSiHdqtK8c+X85cbR8n8K4F2PznPYCxZG3ehDZdqtitNRb2sTtjwDz3pwW1kYopsW36ZaEqBx+WvcksXiOCEQqwPDhTJrU5YC2vkOxM/ZxOBGH+Df45VNWehXGgGHqXOqRRG4vCqRfd0oizIoUvrS2XDiXtkEoEUApVlYOAHAVW4gQ6Q9o+/036VfmzSiNDXO6NvxxPuieVp4iziwITUhlXr6nw8Q8j2YK1UgZt1Woifp/4zvTySQA+HK2iSg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Cygwin 3.3.1 tgmath.h plus log10() gives "error: no matching
function for type-generic call"
Thread-Topic: Cygwin 3.3.1 tgmath.h plus log10() gives "error: no matching
function for type-generic call"
Thread-Index: AQHX1GjgUfvn5MEqXkyZ51IKS3cH3Kv6SAOC
Date: Mon, 8 Nov 2021 23:33:51 +0000
Message-ID: <DB9P194MB13853839D264EF828C2B4FA382919@DB9P194MB1385.EURP194.PROD.OUTLOOK.COM>
References: <DB9P194MB1385AF5261149E62FACFFD5282919 AT DB9P194MB1385 DOT EURP194 DOT PROD DOT OUTLOOK DOT COM>
In-Reply-To: <DB9P194MB1385AF5261149E62FACFFD5282919@DB9P194MB1385.EURP194.PROD.OUTLOOK.COM>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [eLvr5oMh4AICv/lj3ht6vD40R1U0lMeJ]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d35a69d1-60d4-400d-f344-08d9a31038ca
x-ms-traffictypediagnostic: DB8P194MB0936:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: q2OX/XKoy3vjXaU/tZdeqdbEKeARlCw0RelwdJvsCifervKFYrkBkIVzni6SgpO7ff1TRtuSAHY1e9q8tJwd3e2dyHacg4CxKCaf2VSH/Kp75f4UcEQetMnosVErzlfgV3Wyk/UdqW/dprDY9ANt5HV5yS0zmqj6jhqJZ8hnpfhYFSoWpEMCB3PT+jSLSDSMgvFtom7dJOfnjdtTuKgMOdIxlocahjflgrBdNw+MzyOMbJSkUAlxv5i4oESZmfnDDZ4Sl35/vwfcGwfYlYFzZov1DaqJHwD3R2mbtPVsI/d/WNj8X+MBTSU7TZ4btv8VnizSgMsSeoczphFhNSeJwvxHcJhIkw594H///AHjcGsDXS0hKj6xZFQvsGf9ZJzOWoqcvU3uyCL8Z0BfZ5ehpMsxPh3jryLpquQ9ND4dcMJOhdO2kQaCK+7lZpa4h67od0+JX7u+IqJC6QiZoXBxz+uFlDhNNLJT5avQ0VCi1/jB3q9rc3afls/1Amfua1RwMN3wZCvd8ajkmK+Z1K4napBfP6TChELBMDBqS6T9WEDBYUKs2Fpyi72yBWymGwKPnqNYJwOImN1K8PpGPE57zQlRXHp2Co9/btRc8LhylZacDo/iL26jC51QhFd76CX4
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: OuC3ia1Z0zUZuBt33CUOOwMxWi0AAhjB7gH0C4Sj7qnz/XpS2GW0JPIAeXrqJn+uY5ZqO1RxJv6+n6w+VbSOexwvZE6IIc3kfeM4yvVWRyj0mmSuWEne+iDJc8pzEv98LJI0UD6z+i7E/q+pR/LioDHwvsl2RFPKobGghpC/pc/v8jMkRe6SqlaKCwUk2WsiQpdnSDDjS8z3XmNHU9pkTDwKAfs0E09NWRnAW7d00f6wacxR4OtF7r/T8et32jrSt4eJhAeOmnQMYc4Z4GKxOOKgMefJgjfkw4r90wod70/oXeM/NklFhfC8r+VdWfM5JFN85kcAEZZnkn3aYWF/47Y/kQYXoKfQ9Ls13oXVr/zLWcUPmo9L85L3aZ0vzOOf/BQ3W+oQbS1i/DnxK4KIrPjpuacLlJw7sERJrTloLHwMuYEwJRgS0bbrUAAMMH4ScChOzxnuj7xBguXJ40NcKWuH32LXKsgSPicf2U0jCLDuejrdBLGbhuaaHFyCyLPRT2y+FAonERrRDIvS2XV9JDMOsSqD0DLUTVYjdiCaXzEAKKn+ExDHbRmOccIhobwaj/hKZr3Mf/mRlW0cj/b+HTK/PagITeFSQsK/Br1RmusnSAOFDfTc5NtkyXNmr1mbqt/i1xAv06HNPFeiYapJd3BiIuuj2oRtBr62/eh4drLQ/pEPUU6hO5Rk40hlqRL4
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-98ab5.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DB9P194MB1385.EURP194.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: d35a69d1-60d4-400d-f344-08d9a31038ca
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2021 23:33:51.6368 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P194MB0936
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: "Ed . via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Ed ." <ej_zg AT hotmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 1A8NZ8TT025075

Following up; this was in fact caused by what looks like a change in more-recent GCC, where tgmath.h has stopped working transparently with log10 on complex values. This is more in line with the C99 standard, but caused the problems outlined below. We have now worked around this in PDL, and the new version (2.060) now works fine on Cygwin again according to our CI.

Sorry to have troubled you all!
Ed


Dear Cygwin folks,

As shown in this run of PDL (Perl Data Language)’s CI, our new use of tgmath.h is causing a problem with log10:

https://github.com/PDLPorters/pdl/runs/4134966240?check_suite_focus=true

The error is:

In file included from pp-log10.c:56:
1744<https://github.com/PDLPorters/pdl/runs/4134966240?check_suite_focus=true#step:11:1744>ops.pd: In function ‘pdl_log10_readdata’:
1745<https://github.com/PDLPorters/pdl/runs/4134966240?check_suite_focus=true#step:11:1745>ops.pd:321:35: error: no matching function for type-generic call

The line numbers aren’t directly meaningful due to my enthusiastic use of #line in the project, but I believe the error is triggered by calling log10() with an unsigned char. This appears to work fine on GCC on Linux (and Windows, and with clang on MacOS).

I tried for some time to find out which versions of GCC, glibc etc Cygwin 3.3.1 includes, and was unsuccessful. The best I could see was that the Choco package seems to also include “[Cygwin] 11 install gcc-core 11.2.0-1”.

Any pointers (ha!) gratefully received.

Best regards,
Ed


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