]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gcc: Fix riscv multilib issues in plain toolchains
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 May 2025 14:29:16 +0000 (15:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 May 2025 09:54:58 +0000 (10:54 +0100)
commit3081f62c18fcee642ab43efa717c8f71d51ae587
tree64a0661fd099bc7e1de6efe0adc9e9e0382806e8
parentc01205e7a4816d78e99d01f86a396ab23d9bde34
gcc: Fix riscv multilib issues in plain toolchains

RISC-V multilib currently doesn't work at all. We could disable multilib for
the riscv platform but that would then behave differently to all our others.
Instead, copy the non-multilib config over the multilib config for now for
riscv, meaning we can keep the platforms similar.

This isn't quite enough as the triplet specific c++ headers are in the wrong
place leading to compiler issues and testimage failures. Work around that too
until someone adds full multilib support for the platform (if desired).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-multilib-config.inc
meta/recipes-devtools/gcc/gcc-runtime.inc