* [Bug localedata/31336] New: Glibc tests failed to compile with GCC 14
@ 2024-02-04 3:09 hjl.tools at gmail dot com
2024-02-04 5:59 ` [Bug localedata/31336] " hjl.tools at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-04 3:09 UTC (permalink / raw)
To: libc-locales
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug localedata/31336] Glibc tests failed to compile with GCC 14
2024-02-04 3:09 [Bug localedata/31336] New: Glibc tests failed to compile with GCC 14 hjl.tools at gmail dot com
@ 2024-02-04 5:59 ` hjl.tools at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-04 5:59 UTC (permalink / raw)
To: libc-locales
https://sourceware.org/bugzilla/show_bug.cgi?id=31336
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is a GCC 14 bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113752
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-04 5:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-04 3:09 [Bug localedata/31336] New: Glibc tests failed to compile with GCC 14 hjl.tools at gmail dot com
2024-02-04 5:59 ` [Bug localedata/31336] " hjl.tools at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).