summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-03-25 15:38:07 -0700
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-04-26 08:25:02 -0700
commitadebc8817b5c975d598ac379bbdf67a7a5186ade (patch)
treedc62627c49bed8d533ef81e92b2db3c87f461cd6 /samples
parent7ce04771503074a7de7f539cc43f5e1b385cb99b (diff)
downloadlinux-adebc8817b5c975d598ac379bbdf67a7a5186ade.tar.gz
linux-adebc8817b5c975d598ac379bbdf67a7a5186ade.tar.bz2
linux-adebc8817b5c975d598ac379bbdf67a7a5186ade.zip
riscv: Select HAVE_DYNAMIC_FTRACE when -fpatchable-function-entry is available
clang prior to 13.0.0 does not support -fpatchable-function-entry for RISC-V. clang: error: unsupported option '-fpatchable-function-entry=8' for target 'riscv64-unknown-linux-gnu' To avoid this error, only select HAVE_DYNAMIC_FTRACE when this option is not available. Fixes: afc76b8b8011 ("riscv: Using PATCHABLE_FUNCTION_ENTRY instead of MCOUNT") Link: https://github.com/ClangBuiltLinux/linux/issues/1268 Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Fangrui Song <maskray@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions