[devel] I: GCC >= 10 defaults to -fno-common

Dmitry V. Levin ldv на altlinux.org
Чт Дек 3 18:14:48 MSK 2020


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

Как правило, эта ошибка сборки - признак того, что пакет заброшен
или форкнут.  Вот список всех таких пакетов:

AutoScan-1.50-alt2	lav @qa @everybody
acme-client-0.1.16-alt1.2	lav @everybody
acpica-20190816-alt1	shaba @everybody
afpfs-ng-0.8.1-alt3_25	viy @everybody
aircrack-ng-1.6-alt1	darktemplar @everybody
android-tools-8.1.0-alt3.r23	sbolshakov @everybody
angband-4.1.2-alt1	george @qa
apache2-mod_nss-1.0.18-alt1	slev @everybody
aqualung-1.0-alt3	george @qa
argyllcms-1.9.2-alt1	aris
asco-0.4.10-alt2	lav @qa
athcool-0.3.12-alt1	@nobody
audit-2.8.5-alt5.git.e4021a9	rider sem @everybody
aumix-2.9.1-alt1.qa1	mike @qa @everybody
autodafe-0.1-alt2_6	viy @everybody
awesome-4.3-alt3	evg
barcode-0.99-alt1	rider @everybody
bfgminer-5.5.0-alt1	drool @everybody
bindfs-1.13.9-alt1	zerg @everybody
biniax2-1.30-alt2.qa1	george @qa
bird-1.6.8-alt2	crux shaba rider
bk-20050826-alt3	@nobody
bld-0.3.4.1-alt2	@nobody
bluez-alsa-5:2.1.0-alt1	lakostis @everybody
bluez-tools-0.2.0-alt2.git20161212	cow @everybody
bristol-0.60.11-alt4	iv @everybody
bumblebee-3.2.1-alt11	aris sem zerg
bygfoot-2.3.2-alt1	oddity @everybody
cairo-dock-plugins-3.4.1-alt14.2	antohami @everybody
cdemu-daemon-3.2.4-alt1	nenderus
cdf-0.2-alt1.qa1	@nobody
cdrkit-1:1.1.11-alt1.qa1	ldv @qa
cellwriter-1.3.5-alt1	mike @qa
chemtool-1.6.14-alt1	mike @qa
clip-1.2.0cvs-alt5	lav cas @qa @everybody
clips-6.23-alt1.2	@nobody
compiz-0.9.14.1-alt3	shrek
conky-1.9.0-alt2	vseleznv
coriander-2.0.1-alt1.qa1	lav @everybody
cpio-2.12-alt1	ldv
crm114-1.0-alt2	cow @everybody
crtools-ovz-3.12.5.52-alt1	andy @everybody
cuneiform-1.1.0-alt4	rt george rider
cups-backend-bjnp-2.0.1-alt2	mcpain @everybody
cvoicecontrol-0.9-alt2.alpha.qa1	zerg
cyclades-serial-client-0.93-alt4	oddity @everybody
ddcal-0.9-alt4	slazav @everybody
ddccontrol-0.4.2-alt17.20140603git9d89d8c	viy @everybody
ddrutility-2.8-alt1	mike @everybody
deepin-daemon-1:5.11.0.36-alt5	lvol @everybody
deepin-system-monitor-5.8.0.4-alt1	lvol @everybody
denemo-2.3.0-alt1	majioa @everybody
desproxy-0.1.0-alt0.2.qa2	@nobody
dhcp-1:4.4.2-alt1	sem
dia2code-0.8.8-alt1	george @everybody
dillo-3.0.5-alt3	naf @qa
dirb-2.22-alt2	arei @everybody
distcc-3.3.3-alt1	lav @everybody
dmenu-wl-0.1-alt1	legion
drbd-utils-9.13.1-alt1	snejok @everybody
dsd-1.7.0-alt3.20150806.1	antohami @everybody
dump-0.4b44-alt2	sbolshakov @everybody
duperemove-0.11.1-alt1	naf @qa
dvdisaster-0.72.3-alt3	@nobody
dwdiff-2.1.1-alt3	lav @qa
e-uae-0.8.29-alt2	george @everybody
ee-1.4.6-alt1	rt @everybody
efax-0.9a051015-alt3	lav @qa
emelfm2-0.9.0-alt1	crux @everybody
emu8051-0.71-alt1.qa1	@nobody
eresi-0.83-alt3	lav @everybody
erlang-1:21.3.6-alt3	nbr shaba
etherape-0.9.13-alt1	oddity @qa
evrouter-0.4-alt1.qa1	@nobody
exofs-utils-0.1-alt1.2	lav @everybody
extlinux-6.04.pre3-alt2	legion
fachoda-2.1-alt3	@nobody
fakenes-0.5.9-alt1.5.beta3	oddity @qa @everybody
fatsort-1.4.2.439-alt3	x09 @everybody
fbi-2.14-alt1	aris
fdutils-5.5.20081027-alt3	ldv @qa
ff-clone-1.2-alt1	george @everybody
fillup-1.42-alt6.qa1	mike @qa
finger-1.3-alt2	arei @everybody
firestarter-1.0.3-alt4	@nobody
flow-tools-ng-0.68.5-alt3	lav @everybody
fmio-2.0.8-alt3	zerg @everybody
foremost-1.5.7-alt1	lav @qa
fossology-nomos-3.8.0-alt1	vt @everybody
free-sa-1.6.2-alt3.2	rider @everybody
freedroid-1.0.2-alt1.qa1	george @everybody
freedroidrpg-0.16.1-alt2	zerg @everybody
fuse-compFUSEd-200712321-alt2.qa1	ildar @everybody
fuse-funion-0.4.3-alt1.qa1	lav @qa
gMTP-1.3.11-alt1.1	jinn @everybody
gadmin-proftpd-0.2.8-alt2.qa1	@nobody
galculator-2.1.4-alt1	mike @gnome @everybody
gamazons-0.83-alt4_19	viy @everybody
gcompris-15.10-alt6.1	cas @python @everybody @qa
gdado-2.2-alt5.qa1	@nobody
geda-gaf-2:1.9.2-alt4	lav @everybody
geekcode-1.7.3-alt2_18	viy @everybody
geeqie-1.5.1-alt1	aris
gerbv-2.6.2-alt2	lav @qa @everybody
ggaoed-1.1-alt2	sbolshakov @everybody
ggz-gtk-games-0.0.14.1-alt2.qa1	@nobody
gimp-plugin-lqr-0.7.2-alt1	mike @qa @everybody
gimp-plugin-wavelet-denoise-0.3.1-alt2	aris
gimp-plugin-wavelet-sharpen-0.1.2-alt3	aris
girl-10.0.0-alt1	aris
gkrellm-gtodo-0.2.4-alt1	@nobody
gkrellm-webmon-0.2-alt2.1.qa1	@nobody
gluegen2-2.3.2-alt1_11jpp8	viy @everybody
gnome-games-atomix-3.34.0-alt1	aris
gnugo-3.8-alt1.qa1.1	@nobody
gnupg-1.4.23-alt1	ldv
gnupg2-2.2.19-alt2	manowar
gnurobbo-0.66-alt2	@nobody
gnustep-gworkspace-0.9.4-alt1	cas @everybody
gnustep-opal-r37181-alt5	lav @everybody
gnustep-terminal-0.9.8-alt8	cas @everybody
goaccess-1.1.1-alt1	valintinr @everybody
gpm-1.20.1-alt18.1	ldv
gpredict-2.2.1-alt1	antohami @everybody
gprolog-1.4.5-alt1	oddity @everybody
gqview-2.1.5-alt8	@nobody
gravit-0.5.0-alt1.1	george @everybody
grdesktop-0.23-alt0.4	lav mike @qa
gringotts-1.2.10-alt1.qa1	@nobody
grsync-1.2.8-alt1	grenka
gtick-0.5.1-alt1	@nobody
gtv-dvb-2.2-alt3	antohami @everybody
gwc-0.21.17-alt2	mike @everybody
gwget-1.0.4-alt4.1	shaba @everybody
gxneur-0.20.0-alt2	cas @everybody
halibut-1.2-alt1	george @everybody
hardinfo-0.6-alt0.1.alpha.gitb2991d7	@nobody
heroes-sdl-0.21-alt2.1	george @qa
hnb-1.9.18-alt1.qa1	@nobody
hp2xx-3.4.2-alt1	mike @everybody
hping2-2.0.0-alt4.rc2.qa3	@nobody
hping3-0.0.20051105-alt6	evg @everybody
hydra-8.9.1-alt1	oddity
i3status-2.9-alt1	vkni @everybody
i7z-93.20131013-alt1	bircoph @everybody
icukrell-2.0.0-alt2_pre0.1.qa1	@nobody
ifplugd-0.28-alt5	mike shrek @qa
igt-gpu-tools-1.24-alt1	george @everybody
inn-2.6.3-alt2.1	crux @everybody
intercal-0.30-alt1	ldv @everybody
iouyap-0.97-alt1.1	antohami @everybody
iozone-3.489-alt3	lav @qa
ipband-0.8.1-alt1	oddity @everybody
ipmitool-1.8.18-alt3	rider
ipv6calc-0.94.1-alt1	@nobody
ipxe-1:20190817-alt1.git0b3000bb	shaba
iscan-free-2.20.0-alt6	lav @qa @everybody
italc3-3.0.3-alt2	cas @everybody
iverilog-10.2-alt1	lineprinter @everybody
jabber-muc-0.8.81-alt0.1	lakostis @everybody
jamin-0.95.0-alt2.1	george @qa
java-1.7.0-openjdk-0:1.7.0.221-alt3_2.6.18.0jpp8	viy @everybody
java-10-openjdk-0:10.0.2.13-alt2_7jpp9	viy @everybody
jfsutils-1.1.15-alt3	mike led @qa @everybody
kannel-1.5.0-alt1.cvs20091101.3	week @qa
kbd-0:2.0.4-alt3	legion
kernel-image-ovz-el7-1:3.10.0-alt4.1127.10.1.vz7.162.9	vt andy
kexec-tools-2.0.20-alt1	sbolshakov @everybody
koules-1.4-alt10	mike @everybody
lazy-0.24d-alt2.qa1	@nobody
lcdproc-0.5.7-alt3	mike @everybody
lde-2.6.1-alt0.1.qa1	lav @qa
libacpi-0.2-alt2_28	viy @everybody
libcf-mpi-1.0-alt2.beta1.2011092223.1	darktemplar @everybody
libexplain-1.4-alt1	lav @everybody
libfpx-1.3.1-alt1.10	viy @everybody
libfreeglut-3.2.1-alt2	aris
libgdchart-0.11.5-alt1.1.qa1	@nobody
libhippo-canvas-0.3.0-alt4.20081111.1	@sugar
libiscsi-1.19.0-alt1	mike @everybody
liblbxutil-1.1.0-alt2	george @everybody
libmirage-3.2.4-alt1	nenderus
libmp3hip-0.1.2.1-alt3	pav @everybody
libnfc-nci-2.4-alt2.dev.git20190613	nickel @qa
libomxil-bellagio-0.9.3-alt1_24	viy @everybody
libopenaptx-1.0.0-alt0.1.gebcf004	lakostis @everybody
libopenshot-0.2.5-alt1	aris
libowfat-0.31-alt1	darktemplar @everybody
libsieve-2.2.5-alt1.qa2	enp @qa
libtpcmisc-1.4.8-alt2_17	viy @everybody
libunicap-0.9.12-alt1	mcpain @everybody
libunwind-1.1-alt3	glebfm @everybody
libxine2-1.2.9-alt2	sbolshakov @everybody
libxview-3.2p1.4-alt10	viy @everybody
light-1.2.2-alt1_2	viy @everybody
lilo-24.2-alt2	ldv rider led
linuxcnc-2.7.15-alt3	antohami @everybody
liquidwar-5.6.4-alt6.1	george @everybody
logjam-4.6.2-alt1	lav @everybody
lterm-1.5.1-alt1	evg @everybody
ltxml-1.2.7-alt2.1	@nobody
lua5.1-module-cqueues-20190813-alt1	shaba @everybody
lxde-lxtask-0.1.9-alt1	@lxde @qa
magicpoint-1.13a-alt4.20140908	rider @everybody
mailx-8.1.2-alt7	ldv
mar-20070301-alt1.qa1	@nobody
matchbox-window-manager-1.2-alt4.1	@sugar @everybody
mbm-gps-control-0.1.0-alt2	week @everybody
mbrowse-0.4.3-alt3	oddity @everybody
mcabber-1.0.5-alt1	mithraen gns
megaglest-3.13.0-alt1	darktemplar @everybody
menu-cache-1.1.0-alt1	@lxde gns antohami @qa
minicom-2.7.1-alt1	antohami @everybody
minidlna-1.2.1-alt1	sbolshakov @everybody
mjpg-streamer-r160-alt1_6.2	viy @everybody
mmg3d-4.0-alt1	@nobody
mosquitto-1.6.3-alt1	pv @everybody
mot-adms-2.3.4-alt1.1	antohami @everybody
motion-4.1.1-alt3	ruslandh @everybody
mp3splt-gtk-0.9.2-alt1	aris
mtink-1.0.16-alt1	mcpain @everybody
mtpaint-3.49.27-alt1	george @qa
mtproto-proxy-0.1-alt1.1	lav @everybody
mtr-0.82-alt3	mike ldv evg ender @qa
multipath-tools-0.8.3-alt2	shrek mike @everybody
mures-0.5-alt6.qa2	lav rider @qa
musepack-r475-alt2	@nobody
mutt-3:1.10.1-alt2	glebfm
nail-10.7-alt1.qa1	@nobody
nas-1.9.4-alt2.git20131009	@nobody
nautilus-python-1.2.3-alt1	shaba @everybody
ncftp-1:3.2.4-alt1.qa1	oddity @qa
netatalk-3.1.12-alt3	mike @everybody
netplan-0.98-alt1	obirvalger @everybody
netwalk-0.4.10-alt6	@nobody
neverball-1.6.0-alt1	oddity @qa
nibbles-0.0.4-alt1.qa2	george @qa
nickle-2.68-alt2.1.qa1	oddity @everybody
ninvaders-0.1.1-alt2_16	viy @everybody
ntp-4.2.8p15-alt1	asy mike @qa
nvclock-0.8b4-alt5.qa1	mike @qa
nx-libs-3.5.99.22-alt1	pv @everybody
nyquist-3.12-alt1	aris
obshutdown-0.1-alt3	akv @everybody
ocl-icd-2.2.12-alt1	lav @everybody
omi-1.6.2-alt1	lav @everybody
open-iscsi-2.0.877-alt1.git73652184	snejok @everybody
openal-1.19.1-alt1	shrek @everybody
opencpn-5.0.0-alt5	asy @everybody
opendchub-0.8.3-alt1.2	lav @qa
opennhrp-0.14.1-alt1	ender @everybody
openocd-0.10.0-alt1.git.930.g09eb941cb	ildar @everybody
openrrcp-0.2.1-alt1	ender @everybody
openscap-1.3.0-alt1	alexey @everybody
openssh-7.9p1-alt1	glebfm ldv
openssh-gostcrypto-7.9p1-alt3.gost	glebfm @everybody
oroborus-2.0.20-alt1	@nobody
ossec-hids-3.1.0-alt2	nickel @everybody
owfs-3.2p2-alt2	week viy @python @everybody
p0f-2.0.8-alt1	@nobody
pacemaker-2.0.3-alt2	cas @everybody
pantheon-files-4.4.4-alt1	aris
partclone-0.3.12-alt1	klark @everybody
passivedns-1.2.1-alt1	darktemplar @everybody
pax-3.4-alt8	darktemplar @everybody
pcc-1.0.0-alt2	oddity @qa
pcsxr-1.9.93-alt3	nenderus @everybody
pd-0.42.6-alt3_12	viy @everybody
perftest-4.4-alt1	darktemplar @everybody
perl-CGI-SpeedyCGI-2.22-alt8.2	viy @cpan
pgpool-II-4.0.2-alt1	@nobody
phlipple-0.8.5-alt3	george @everybody
pidgin-plugin-mrim-0.1.28-alt3	@nobody
pktriggercord-0.77.10-alt1	@nobody
pnm2ppa-1.13-alt1	mcpain @everybody
policyd-1.82-alt3.1.qa1	naf @qa
pommed-1.39-alt8	@nobody
prboom-2.5.0-alt0.3.1	oddity @everybody
prboom-plus-2.5.1.3-alt1.1	@nobody
procdump-1.1.1-alt1	lav @everybody
proxychains-3.1-alt2	@nobody
purple-xmpp-http-upload-0.1-alt1	ekorneechev @everybody
python-module-caja-1:1.20.0-alt2_1	boyarsh viy @everybody
python-module-gudev-147.2-alt1.1	aris
python-module-notify-0.1.1-alt6.1	@python
python-module-parted-3.11.1-alt1.1	@python @everybody
python-module-pygtkimageview-1.1.0-alt1.1.1.1	lav @qa
python-module-sipsimple-3.5.0-alt1	cas @everybody
python-module-tapioca-0.14.1.0-alt1.2.1.1	@python
qplay-0.7.3-alt0.1.qa1	@nobody
qstat-2.14-alt1.85fbecb	darktemplar @everybody
qt-fsarchiver-0.8.4.0-alt2	ruslandh @everybody
quagga-1.2.4-alt4	asy rider
read-edid-3.0.2-alt2	slazav @qa
reaver-1.4-alt1	drool @everybody
redirector-3.2.8-alt1.qa1	@nobody
rezerwar-0.4.2-alt1	george @everybody
rox-base-2.11-alt1	cas @everybody
roxterm-3.1.4-alt4	akv @everybody
rsyslog-8.2006.0-alt1	shaba
scmpc-0.4.1-alt1.git20130304	@nobody
scsitarget-utils-1.0.79-alt1	piastry @everybody
sdlscav-145.1_2010_11_5-alt1	zerg @everybody
seaview-4.7-alt1	oddity @everybody
seven-gnomes-0.5-alt2	viy @everybody
silver-searcher-2.2.0-alt2	vkni @everybody
simh-3.11.0-alt1	vkni @everybody
sipsak-0.9.7-alt1	darktemplar @everybody
sjog-cvs20040812-alt4.1	@nobody
skippy-0.5.0-alt2.qa1	@nobody
slapi-nis-0.56.3-alt1	slev @everybody
smstools-3.1.21-alt1	crux @everybody
sniffit-0.3.7-alt4	george @qa
snobol-4.1.5-alt2.qa1	oddity @everybody
snort-2.9.7.0-alt3	sem oddity timonbl4 @qa @everybody
softgun-0.22-alt2	george @everybody
sope-5.0.1-alt1	cas @everybody
soundtracker-0.6.8-alt6	lav @everybody
spacefm-1.0.6-alt3	antohami @everybody
spectrum-fuse-utils-1.5.7-alt1	majioa @everybody
speech-dispatcher-0.8.8-alt2	msp manowar @everybody
squashfs-tools-4.4-alt1	rider
squid-kerberos-ldap-helper-1.2.2-alt1.1	manowar @qa @everybody
squidGuard-1.4-alt1.qa1	@nobody
squidclam-0.23-alt1	@nobody
startdde-5.6.0.11-alt2	lvol @everybody
stereograph-0.30a-alt2	dd @everybody
streebog-0.11-alt3.git8de633e	cas @everybody
suite3270-3.5ga11-alt2.1	nbr @everybody
suspend-utils-1.0-alt1.git668c5f7	vseleznv @qa
sven-0.6-alt3	@nobody
swftools-0.9.2-alt3	mike @everybody
syslinux-2:4.04-alt16	zerg mike
t4k_common-0.1.1-alt4.gita6c6b15	rider viy @everybody
tcsh-6.20.00-alt2	gremlin @everybody
texlive-2019-alt1_7	viy @everybody
tftp-5.2-alt2	sbolshakov @everybody
thinkfan-0.9.1-alt1	evg @everybody
tinyfugue-5.0beta8-alt1	vkni @everybody
torsmo-0.18-alt3.qa2	oddity @qa
transcode-1.1.7-alt13	rider @qa @everybody
trinity-1.9-alt1	pav @everybody
trousers-0.3.14-alt1	sbolshakov @everybody
tty-solitaire-1.3.0-alt1	grenka
tuxmath-2.0.3-alt5	rider viy @everybody
tvheadend-4.2.8-alt2	sbolshakov @everybody
typespeed-0.6.5-alt1.qa1	@nobody
uae-0.8.29-alt3	george @everybody
ucarp-1.5.2-alt1	taf @everybody
udev-alsa-0.3-alt3	shrek @everybody
uftp-4.9.8-alt1	lav @everybody
unfs3-0.9.22-alt5	mike @everybody
unnethack-5.2.0-alt2	george @everybody
usbip-2.0.4-alt6	pv led @everybody
vblade-19-alt1.qa1	@nobody
vice-3.4-alt2	mike @qa @everybody
vifm-0.10.1-alt2	sin @everybody
viking-1.7.0-alt3	asy boyarsh @everybody
vinagre-3.22.0-alt4	aris shaba
vlc-3.0.11.1-alt2	rider
vpcs-0.8-alt2.20171012	antohami @everybody
vpn-ws-0.2-alt3	enp @everybody
vzctl-7.0.236-alt1	glebfm shaba andy
warsow-2.1.2-alt1	darktemplar @everybody
webalizer-2.23.08.RB30-alt1	mike @qa
welcome2l-3.04-alt4.qa1	@nobody
wf-0.41-alt1.qa1	evg @everybody
wiki2html-0.1-alt2	lav @qa @everybody
wmCalClock-1.25-alt10	@nobody
wmMatrix-0.2-alt3.qa2	@nobody
wmMoonClock-1.27-alt4.qa1	@nobody
wmWeather-1.31-alt4.qa1	mike @qa
wmacpi-2.2rc4-alt0.2	mike @qa
wmclockmon-0.8.1-alt5.qa1	@nobody
wmgtemp-1.1-alt2	lakostis @everybody
wmhdaps-0.04-alt3	mike @everybody
wmmon-1.0b2-alt5	mike @everybody
wmpiki-0.2.1-alt4.1	mike @qa
wmpower-0.4.3-alt1.qa1	@nobody
wmsm-0.2.1-alt3	mike @everybody
wmsysmon-0.7.7-alt2	@nobody
wmtimer-2.92-alt3	@nobody
wmtop-0.84-alt7	@nobody
wput-0.6.1-alt1	darktemplar @everybody
wraplinux-1.7-alt1	ruslandh @qa
x11vnc-0.9.16-alt1	boyarsh evg @everybody
xbanner-1:1.31-alt1.qa1	@nobody
xblast-2.10.4-alt1	george @qa
xboard-4.9.1-alt1	grenka
xboing-2.4-alt2	george
xcrysden-1.5.60-alt1	lav @everybody
xorg-drv-amdgpu-19.1.0-alt1	george @everybody
xorg-drv-ati-4:19.1.0-alt1	shrek
xoscope-2.2-alt2	lav @everybody
xppaut-6.10-alt2	viy @everybody
xtrkcad-4.0.3a-alt2	george @qa @everybody
yices-2.3.0-alt3	@nobody
zabbix-module-sockets-1.1.0-alt4	evg @everybody
zabbix-module-systemd-1.0.0-alt4	evg @everybody
ziproxy-3.3.0-alt1	rt @everybody

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


-- 
ldv


Подробная информация о списке рассылки Devel