We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c26f6de commit 6043274Copy full SHA for 6043274
linuxkm/Kbuild
@@ -101,7 +101,9 @@ $(obj)/wolfcrypt/test/test.o: ccflags-y += -DNO_MAIN_DRIVER -DWOLFSSL_NO_OPTIONS
101
$(obj)/wolfcrypt/src/aes.o: ccflags-y = $(WOLFSSL_CFLAGS) $(WOLFSSL_CFLAGS_YES_VECTOR_INSNS)
102
103
ifeq "$(ENABLED_LINUXKM_PIE)" "yes"
104
- PIE_FLAGS := -fPIE -fno-toplevel-reorder
+ # note, we need -fno-stack-protector to avoid references to
105
+ # "__stack_chk_fail" from the wolfCrypt container.
106
+ PIE_FLAGS := -fPIE -fno-stack-protector -fno-toplevel-reorder
107
PIE_SUPPORT_FLAGS := -DUSE_WOLFSSL_LINUXKM_PIE_REDIRECT_TABLE
108
ifeq "$(KERNEL_ARCH_X86)" "yes"
109
PIE_FLAGS += -mcmodel=small
0 commit comments