You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current bootlin or1k toolchain openrisc--musl--stable-2024.02-1 is built with -fstack-protector-strong present in default GCC options which breaks the build at linking stage due to undefined references to __stack_chk_guard and __stack_chk_fail.
Adding -fno-stack-protector to CFLAGS fixes the build (can be added unconditionally or conditionally with cc-option implemented similar to ld-option).
Bug report (toolchain compatibility issue)
The current bootlin or1k toolchain
openrisc--musl--stable-2024.02-1
is built with-fstack-protector-strong
present in default GCC options which breaks the build at linking stage due to undefined references to__stack_chk_guard
and__stack_chk_fail
.Adding
-fno-stack-protector
toCFLAGS
fixes the build (can be added unconditionally or conditionally withcc-option
implemented similar told-option
).GCC version info:
Build log (verbose)
The text was updated successfully, but these errors were encountered: