delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/10/15:23:32

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B18E3857820
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1602357764;
bh=oJUs7aLYPVD91DD9VbDlPwP4MhThOh5hDTZ51WFAGxM=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=Au8kGHZyUWj6T40b/Se6xMZevQLOQGgl4UPlv37QHG2L0Zerzw+ZtesZIGhvMA0Jk
/WDG6IG1fD2ysiVQMdwKMyUhpeaFTyQyGnndmGEKG15PFQG0lDB5TUms789jiLC6yO
PEJLchqgXts13nB63hRkxqvljoES4HUor5wuRgWA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B91E33858C27
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
To: cygwin AT cygwin DOT 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
Date: Sat, 10 Oct 2020 12:22:38 -0700
Message-ID: <bc891064e524067b663bfdaaf7ee0995@mail.kylheku.com>
X-Sender: 743-406-3965 AT kylheku DOT 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 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: "Kaz Kylheku \(Cygwin\) via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Kaz Kylheku \(Cygwin\)" <743-406-3965 AT kylheku DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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 
-Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin 
-fmessage-length=0 -MMD -Wimplicit-fallthrough=5 -Werror 
-fmerge-constants -ftracer -c -o _cygwin_crt0_common.o 
../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc
In file included from ../../.././winsup/cygwin/winsup.h:83,
                  from 
../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:9:
../../.././winsup/cygwin/winlean.h:104:16: error: redefinition of 
'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 
../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc:9:
/usr/include/w32api/winnt.h:4896:18: note: previous definition of 
'struct _MEM_ADDRESS_REQUIREMENTS'
  4896 |   typedef struct _MEM_ADDRESS_REQUIREMENTS {
       |                  ^~~~~~~~~~~~~~~~~~~~~~~~~

This looks like a clash between the installed toolchain header and the 
one in the winsup tree?

Is this a known problem?

Maybe I shouldn't be using the native Cygwin compiler for rebuilding the 
Cygwin DLL; what is the right way?

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