Bug 15728

Summary: [tzcode-native] Incorrect setting of compiler in EXTRA_OEMAKE from 2023d version
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alessio Cascone <Alessio.Cascone>
Component: coreAssignee: Alessio Cascone <Alessio.Cascone>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: unspecified   
Target Milestone: 5.2 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alessio Cascone 2025-01-25 15:19:29 UTC
The tzcode-native.bb recipe allows to pass to tzcode makefile a specific C compiler, using EXTRA_OEMAKE, with the following instruction: EXTRA_OEMAKE += "cc='${CC}'".

In versions before 2023d such setting was working properly.
Starting from 2023d version, instead, this approach is not working anymore: this seems to be due to changes in tzcode makefile executed in 2023d version (https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/WSF4TA5RFP7ECRKUKQFRHYN724HDMRTO/).

I fixed that behavior updating the instruction as follow: EXTRA_OEMAKE += "CC='${CC}'"
Comment 1 Randy MacLeod 2025-01-28 19:46:11 UTC
Hi Alessio,

Thanks for the bug report and for documenting the fix/work-around.
Would you be willing to send a patch to the oe-core list?
If so, this may help: https://docs.yoctoproject.org/contributor-guide/index.html
Comment 2 Alessio Cascone 2025-01-29 08:31:38 UTC
Hi Randy,

I sent the patch for this issue: https://patchwork.yoctoproject.org/project/oe-core/patch/20250129073129.8734-1-alessio.cascone@vimar.com/
Comment 3 Alessio Cascone 2025-03-12 11:01:06 UTC
Patch has been accepted and merged to master branch.