Bug 15826 - Disabling multilib for riscv targets
Summary: Disabling multilib for riscv targets
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.1 M2
Assignee: Trevor Gamblin
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-04-09 07:12 UTC by Sundeep Kokkonda
Modified: 2026-09-11 15:30 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.