ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] I: glibc 2.38
Date: Wed, 23 Aug 2023 11:57:47 +0400
Message-ID: <ZOW7+yRGZRry2Wl4@glebfm.altlinux.org> (raw)

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

Hi,

В Сизиф отправился glibc 2.38.

https://sourceware.org/pipermail/libc-alpha/2023-July/150524.html

Enjoy!


GraphicsMagick	sbolshakov @everybody
	*** buffer overflow detected ***: terminated
	Magick: abort due to signal 6 (SIGABRT) "Abort"...
	Result: FAIL
	[...]
	Failed 1/33 test programs. 0/404 subtests failed.
	make: *** [Makefile:969: test_dynamic] Error 255

	В glibc наконец появились strlcat/strlcpy, так что мы получили
	более новую реализацию этих функций, и она здесь детектит
	переполнение c -D_FORTIFY_SOURCE=3, глубже я не смотрел.


a2ps	george @everybody
	x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\"
	-DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I. -pipe
	-frecord-gcc-switches -Wall -g -O2 -flto=auto -c path-concat.c	-fPIC -DPIC -o
	.libs/path-concat.o
	path-concat.c:25:29: error: expected identifier or '(' before 'void'
	25 | # define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))
	path-concat.c:25:37: error: expected ')' before '(' token
	25 | # define mempcpy(D, S, N) ((void *) ((char *) memcpy (D, S, N) + (N)))

	https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=30e3ca78f92be44f46851557f54b47e789bd3416

	Этот пакет сначала определяет макрос mempcpy(D, S, N), а после этого
	подключает string.h, а в новой версией glibc чтобы получить определение
	mempcpy больше не нужно включать _GNU_SOURCE.  В результате макрос
	применяется к определению функции mempcpy в string.h и компилятор
	получает полную чушь.
	Во-первых, макрос нужно определять после подключения хэдеров, во-вторых
	само наличие mempcpy в libc тоже стоит сначала проверять, макрос
	HAVE_MEMPCPY сейчас нигде не определяется.


citra	nenderus @everybody
libtasn1	sem ldv
	/usr/src/RPM/BUILD/citra-unified-source-20230721-a537f56/src/common/file_util.cpp:327:70: error: ignoring attributes on template argument 'int (*)(FILE*)' [-Werror=ignored-attributes]
	  327 |     using CFilePointer = std::unique_ptr<FILE, decltype(&std::fclose)>;

	https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=71d9e0fe766a3c22a730995b9d024960970670af
	("Add __nonnull for FILE * arguments of fclose and freopen")


jack_capture	antohami @everybody
	gcc -I/opt/local/include -O3 -DVERSION=\"0.9.73\" -Wall -Wextra -Wno-unused jack_capture.c
	vringbuffer.c upwaker.c osc.c -o jack_capture  -ljack -lsndfile -lm -lpthread -lrt
	`cat config_flags`
	jack_capture.c:912:5: error: conflicting types for 'asprintf'; have 'int(char **,
	char *, ...)'
	912 | int asprintf(char **buffer, char *fmt, ...) {

	https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=0d5cb2ae27c0a163c15e5222fb132bf9d026b14b
	("<stdio.h>: Make fopencookie, vasprintf, asprintf available by default")


libredwg	cas @everybody
libtpcmisc	viy @everybody
mytetra	majioa @everybody
	dwg2SVG.c: In function 'output_TEXT':
	dwg2SVG.c:245:10: error: implicit declaration of function 'strcasestr'; did you mean
	'strcasecmp'? [-Werror=implicit-function-declaration]
	245 |	    && strcasestr (style->font_file, ".ttf")
	|	   strcasecmp
	dwg2SVG.c:245:10: error: nested extern declaration of 'strcasestr' [-Werror=nested-externs]
	cc1: all warnings being treated as errors
	make[2]: *** [Makefile:817: dwg2SVG.o] Error 1
	--
	dwggrep.c: In function 'do_match':
	dwggrep.c:242:11: error: implicit declaration of function 'strcasestr'; did you mean
	'strcasecmp'? [-Werror=implicit-function-declaration]
	242 |	    if (strcasestr (text, pattern))
	|	    strcasecmp
	dwggrep.c:242:11: error: nested extern declaration of 'strcasestr' [-Werror=nested-externs]
	cc1: all warnings being treated as errors
	make[2]: *** [Makefile:838: dwggrep-dwggrep.o] Error 1

	https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=30e3ca78f92be44f46851557f54b47e789bd3416
	("<string.h>: Make strchrnul, strcasestr, memmem available by default")

-- 
glebfm

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

                 reply	other threads:[~2023-08-23  7:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=ZOW7+yRGZRry2Wl4@glebfm.altlinux.org \
    --to=glebfm@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