54d088036b
- Fix runtime issues with v6.8 kernel (bsc#1222249) New patch: get-shm_flag-defines-from-the-appropriate-include-file-for-linux-6.8-kernel.patch New patch: pr31373-deal-with-the-removal-of-strlcpy-from-linux-6.8.patch - Fix gcc14 build errors (bsc#1221706) New patch: bpf-translate.cxx-fix-build-against-upcoming-gcc14.patch New patch: pr31288-build-with-gcc14-cont.patch New patch: pr31288-build-with-gcc14.patch New patch: staprun-fix-build-against-upcoming-gcc14.patch New patch: stapvirt.c-more-gcc-14-werror-calloc-transposed-args-compatibility.patch OBS-URL: https://build.opensuse.org/request/show/1164226 OBS-URL: https://build.opensuse.org/package/show/devel:tools/systemtap?expand=0&rev=148
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
Author: Frank Ch. Eigler <fche@redhat.com>
|
|
Date: Thu Jan 25 16:46:33 2024 -0500
|
|
Subject: PR31288: build with gcc14 cont'd
|
|
Git-commit: 11353cf4e90b2344db5609a543c5ccd894550831
|
|
References: bsc#1221706
|
|
Signed-off-by: Tony Jones <tonyj@suse.de>
|
|
|
|
diff --git a/runtime/softfloat.c b/runtime/softfloat.c
|
|
index 709e45d2f..869efdf46 100644
|
|
--- a/runtime/softfloat.c
|
|
+++ b/runtime/softfloat.c
|
|
@@ -614,6 +614,7 @@ uint_fast64_t
|
|
|Converting a fp to a str
|
|
*------------------------------------------------------------------------*/
|
|
|
|
+char* itoa(uint64_t val);
|
|
char* itoa(uint64_t val)
|
|
{
|
|
int base = 10;
|
|
diff --git a/stapregex.cxx b/stapregex.cxx
|
|
index e25992bb2..d0371beee 100644
|
|
--- a/stapregex.cxx
|
|
+++ b/stapregex.cxx
|
|
@@ -103,6 +103,7 @@ void
|
|
stapdfa::emit_declaration (translator_output *o) const
|
|
{
|
|
o->newline() << "// DFA for \"" << orig_input << "\"";
|
|
+ o->newline() << "int " << func_name << " (struct context * __restrict__ c, const char *str);";
|
|
o->newline() << "int " << func_name << " (struct context * __restrict__ c, const char *str) {";
|
|
o->indent(1);
|
|
|