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
When compiling the progenitor version of the kernel using gcc 12.2.0, the following error appears.
main.c:(.text+0x1d8): undefined reference to `__stack_chk_fail'
This could be fixed by either adding the -fno-stack-protector flag to KERNEL_FLAGS or by implementing the __stack_chk_fail function. A possible implementation could be:
void__stack_chk_fail() {
print("Stack check failed!");
while (1);
}
The text was updated successfully, but these errors were encountered:
When compiling the progenitor version of the kernel using
gcc 12.2.0
, the following error appears.This could be fixed by either adding the
-fno-stack-protector
flag toKERNEL_FLAGS
or by implementing the__stack_chk_fail
function. A possible implementation could be:The text was updated successfully, but these errors were encountered: