Bug 15826

Summary: Disabling multilib for riscv targets
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Sundeep Kokkonda <sundeep.kokkonda>
Component: devtools / tool chainAssignee: Trevor Gamblin <tgamblin>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium+ CC: mark.hatle, meta.mr.watcher, meta.watcher, raj.khem, randy.macleod, tgamblin
Version: unspecified   
Target Milestone: 6.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Sundeep Kokkonda 2025-04-09 07:12:18 UTC
The default GCC configuration for riscv32/64 assumes multilib is enabled by default even-though we do not have any multilib on target gcc. It alters the c++ standard header paths to multilib specific subdirs and causes GCC on target fails to compile C++ programs.
There is a patch in upstream for this issue.
https://lists.openembedded.org/g/openembedded-core/message/214333

But the above patch uses '--disable-multilib' option for riscv32&64 and it mostly a workaround instead of a proper fix.
The underlying issue to be identified and should be fixed.
Comment 1 Randy MacLeod 2025-08-07 18:22:36 UTC
Add Trevor due to his new role as the YP RISCV geek, bump to 5.3-M3.
Comment 2 Randy MacLeod 2026-05-28 13:17:56 UTC
Bulk move of unassigned 6.0-M* bugs to 6.1-M2.