ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksei Nikiforov <darktemplar@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] I: GCC >= 10 defaults to -fno-common
Date: Mon, 7 Dec 2020 15:07:31 +0300
Message-ID: <c99ec3fb-f2b0-12ec-573f-d23a74dcff00@altlinux.org> (raw)
In-Reply-To: <20201203151448.GA13112@altlinux.org>

03.12.2020 18:14, Dmitry V. Levin пишет:
> 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
> 
> Как правило, эта ошибка сборки - признак того, что пакет заброшен
> или форкнут.  Вот список всех таких пакетов:
> 
> aircrack-ng-1.6-alt1	darktemplar @everybody
> libcf-mpi-1.0-alt2.beta1.2011092223.1	darktemplar @everybody
> libowfat-0.31-alt1	darktemplar @everybody
> megaglest-3.13.0-alt1	darktemplar @everybody
> passivedns-1.2.1-alt1	darktemplar @everybody
> pax-3.4-alt8	darktemplar @everybody
> perftest-4.4-alt1	darktemplar @everybody
> qstat-2.14-alt1.85fbecb	darktemplar @everybody
> sipsak-0.9.7-alt1	darktemplar @everybody
> warsow-2.1.2-alt1	darktemplar @everybody
> wput-0.6.1-alt1	darktemplar @everybody

В данных пакетах проблема сборки с опцией -fno-common должна быть 
исправлена.

> 
> [1] https://gcc.gnu.org/gcc-10/porting_to.html#common
> [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678
> 
> 



      parent reply	other threads:[~2020-12-07 12:07 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
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 [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=c99ec3fb-f2b0-12ec-573f-d23a74dcff00@altlinux.org \
    --to=darktemplar@altlinux.org \
    --cc=devel@lists.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