From: Mattl Mario <mario.ma...@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

Reply via email to