[Buildroot] [PATCH 0/3] Riscv32 gcc bug 93532 workaround

Giulio Benetti giulio.benetti at benettiengineering.com
Sat Feb 8 16:13:49 UTC 2020


Hi All,

this bug is shown only if riscv32 gcc is built with 
-fstack-protector-strong [1], so I don't know if it's better to disable 
SPP when building gcc for riscv32 version 8.x, or to keep -O0 workaround 
that is the same as Microblaze.

[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532

Best regards
-- 
Giulio Benetti
Benetti Engineering sas

On 2/3/20 5:59 PM, Giulio Benetti wrote:
> Following Microblaze experience on gcc ICE and hangs let's treat the same
> way Riscv32 gcc bugs. So let's introduce gcc bug already reported and
> work around failing packages using -O0 optimization flash since no other
> workarounds worked(disable -g, trying -O1).
> 
> Giulio Benetti (3):
>    toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_93532
>    package/bullet: fix build failure due to gcc bug 93532
>    package/lmbench: fix build failure due to gcc bug 93532
> 
>   package/bullet/bullet.mk   | 2 +-
>   package/lmbench/lmbench.mk | 4 ++++
>   toolchain/Config.in        | 8 ++++++++
>   3 files changed, 13 insertions(+), 1 deletion(-)
> 



More information about the buildroot mailing list