X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.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@utahime.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@cygwin.com
Subject: Re: bash-4.4.12-3: Building package with gcc-10.2 fails due to
 duplicate symbols
From: Yasuhiro KIMURA <yasu@utahime.org>
In-Reply-To: <56098a17b6d54173b0cfc67e28558dbc@frims060.wamas.com>
References: <56098a17b6d54173b0cfc67e28558dbc@frims060.wamas.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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

From: Mattl Mario <Mario.Mattl@ssi-schaefer.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
