[Bug localedata/31336] New: Glibc tests failed to compile with GCC 14
hjl.tools at gmail dot com
sourceware-bugzilla@sourceware.org
Sun Feb 4 03:09:53 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=31336
Bug ID: 31336
Summary: Glibc tests failed to compile with GCC 14
Product: glibc
Version: 2.40
Status: NEW
Severity: normal
Priority: P2
Component: localedata
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: libc-locales at sourceware dot org
Target Milestone: ---
I got
In file included from tests-mbwc/tst_iswalnum.c:7:
tests-mbwc/tsp_common.c: In function ?result.constprop.isra?:
tests-mbwc/tsp_common.c:55:43: error: ?%s? directive writing up to 92 bytes
into a region of size between 2 and 114 [-Werror=format-overflow=]
55 | sprintf (result_rec, "%s:%s:%d:%d:%d:%c:%s\n", func, loc, rec_no,
seq_no,
| ^~
tests-mbwc/tsp_common.c:55:3: note: ?sprintf? output between 20 and 224 bytes
into a destination of size 132
55 | sprintf (result_rec, "%s:%s:%d:%d:%d:%c:%s\n", func, loc, rec_no,
seq_no,
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | case_no, res, msg);
| ~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [../o-iterator.mk:9:
/export/build/gnu/tools-build/glibc-test/build-x86_64-linux/localedata/tst_iswalnum.o]
Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list