summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/Kconfig
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-07-06 19:26:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-02 17:23:46 +0300
commit1897993bb8a578d9313aa1d61508a1bf30a3fd3f (patch)
treee0c54ae0e1858cc051aef631364785c1d4409ce6 /drivers/hwmon/pmbus/Kconfig
parentba7bc80da3cf6cae1e7c302d3b1c6f11fd23f99d (diff)
downloadlinux-1897993bb8a578d9313aa1d61508a1bf30a3fd3f.tar.xz
riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled
commit a18b14d8886614b3c7d290c4cfc33389822b0535 upstream. riscv uses the value of TSK_STACK_CANARY to set stack-protector-guard-offset. With GCC_PLUGIN_RANDSTRUCT enabled, that value is non-deterministic, and with riscv:allmodconfig often results in build errors such as cc1: error: '8120' is not a valid offset in '-mstack-protector-guard-offset=' Enable STACKPROTECTOR_PER_TASK only if GCC_PLUGIN_RANDSTRUCT is disabled to fix the problem. Fixes: fea2fed201ee5 ("riscv: Enable per-task stack canaries") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/pmbus/Kconfig')
0 files changed, 0 insertions, 0 deletions