bash-4.4.12-3: Building package with gcc-10.2 fails due to duplicate symbols

Yasuhiro KIMURA yasu@utahime.org
Wed Dec 16 17:12:55 GMT 2020


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


More information about the Cygwin mailing list