public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Yasuhiro KIMURA <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
Date: Thu, 17 Dec 2020 02:12:55 +0900 (JST)	[thread overview]
Message-ID: <20201217.021255.1122192410492034948.yasu@utahime.org> (raw)
In-Reply-To: <56098a17b6d54173b0cfc67e28558dbc@frims060.wamas.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

      reply	other threads:[~2020-12-16 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 16:58 Mattl Mario
2020-12-16 17:12 ` Yasuhiro KIMURA [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201217.021255.1122192410492034948.yasu@utahime.org \
    --to=yasu@utahime.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).