ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Denis Medvedev <nbr@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>,
	"Dmitry V. Levin" <ldv@altlinux.org>
Subject: Re: [devel] I: GCC >= 10 defaults to -fno-common
Date: Thu, 3 Dec 2020 18:42:45 +0300
Message-ID: <b44c0de7-cf04-0015-0e0b-6f6d5ebaf604@altlinux.org> (raw)
In-Reply-To: <20201203151448.GA13112@altlinux.org>

On 12/3/20 6:14 PM, Dmitry V. Levin wrote:
> Hi,
>
> В связи с предстоящим обновлением GCC в Сизифе, которое будет анонсировано
> отдельно, я бы хотел обратить внимание на одно существенное изменение
> в поведении GCC по умолчанию[1][2], начиная с версии 10:
>
> "GCC now defaults to -fno-common.  As a result, global variable accesses
> are more efficient on various targets.  In C, global variables with
> multiple tentative definitions now result in linker errors.
> With -fcommon such definitions are silently merged during linking."
>
> В Сизифе около 400 пакетов, которые не готовы к этому изменению в GCC.
> При попытке собрать эти пакеты происходит ошибка, сопровождающаяся
> характерной диагностикой в логе сборки, например:
>
> /usr/bin/ld.default: CMakeFiles/genisoimage.dir/checksum.o:/usr/src/RPM/BUILD/cdrkit-1.1.11/genisoimage/genisoimage.h:379: multiple definition of `outfile'; CMakeFiles/genisoimage.dir/genisoimage.o:/usr/src/RPM/BUILD/cdrkit-1.1.11/genisoimage/genisoimage.h:379: first defined here
>
> Как правило, эта ошибка сборки - признак того, что пакет заброшен
> или форкнут.  Вот список всех таких пакетов:

Годится такое описание по исправлению у нас?

https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common



  parent reply	other threads:[~2020-12-03 15:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 15:14 Dmitry V. Levin
2020-12-03 15:35 ` Alexey Gladkov
2020-12-03 15:37   ` Dmitry V. Levin
2020-12-03 17:38     ` Vladimir D. Seleznev
2020-12-03 17:54       ` Dmitry V. Levin
2020-12-03 18:24         ` Vladimir D. Seleznev
2020-12-04  1:21           ` Andrey Savchenko
2020-12-04 10:15             ` Vladimir D. Seleznev
2020-12-04 10:18               ` Aleksei Nikiforov
2020-12-04 10:32                 ` Vladimir D. Seleznev
2020-12-04 10:35                 ` Andrey Savchenko
2020-12-03 15:42 ` Denis Medvedev [this message]
2020-12-03 15:52   ` Dmitry V. Levin
2020-12-04  9:43     ` Andrey Savchenko
2020-12-03 17:54 ` Sergey Y. Afonin
2020-12-03 20:30   ` Anton Gorlov
2021-02-17 16:06   ` Sergey Y. Afonin
2021-02-17 18:13     ` Alexey V. Vissarionov
2020-12-03 20:49 ` Michael Shigorin
2020-12-03 21:52   ` Michael Shigorin
2020-12-03 22:14     ` Dmitry V. Levin
2020-12-04  1:05   ` Andrey Savchenko
2020-12-04  8:21     ` Sergey V Turchin
2020-12-04  8:43       ` Andrey Savchenko
2020-12-04  8:47         ` Sergey V Turchin
2020-12-03 23:29 ` Leonid Krivoshein
2020-12-03 23:39   ` Dmitry V. Levin
2020-12-03 23:45     ` Leonid Krivoshein
2020-12-04  9:35 ` Andrey Savchenko
2020-12-07 12:07 ` Aleksei Nikiforov

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=b44c0de7-cf04-0015-0e0b-6f6d5ebaf604@altlinux.org \
    --to=nbr@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=ldv@altlinux.org \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git