Thread (7 messages) 7 messages, 2 authors, 2025-06-17

Re: Broken 32-bit riscv debug build with ZSTD and FTRACE

flat view

From: Alexandre Ghiti <alex@ghiti.fr>
Date: 2025-06-04 12:44:58
Also in: linux-riscv, lkml

Hi Marco,

On 5/31/25 13:52, Marco Bonelli wrote:
quoted
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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

First, thanks for the report!

I unfortunately cannot reproduce this issue locally, I tried on both v6.15 and latest linus master, with gcc 13.1.0 and gcc 14.2.0 . I made sure that I have FTRACE, ZSTD_COMPRESS and DEBUG_INFO enabled.

Can you attach your full config?

Thanks,

Alex

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help