diff options
| -rw-r--r-- | meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch | 34 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb | 3 |
2 files changed, 36 insertions, 1 deletions
diff --git a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch new file mode 100644 index 0000000000..8e01e17e91 --- /dev/null +++ b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 3ee8798764919cd3f7d983f99f6189bbb940d639 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: "mark.yang" <mark.yang@lge.com> | ||
| 3 | Date: Thu, 10 Apr 2025 10:53:14 +0900 | ||
| 4 | Subject: [PATCH] Fix build error with gcc-15 | ||
| 5 | |||
| 6 | * Fix the following build error with gcc-15: | ||
| 7 | nbench1.c:3520:13: error: conflicting types for 'adjust_mid_wts'; have 'void(int)' | ||
| 8 | 3520 | static void adjust_mid_wts(int patt) | ||
| 9 | | ^~~~~~~~~~~~~~ | ||
| 10 | In file included from nbench1.c:64: | ||
| 11 | nbench1.h:373:13: note: previous declaration of 'adjust_mid_wts' with type 'void(void)' | ||
| 12 | 373 | static void adjust_mid_wts(); | ||
| 13 | | ^~~~~~~~~~~~~~ | ||
| 14 | |||
| 15 | Upstream-Status: Inappropriate [no upstream] | ||
| 16 | |||
| 17 | Signed-off-by: mark.yang <mark.yang@lge.com> | ||
| 18 | --- | ||
| 19 | nbench1.h | 2 +- | ||
| 20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 21 | |||
| 22 | diff --git a/nbench1.h b/nbench1.h | ||
| 23 | index 13a5907..b81ca82 100644 | ||
| 24 | --- a/nbench1.h | ||
| 25 | +++ b/nbench1.h | ||
| 26 | @@ -370,7 +370,7 @@ static void do_out_error(int patt); | ||
| 27 | static void worst_pass_error(); | ||
| 28 | static void do_mid_error(); | ||
| 29 | static void adjust_out_wts(); | ||
| 30 | -static void adjust_mid_wts(); | ||
| 31 | +static void adjust_mid_wts(int patt); | ||
| 32 | static void do_back_pass(int patt); | ||
| 33 | static void move_wt_changes(); | ||
| 34 | static int check_out_error(); | ||
diff --git a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb index 9e1cedc2df..da03ebb291 100644 --- a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb +++ b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb | |||
| @@ -9,7 +9,8 @@ SECTION = "console/utils" | |||
| 9 | 9 | ||
| 10 | SRC_URI = "https://fossies.org/linux/misc/old/${BP}.tar.gz \ | 10 | SRC_URI = "https://fossies.org/linux/misc/old/${BP}.tar.gz \ |
| 11 | file://nbench_32bits.patch \ | 11 | file://nbench_32bits.patch \ |
| 12 | file://Makefile-add-more-dependencies-to-pointer.h.patch" | 12 | file://Makefile-add-more-dependencies-to-pointer.h.patch \ |
| 13 | file://0001-Fix-build-error-with-gcc-15.patch" | ||
| 13 | 14 | ||
| 14 | SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac" | 15 | SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac" |
| 15 | 16 | ||
