From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <743-406-3965@kylheku.com> Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) by sourceware.org (Postfix) with ESMTPS id B91E33858C27 for ; Sat, 10 Oct 2020 19:22:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B91E33858C27 Received: from kylheku.com ([70.79.163.252]) by shaw.ca with ESMTPA id RKRykIIATHxtDRKRzkp8WL; Sat, 10 Oct 2020 13:22:40 -0600 X-Authority-Analysis: v=2.4 cv=Ce22WJnl c=1 sm=1 tr=0 ts=5f820a00 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=afefHYAZSVUA:10 a=5KLPUuaC_9wA:10 a=9KSMdzhRxSKOVMLlgj8A:9 a=-RaHEQZb-KDjp0pk:21 a=tUwl3fyoBf4vXsDY:21 a=QEXdDO2ut3YA:10 a=dolt4MYYHAfsExJjzPQ9:22 a=p-dnK0njbqwfn1k4-x12:22 a=MURpYVOlrLSSKvKaDb7l:22 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from <743-406-3965@kylheku.com>) id 1kRKRy-0001BM-LD for cygwin@cygwin.com; Sat, 10 Oct 2020 12:22:38 -0700 To: cygwin@cygwin.com Subject: Problem building =?UTF-8?Q?cygwin-=33=5F=31=5F=37-release=20tagge?= =?UTF-8?Q?d=20newlib=2E?= X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Sat, 10 Oct 2020 12:22:38 -0700 From: "Kaz Kylheku (Cygwin)" <743-406-3965@kylheku.com> Message-ID: X-Sender: 743-406-3965@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4xfGbzDp91oWm9pLBIDv4pZbbNBmcnx+cl6NcO/YULXMx7JSi5UuS2KJXTn9A4uoOlkpN9grzzuJDaIhacQJCpq+rCQFtZolRTJfedkfkjQlBQaGggfhkY ndfpjgrMCMSl7LzwgTvuYPdkX9Tdg25/I7HdVOdbVGsc43zyBw+il9LGtAzDFb6KrOmuLcBHGDL9Hw== X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, FROM_STARTS_WITH_NUMS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2020 19:22:43 -0000 Hi, I'm trying to build the 3.1.7 tagged newlib. It runs into this problem: c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall=20 -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin=20 -fmessage-length=3D0 -MMD -Wimplicit-fallthrough=3D5 -Werror=20 -fmerge-constants -ftracer -c -o _cygwin_crt0_common.o=20 =2E./../.././winsup/cygwin/lib/_cygwin_crt0_common.cc In file included from ../../.././winsup/cygwin/winsup.h:83, from=20 =2E./../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:9: =2E./../.././winsup/cygwin/winlean.h:104:16: error: redefinition of=20 'struct _MEM_ADDRESS_REQUIREMENTS' 104 | typedef struct _MEM_ADDRESS_REQUIREMENTS | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/w32api/minwindef.h:163, from /usr/include/w32api/windef.h:9, from /usr/include/w32api/windows.h:69, from ../../.././winsup/cygwin/winlean.h:56, from ../../.././winsup/cygwin/winsup.h:83, from=20 =2E./../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:9: /usr/include/w32api/winnt.h:4896:18: note: previous definition of=20 'struct _MEM_ADDRESS_REQUIREMENTS' 4896 | typedef struct _MEM_ADDRESS_REQUIREMENTS { | ^~~~~~~~~~~~~~~~~~~~~~~~~ This looks like a clash between the installed toolchain header and the=20 one in the winsup tree? Is this a known problem? Maybe I shouldn't be using the native Cygwin compiler for rebuilding the=20 Cygwin DLL; what is the right way?