delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/16/12:14:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C576F387090E
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=utahime.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yasu AT utahime DOT org
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org;
s=maybe2019112701; t=1608138797;
bh=GvkssxpamGPfN5iEckKmjm2QZNY+bXsqD2qD9VdQmYc=;
h=Date:To:Subject:From:In-Reply-To:References;
b=FlZpY2HG24jWMXawncid2Sxi0vNTVR2T0PNRp0ZzcvjBWFVFVSqH6bbGnyK8uPSBw
WweCnHngewKLzTWzSwfSfsRA4UmsHLf7QqA0gsIMmkOdCzV1QhmNajpeFIW8qKseBz
lBfwsMD9rgQWOJ+4aNeZ9LFTUrQR/rvR1t3X0XBIrGkWCwkPM6BNjXlCthpu5mXtjH
M9WdcqgSDV0OQfC4ojmoLqSMy/P6eFssaRRNXZLCEPd7z+08WgznoroheVnFOVQpAA
SUu74xyGGqsCOZcgl3NaT/sLw41FKhVmg7D1NScqOog5zp50DBGlXxjtpUpo42Z1C5
TaT82Eim2kZIg==
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.0 at eastasia.home.utahime.org
Date: Thu, 17 Dec 2020 02:12:55 +0900 (JST)
Message-Id: <20201217.021255.1122192410492034948.yasu@utahime.org>
To: cygwin AT cygwin DOT com
Subject: Re: bash-4.4.12-3: Building package with gcc-10.2 fails due to
duplicate symbols
From: Yasuhiro KIMURA <yasu AT utahime DOT org>
In-Reply-To: <56098a17b6d54173b0cfc67e28558dbc@frims060.wamas.com>
References: <56098a17b6d54173b0cfc67e28558dbc AT frims060 DOT wamas DOT com>
X-Mailer: Mew version 6.8 on Emacs 27.1
Mime-Version: 1.0
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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-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>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

From: Mattl Mario <Mario DOT Mattl AT ssi-schaefer DOT com>
Subject: bash-4.4.12-3: Building package with gcc-10.2 fails due to duplicate symbols
Date: Wed, 16 Dec 2020 16:58:25 +0000

> With the GCC-10.2 Compiler package it's not possible to build the bash-src package anymore.
> 
> I firstly recognized the same issue with a bash-4.3 package, which we are currently using in our toolchain.
> So I decided to try building the Cygwin bash-src package (of course using the common cygport mechanism for applying all patches)

In GCC 10 default is changed from -fcommon to -fno-common. And your
build error is typical case caused by this change.

You can work around it by using -fcommon.

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