delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/09/15:50:52

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 539Joqme2887367
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 539Joqme2887367
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=DWsq3MO9
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CFFB385EC33
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1744228250;
bh=8+A5DtTDr4qEvb7SSIBqZU4cXJ5g8hPmv5YI8oVXjjM=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:Cc:From;
b=DWsq3MO9jOGqDo4kMLiIUbNZYO3RA3MYaKKTfmdULaYOxPNpLqrh0xcjW7K0gsZO2
4/GLVo7sWlgGLTRh2Svc/mXp9AXNgUcCyLrMdPt1ejuwihJ6VvWg+5mjvqoJURv2kY
e19DQmXnwSTRofWHPIus+iYQA/PHr0oRKsRmtSd4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 692E83857037
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 692E83857037
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744228191; cv=none;
b=vBhWVrVZe4MNbJ9btp89QtCwb+DkuAOiY4YrQGhCvU74K10DnUwsH2MVHjsL+ZmJpewcEl/Ftge1U9c0QmtWn/R7K5x7rM92/XUeYqcXp9gsacOTJEmM67CBNV6tOYvkY5TbTRf8Tq+AZ4bOcb9I0q7GzwCFL3mS6slkxHqGggw=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1744228191; c=relaxed/simple;
bh=iKHGLemhzk3uHUAz4LpV1Fw0Td/QQ91NdA7pA6TSqSU=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=kqn2jLQRJpL6SCnTi/Pz3WRpp+7urMUYjv20PG5efAJ/dpuahu7mErR5aznm9JOgCrnTAp2OwELTKnxW/70p4O4cPo+yyfWNoW0yPAW1/Nhw4mrTLtp+nGrIOn6V1R0htYCV5Mxv8F7rGrAWP+wyRJ2Llmo0xsD0R9UbVwlkpyI=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 692E83857037
Message-ID: <f34666fe-f8da-4364-a5e7-b2328b2f1c80@SystematicSW.ab.ca>
Date: Wed, 9 Apr 2025 13:49:48 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Latest c-ares build compile failure from sys/unistd.h
To: Cygwin <cygwin AT cygwin DOT com>
Organization: Systematic Software
X-Rspamd-Server: rspamout02
X-Rspamd-Queue-Id: 9573620
X-Stat-Signature: wfj1po1hqwa5eifxp94yzqacupfubxuu
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX19iZ2eAEfFfOhGCajb7XAaZumpBZ9qG64o=
X-HE-Tag: 1744228189-508847
X-HE-Meta: U2FsdGVkX1+x85D7s0o4FiE+nBHSV4v/Dw0Z4YoNv8HTuaOsj+f2dF1Xa5ikP3wXf1DtMSq0YeDBQbp69rbDy9i80JQ1Yv48pBpZ4sewWtOgn6ckehAgsLniGO8ytEe5AOtl4gueh8qBjojCz+Y8+KreJm3BOkiny5bFWHBxea5cLz9lyeD+C2XpedCZOp7PCHB2Lx9UudTGSP93npUSP6Mp6Fdt7jKl6kd/CcLW95EuiDPF3orLAkgKVdhSSAEPuZTPiV7uG3g4+JviU2YPVWvUMs/jGdTAoRrMXHCaP4O9mmXBmO+QdBAg7sGog9geNRZXczkmoRyZXrsiwaFTOnXparJW8NgZ
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-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>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 539Joqme2887367

Hi folks,

Latest c-ares build failing with gcc 12.4 and Cygwin 3.6.0 header:

$ uname -srvmo
CYGWIN_NT-10.0-19045 3.6.0-1.x86_64 2025-03-18 17:01 UTC x86_64 Cygwin
$ gcc --version
gcc (GCC) 12.4.0
Copyright (C) 2022 Free Software Foundation, Inc.
...

/usr/include/sys/unistd.h:218:14: error: expected ';' before 'void'
   218 | static inline void setproctitle_init (int _c, char *_a[], char *_e[]) {}
       |              ^~~~~
       |              ;

$ ll -gG /usr/include/sys/unistd.h
-rw-r--r-- 1 23K Mar 18 11:09 /usr/include/sys/unistd.h
...
215     #if defined(__CYGWIN__) && __BSD_VISIBLE
216     /* Stub for Linux libbsd compatibility. */
217     #define initsetproctitle(c, a, e) setproctitle_init((c), (a), (e))
218     static inline void setproctitle_init (int _c, char *_a[], char *_e[]) {}
219
220     void setproctitle (const char *, ...)
221                        _ATTRIBUTE ((__format__ (__printf__, 1, 2)));
222     #endif
...

includes latest fix to definition; also tried with original definition.

Not seeing any obvious issues with storage class and type specifiers mentioned.

For now, build working with !defined(__CYGWIN__) hack.

No problem with other builds! Ideas welcome ;^>

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