Broken 32-bit riscv debug build with ZSTD and FTRACE
Marco Bonelli
marco at mebeim.net
Sat May 31 04:52:51 PDT 2025
> Steps to reproduce:
>
> export ARCH=riscv CROSS_COMPILE=riscv32-linux-
> make distclean
> make defconfig
> make 32-bit.config
> ./scripts/config \
> -e DEBUG_KERNEL \
> -e DEBUG_INFO \
> -e DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT \
> -d DEBUG_INFO_NONE \
> -d DEBUG_INFO_REDUCED
> make olddefconfig
> make -j vmlinux
Sorry, forgot to add "-e FTRACE" to the steps above. Here it is:
export ARCH=riscv CROSS_COMPILE=riscv32-linux-
make distclean
make defconfig
make 32-bit.config
./scripts/config \
-e DEBUG_KERNEL \
-e DEBUG_INFO \
-e DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT \
-d DEBUG_INFO_NONE \
-d DEBUG_INFO_REDUCED \
-e FTRACE
make olddefconfig
make -j vmlinux
Everything else still applies.
--
Marco Bonelli
More information about the linux-riscv
mailing list