ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel]  I: gcc 13.1.1
@ 2023-06-22 13:35 Gleb Fotengauer-Malinovskiy
  2023-06-22 22:04 ` Vitaly Chikunov
  2023-07-22 12:01 ` Gleb Fotengauer-Malinovskiy
  0 siblings, 2 replies; 3+ messages in thread
From: Gleb Fotengauer-Malinovskiy @ 2023-06-22 13:35 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 7794 bytes --]

Hi,

В Сизиф отправился gcc 13.1.1.

https://gcc.gnu.org/gcc-13/changes.html
https://gcc.gnu.org/gcc-13/porting_to.html

Enjoy!

Пакеты, сборка которых сломалась:

CGenius	ildar @everybody
Cardinal	iv @everybody
DirectXShaderCompiler	lakostis @everybody
MySQL	rider mike shaba nickel
PsyDoom	arbars @everybody
RODOS3	pauli @everybody
adriconf	lakostis @everybody
airsane	nickel @everybody
alacenc	nenderus @everybody
astromenace	george @everybody
bstone	arbars @everybody
camotics	antohami @qa
ccache	lav @qa @everybody
chromium-gost	george @everybody
claws-mail	sem @qa @cpan
colobot	cas @everybody
deepin-image-editor	lvol @everybody
denise	arbars @everybody
endless-sky	alexeys @everybody
fastonosql	lav @everybody
fcitx	viy oddity @everybody
fcitx5	viy @everybody
fcitx5-mozc	viy @everybody
filezilla	rider @everybody
flycast	arbars @everybody
freecad	cas @everybody
gdal	boyarsh @qa @everybody
geos	cas @everybody
givaro	lvol @everybody
gmsh	slazav @everybody
gz-common	cas @everybody
gz-rendering	cas @everybody
horizon	antohami @everybody
ima-inspect	mikhailnov @everybody
indilib	viy @everybody
itk	ptrnine @everybody
kcov	glebfm @qa
kodi-addon-inputstream-adaptive	sbolshakov @everybody
kodi-addon-inputstream-ffmpegdirect	sbolshakov @everybody
kumir2	cas dd @everybody
libbotan-1.10	viy @everybody
libbroker	lav @everybody
libcaf	lav @everybody
libdap	viy @everybody
libdnf	cas @everybody
libfilezilla	rider @everybody
libgrokj2k	lav @everybody
libmfx	lav @everybody
libmtxclient	manowar @everybody
libolm	manowar @everybody
libopencv	rider grenka
liborcus	george @everybody
libowt-tg	lav
libproj	slazav @everybody
libuniset2	pv @everybody
libwaylandpp	sbolshakov @everybody
libwebsockets	lav @everybody
libxdf	rider @everybody
lilypond	rider @everybody
lizardfs	andy @everybody
llvm11.1	lakostis @everybody
llvm12.0	arseny @everybody
lnav	mike @everybody
lzdoom	arbars @everybody
manatee-open	kirill @everybody
mapsoft2	slazav @everybody
marss-riscv	arei @everybody
meshlab	antohami dd @everybody
mfgtools	zorg @everybody
mysql-workbench-community	geochip @everybody
node	lav
openFPGALoader	antohami @everybody
opencpn	asy @everybody
openexr	zerg
openexr25	thatman @everybody
openmsx	arbars @everybody
openrgb	lav @everybody
percona-xtrabackup80	taf @everybody
php7-swoole	naf @everybody
php8.0-swoole	naf @everybody
php8.1-swoole	naf @everybody
php8.2-swoole	naf @everybody
pingus	oddity @qa @everybody
purple-whatsapp	shaba @everybody
python3-module-fasttext	aris
qt5-webengine	zerg
qt5-webkit	zerg
qt6-webengine	zerg
radeon-memory-visualizer	lakostis @everybody
radiotray-ng	neurofreak @everybody
relive	arbars @everybody
ring-project	zerg @everybody
rocclr	lakostis @everybody
rocksdb	shaba @everybody
rpi-imager	sin @everybody
rr	vt @everybody
sfizz	iv @everybody
slade	arbars @everybody
snes9x	nenderus @everybody
taler	drool @everybody
tcpflow	ender @everybody
texlive	viy @everybody
ton	lav @everybody
tsugaru	arbars @everybody
uhd	antohami @everybody
urbackup-client	shaba @everybody
usbguard	zerg @everybody
virtualbox	sin nbr greh
visualboyadvance-m	oddity @everybody
vkBasalt	oddity @everybody
vkmark	zagagyka @everybody
vtk	rider @everybody
warzone2100	rider @everybody
wesnoth	viy @everybody
widelands	antohami @everybody
wxsvg	rider @everybody
xmrig	drool @everybody
xournalpp	george @everybody
yubioath-desktop	ancieg @everybody
zmusic	arbars @everybody
zynaddsubfx	sbolshakov @everybody
	The following headers are used less widely in libstdc++ and may need to be included explicitly when compiling with GCC 13:
	* <string> (for std::string, std::to_string, std::stoi etc.)
	* <system_error> (for std::error_code, std::error_category, std::system_error).
	* <cstdint> (for std::int8_t, std::int32_t etc.)
	* <cstdio> (for std::printf, std::fopen etc.)
	* <cstdlib> (for std::strtol, std::malloc etc.)

	В этих пакетах не хватает <cstdint>, в большинстве случаев код ожидает, что он
	вытянется через <string>.


gzdoom	arbars @everybody
mariadb	shaba @everybody
raze	arbars @everybody
supertuxkart	lvol @everybody
xmr-stak	drool @everybody
	Тут код ожидает, что через <mutex> вытянется <cstdio>.


cppcheck	ruslandh @everybody
libmsgpack	shaba @everybody
nlohmann-json	manowar @everybody
python3-module-greenlet	@python @everybody
zeromq	crux @everybody
	allocator_traits<A>::rebind_alloc<A::value_type> must be A
	GCC 13 now checks that allocators used with the standard library can be
	"rebound" to allocate memory for a different type, as required by the allocator
	requirements in the C++ standard. If an allocator type Alloc<T> cannot be
	correctly rebound to another type Alloc<U>, you will get an error like this:
	.../bits/alloc_traits.h:70:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A

	https://github.com/danmar/cppcheck/pull/5146


android-file-transfer	viy @everybody
ares	arbars @everybody
libreoffice-online	rider mvoronov @everybody
pdns	shaba piastry sin @qa
	Тут код ожидает, что через header <mutex> вытянется header <stdexcept>.


chromium	legion cas
megafuse	lav danil
	Тут код ожидает, что через <mutex> вытянется <string>.


libtasn1	sem ldv
sbsigntools	vt @everybody
	Better -Wmaybe-uninitialized warning.


openl2tp	sbolshakov @everybody
tvheadend	sbolshakov @everybody
	Better -Wuse-after-free.


acme-client	vseleznv @everybody
	New C warning:
	-Wenum-int-mismatch warns about mismatches between an enumerated type and
	an integer type.


blender	rider egori @everybody
	Тут код ожидает, что через <mutex> вытянется <system_error>.


citra	nenderus @everybody
	Тут код ожидает, что через <mutex> вытянутся <string> и <string_view>.


kde5-digikam	zerg darktemplar
	Тут код ожидает, что через <mutex> вытянется <cctype>.


spdk	lvol @everybody
	После обновления gcc, clang-15 не может найти -lstdc++.


sprng	mcpain underwit @everybody
	После этого коммита
	https://gcc.gnu.org/g:261d5a4a459bd49942e53bc83334ccc7154a09d5
	в этом коде оказывается два array.


sslscan	vt @everybody
	Better -fanalyzer.


kodi	sbolshakov zerg rider
	Better -Wstringop-overflow.


cataclysm-dda	sem @everybody
	New warnings:
	  * -Wdangling-reference warns when a reference is bound to a temporary whose
	    lifetime has ended (PR106393).


libva-intel-media-driver	rider @everybody
	https://github.com/intel/media-driver/commit/069c26903eb0ce95577243c30dc1b739483a7c16


opentoonz	rider @everybody
	New -Wchanges-meaning warnin:
	-Wno-changes-meaning (C++ and Objective-C++ only)
	C++ requires that unqualified uses of a name within a class have the
	same meaning in the complete scope of the class, so declaring the name
	after using it is ill-formed.


telegram-desktop	lav zerg
	https://github.com/telegramdesktop/tdesktop/commit/b48dee0af7cb195f9f0913bb4e2e740481b04731


tzdata	@core
	https://github.com/eggert/tz/commit/9cfe9507fcc22cd4a0c4da486ea1c7f0de6b075f


vkQuake	vkni @everybody
	Better -Wuninitialized warning.


glaxnimate	arbars @everybody
	Тут ошибка в самом компиляторе, баг зарепорчен:
	https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110315
	Пока что можно собрать пакет с помощью gcc12.

-- 
glebfm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] I: gcc 13.1.1
  2023-06-22 13:35 [devel] I: gcc 13.1.1 Gleb Fotengauer-Malinovskiy
@ 2023-06-22 22:04 ` Vitaly Chikunov
  2023-07-22 12:01 ` Gleb Fotengauer-Malinovskiy
  1 sibling, 0 replies; 3+ messages in thread
From: Vitaly Chikunov @ 2023-06-22 22:04 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Thu, Jun 22, 2023 at 05:35:38PM +0400, Gleb Fotengauer-Malinovskiy wrote:
> В Сизиф отправился gcc 13.1.1.
> sbsigntools	vt @everybody
> 	Better -Wmaybe-uninitialized warning.

Тут, видимо, ошибка GCC. В Fedora и Opensuse добавляют
"-Wno-error=maybe-uninitialized" в CFLAGS. Но оказалось, что ошибка
пропадает при отключении LTO. (По коду там тоже инициализация есть.)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] I: gcc 13.1.1
  2023-06-22 13:35 [devel] I: gcc 13.1.1 Gleb Fotengauer-Malinovskiy
  2023-06-22 22:04 ` Vitaly Chikunov
@ 2023-07-22 12:01 ` Gleb Fotengauer-Malinovskiy
  1 sibling, 0 replies; 3+ messages in thread
From: Gleb Fotengauer-Malinovskiy @ 2023-07-22 12:01 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

Hi,

On Thu, Jun 22, 2023 at 05:35:38PM +0400, Gleb Fotengauer-Malinovskiy wrote:
> В Сизиф отправился gcc 13.1.1.
[...]
> glaxnimate	arbars @everybody
> 	Тут ошибка в самом компиляторе, баг зарепорчен:
> 	https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110315
> 	Пока что можно собрать пакет с помощью gcc12.

В баге произошла активность и был предложен патч, который исправляет эту
проблему.  Он пока что не попал в бранч releases/gcc-13, но я решил не
ждать и в пакете gcc13 13.1.1-alt2 баг исправлен.
Я собрал glaxnimate с gcc13 и парой других исправлений.

-- 
glebfm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-22 12:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-22 13:35 [devel] I: gcc 13.1.1 Gleb Fotengauer-Malinovskiy
2023-06-22 22:04 ` Vitaly Chikunov
2023-07-22 12:01 ` Gleb Fotengauer-Malinovskiy

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