* [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error
@ 2025-12-01 18:41 Ryan Eatmon
2025-12-01 18:45 ` PRC Automation
2025-12-05 20:48 ` Denys Dmytriyenko
0 siblings, 2 replies; 4+ messages in thread
From: Ryan Eatmon @ 2025-12-01 18:41 UTC (permalink / raw)
To: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
The coremark binary includes a copy of the compiler flags in the output
which breaks the reproducible build tenet of Yocto. This patch simply
replaces COMPILER_FLAGS with "".
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
..._main-Remove-printing-compiler-flags.patch | 41 +++++++++++++++++++
| 5 ++-
2 files changed, 45 insertions(+), 1 deletion(-)
create mode 100644 meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
diff --git a/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch b/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
new file mode 100644
index 00000000..ef7c78b2
--- /dev/null
+++ b/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
@@ -0,0 +1,41 @@
+From 0af4e2298ccacc8afc0294b7a731f0e866155427 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Mon, 1 Dec 2025 12:21:23 -0600
+Subject: [PATCH] core_main: Remove printing compiler flags
+
+Reproducible builds do not like including anything that references the
+build environment on the host machine. This would include printing out
+the COMPILER_FLAGS macro. Substitute it with "".
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ core_main.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/core_main.c b/core_main.c
+index a4beeb6..f0ab87f 100644
+--- a/core_main.c
++++ b/core_main.c
+@@ -380,7 +380,7 @@ for (i = 0; i < MULTITHREAD; i++)
+ ee_printf("Iterations : %lu\n",
+ (long unsigned)default_num_contexts * results[0].iterations);
+ ee_printf("Compiler version : %s\n", COMPILER_VERSION);
+- ee_printf("Compiler flags : %s\n", COMPILER_FLAGS);
++ ee_printf("Compiler flags : %s\n", ""); //Reproducible build fix: COMPILER_FLAGS);
+ #if (MULTITHREAD > 1)
+ ee_printf("Parallel %s : %d\n", PARALLEL_METHOD, default_num_contexts);
+ #endif
+@@ -410,7 +410,7 @@ for (i = 0; i < MULTITHREAD; i++)
+ default_num_contexts * results[0].iterations
+ / time_in_secs(total_time),
+ COMPILER_VERSION,
+- COMPILER_FLAGS);
++ ""); //Reproducible build fix: COMPILER_FLAGS);
+ #if defined(MEM_LOCATION) && !defined(MEM_LOCATION_UNSPEC)
+ ee_printf(" / %s", MEM_LOCATION);
+ #else
+--
+2.43.0
+
--git a/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb b/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
index 1e002c06..9d770c44 100644
--- a/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
+++ b/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
@@ -3,7 +3,10 @@ SUMMARY = "The benchmark utility to measure the performance of CPU"
LICENSE = "Coremark"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0a18b17ae63deaa8a595035f668aebe1"
-SRC_URI = "git://github.com/eembc/coremark.git;branch=main;protocol=https"
+SRC_URI = " \
+ git://github.com/eembc/coremark.git;branch=main;protocol=https \
+ file://0001-core_main-Remove-printing-compiler-flags.patch \
+"
PV = "1.01+git"
SRCREV = "1f483d5b8316753a742cbf5590caf5bd0a4e4777"
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error
2025-12-01 18:41 [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error Ryan Eatmon
@ 2025-12-01 18:45 ` PRC Automation
2025-12-05 20:48 ` Denys Dmytriyenko
1 sibling, 0 replies; 4+ messages in thread
From: PRC Automation @ 2025-12-01 18:45 UTC (permalink / raw)
To: Ryan Eatmon; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
meta-arago / na / 20251201184100.1372032-1-reatmon
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
+From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Mon, 1 Dec 2025 12:41:00 -0600
+Date: Mon, 1 Dec 2025 12:21:23 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 170e989365362f8ba8a6ac2bd3f0ac92d01f8759
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.master.202511180100
- Commit SHA: 82a437373896b01cd89d456dcc9cb28521b64ac7
Patches
----------------------------------------
FAIL - [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error
.git/rebase-apply/patch:51: trailing whitespace.
--
.git/rebase-apply/patch:53: new blank line at EOF.
+
error: meta-arago-test/recipes-benchmark/coremark/coremark_git.bb: does not exist in index
Applying: coremark: Clean up buildpaths QA error
Patch failed at 0001 coremark: Clean up buildpaths QA error
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error
2025-12-01 18:41 [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error Ryan Eatmon
2025-12-01 18:45 ` PRC Automation
@ 2025-12-05 20:48 ` Denys Dmytriyenko
2025-12-05 21:04 ` Ryan Eatmon
1 sibling, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2025-12-05 20:48 UTC (permalink / raw)
To: reatmon; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Mon, Dec 01, 2025 at 12:41:00PM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
> The coremark binary includes a copy of the compiler flags in the output
> which breaks the reproducible build tenet of Yocto. This patch simply
> replaces COMPILER_FLAGS with "".
This is also needed on scarthgap, where it is a warning, not an error, but
still.
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
> ..._main-Remove-printing-compiler-flags.patch | 41 +++++++++++++++++++
> .../coremark/coremark_git.bb | 5 ++-
> 2 files changed, 45 insertions(+), 1 deletion(-)
> create mode 100644 meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
>
> diff --git a/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch b/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
> new file mode 100644
> index 00000000..ef7c78b2
> --- /dev/null
> +++ b/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
> @@ -0,0 +1,41 @@
> +From 0af4e2298ccacc8afc0294b7a731f0e866155427 Mon Sep 17 00:00:00 2001
> +From: Ryan Eatmon <reatmon@ti.com>
> +Date: Mon, 1 Dec 2025 12:21:23 -0600
> +Subject: [PATCH] core_main: Remove printing compiler flags
> +
> +Reproducible builds do not like including anything that references the
> +build environment on the host machine. This would include printing out
> +the COMPILER_FLAGS macro. Substitute it with "".
> +
> +Upstream-Status: Inappropriate [OE-Specific]
> +
> +Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> +---
> + core_main.c | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/core_main.c b/core_main.c
> +index a4beeb6..f0ab87f 100644
> +--- a/core_main.c
> ++++ b/core_main.c
> +@@ -380,7 +380,7 @@ for (i = 0; i < MULTITHREAD; i++)
> + ee_printf("Iterations : %lu\n",
> + (long unsigned)default_num_contexts * results[0].iterations);
> + ee_printf("Compiler version : %s\n", COMPILER_VERSION);
> +- ee_printf("Compiler flags : %s\n", COMPILER_FLAGS);
> ++ ee_printf("Compiler flags : %s\n", ""); //Reproducible build fix: COMPILER_FLAGS);
> + #if (MULTITHREAD > 1)
> + ee_printf("Parallel %s : %d\n", PARALLEL_METHOD, default_num_contexts);
> + #endif
> +@@ -410,7 +410,7 @@ for (i = 0; i < MULTITHREAD; i++)
> + default_num_contexts * results[0].iterations
> + / time_in_secs(total_time),
> + COMPILER_VERSION,
> +- COMPILER_FLAGS);
> ++ ""); //Reproducible build fix: COMPILER_FLAGS);
> + #if defined(MEM_LOCATION) && !defined(MEM_LOCATION_UNSPEC)
> + ee_printf(" / %s", MEM_LOCATION);
> + #else
> +--
> +2.43.0
> +
> diff --git a/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb b/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
> index 1e002c06..9d770c44 100644
> --- a/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
> +++ b/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
> @@ -3,7 +3,10 @@ SUMMARY = "The benchmark utility to measure the performance of CPU"
> LICENSE = "Coremark"
> LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0a18b17ae63deaa8a595035f668aebe1"
>
> -SRC_URI = "git://github.com/eembc/coremark.git;branch=main;protocol=https"
> +SRC_URI = " \
> + git://github.com/eembc/coremark.git;branch=main;protocol=https \
> + file://0001-core_main-Remove-printing-compiler-flags.patch \
> +"
> PV = "1.01+git"
> SRCREV = "1f483d5b8316753a742cbf5590caf5bd0a4e4777"
>
> --
> 2.43.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error
2025-12-05 20:48 ` Denys Dmytriyenko
@ 2025-12-05 21:04 ` Ryan Eatmon
0 siblings, 0 replies; 4+ messages in thread
From: Ryan Eatmon @ 2025-12-05 21:04 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On 12/5/2025 2:48 PM, Denys Dmytriyenko wrote:
> On Mon, Dec 01, 2025 at 12:41:00PM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
>> The coremark binary includes a copy of the compiler flags in the output
>> which breaks the reproducible build tenet of Yocto. This patch simply
>> replaces COMPILER_FLAGS with "".
>
> This is also needed on scarthgap, where it is a warning, not an error, but
> still.
Agreed.
>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>> ..._main-Remove-printing-compiler-flags.patch | 41 +++++++++++++++++++
>> .../coremark/coremark_git.bb | 5 ++-
>> 2 files changed, 45 insertions(+), 1 deletion(-)
>> create mode 100644 meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
>>
>> diff --git a/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch b/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
>> new file mode 100644
>> index 00000000..ef7c78b2
>> --- /dev/null
>> +++ b/meta-arago-test/recipes-benchmark/coremark/coremark/0001-core_main-Remove-printing-compiler-flags.patch
>> @@ -0,0 +1,41 @@
>> +From 0af4e2298ccacc8afc0294b7a731f0e866155427 Mon Sep 17 00:00:00 2001
>> +From: Ryan Eatmon <reatmon@ti.com>
>> +Date: Mon, 1 Dec 2025 12:21:23 -0600
>> +Subject: [PATCH] core_main: Remove printing compiler flags
>> +
>> +Reproducible builds do not like including anything that references the
>> +build environment on the host machine. This would include printing out
>> +the COMPILER_FLAGS macro. Substitute it with "".
>> +
>> +Upstream-Status: Inappropriate [OE-Specific]
>> +
>> +Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> +---
>> + core_main.c | 4 ++--
>> + 1 file changed, 2 insertions(+), 2 deletions(-)
>> +
>> +diff --git a/core_main.c b/core_main.c
>> +index a4beeb6..f0ab87f 100644
>> +--- a/core_main.c
>> ++++ b/core_main.c
>> +@@ -380,7 +380,7 @@ for (i = 0; i < MULTITHREAD; i++)
>> + ee_printf("Iterations : %lu\n",
>> + (long unsigned)default_num_contexts * results[0].iterations);
>> + ee_printf("Compiler version : %s\n", COMPILER_VERSION);
>> +- ee_printf("Compiler flags : %s\n", COMPILER_FLAGS);
>> ++ ee_printf("Compiler flags : %s\n", ""); //Reproducible build fix: COMPILER_FLAGS);
>> + #if (MULTITHREAD > 1)
>> + ee_printf("Parallel %s : %d\n", PARALLEL_METHOD, default_num_contexts);
>> + #endif
>> +@@ -410,7 +410,7 @@ for (i = 0; i < MULTITHREAD; i++)
>> + default_num_contexts * results[0].iterations
>> + / time_in_secs(total_time),
>> + COMPILER_VERSION,
>> +- COMPILER_FLAGS);
>> ++ ""); //Reproducible build fix: COMPILER_FLAGS);
>> + #if defined(MEM_LOCATION) && !defined(MEM_LOCATION_UNSPEC)
>> + ee_printf(" / %s", MEM_LOCATION);
>> + #else
>> +--
>> +2.43.0
>> +
>> diff --git a/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb b/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
>> index 1e002c06..9d770c44 100644
>> --- a/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
>> +++ b/meta-arago-test/recipes-benchmark/coremark/coremark_git.bb
>> @@ -3,7 +3,10 @@ SUMMARY = "The benchmark utility to measure the performance of CPU"
>> LICENSE = "Coremark"
>> LIC_FILES_CHKSUM = "file://LICENSE.md;md5=0a18b17ae63deaa8a595035f668aebe1"
>>
>> -SRC_URI = "git://github.com/eembc/coremark.git;branch=main;protocol=https"
>> +SRC_URI = " \
>> + git://github.com/eembc/coremark.git;branch=main;protocol=https \
>> + file://0001-core_main-Remove-printing-compiler-flags.patch \
>> +"
>> PV = "1.01+git"
>> SRCREV = "1f483d5b8316753a742cbf5590caf5bd0a4e4777"
>>
>> --
>> 2.43.0
--
Ryan Eatmon reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-12-05 21:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-01 18:41 [meta-arago][master][PATCH] coremark: Clean up buildpaths QA error Ryan Eatmon
2025-12-01 18:45 ` PRC Automation
2025-12-05 20:48 ` Denys Dmytriyenko
2025-12-05 21:04 ` Ryan Eatmon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.