laokz 1d913d802a
riscv64: force --enable-frame-pointers configure option
Configure script detect -fno-omit-frame-pointer and -momit-leaf-frame-pointer
compile options both together, see,
  https://github.com/gperftools/gperftools/blob/master/configure.ac#L211

For RISC-V, until gcc14 -momit-leaf-frame-pointer was not supported, see,
  https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=39663298b5934831a0125e12f113ebd83248c3be

We use gcc12, thus the detection would be failed and no fp used in the code,
and then stacktrace_unittest's generic_fp test failed. Add --enable-frame-pointers
configure option can force -fno-omit-frame-pointer alone been used.

Sigend-off-by: laokz <zhangkai@iscas.ac.cn>
2024-04-21 10:41:22 +00:00
2024-02-06 21:26:37 +08:00
2020-06-17 09:56:55 +08:00
Description
No description provided
9.1 MiB
Languages
Diff 100%