[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nbth6u2fgdbtw52ll5tzc5qfrfasikqcjbx4eltdezqcagnkkg@wwtkkf2vrjbc>
Date: Fri, 28 Mar 2025 21:46:06 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Nathan Chancellor <nathan@...nel.org>
Cc: kernel test robot <lkp@...el.com>, llvm@...ts.linux.dev,
oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org, x86@...nel.org,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [tip:objtool/urgent 9/23] vmlinux.o: warning: objtool:
cdns_mrvl_xspi_setup_clock: unexpected end of section
.text.cdns_mrvl_xspi_setup_clock
On Fri, Mar 28, 2025 at 04:24:49PM -0700, Nathan Chancellor wrote:
> I was able to reproduce this with LLVM 20.1.1 from kernel.org [1]. This
> configuration has full LTO enabled so the build takes some time... it
> also has several UBSAN configurations enabled but turning off UBSAN does
> not resolve it (could be KCOV related?).
>
> $ git cite
> ae958b12940b ("objtool, drm/vmwgfx: Don't ignore vmw_send_msg() for ORC")
>
> $ curl -LSso .config https://download.01.org/0day-ci/archive/20250328/202503282236.UhfRsF3B-lkp@intel.com/config
>
> $ make -skj"$(nproc)" ARCH=x86_64 LLVM=1 OBJTOOL_VERBOSE=1 olddefconfig vmlinux
> ...
> vmlinux.o: warning: objtool: synaptics_report_mt_data: unexpected end of section .text.synaptics_report_mt_data
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x33e: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x254: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x1d4: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x1b8: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x156: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x13a: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0xda: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0xbe: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x63: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x48: (branch)
> vmlinux.o: warning: objtool: synaptics_report_mt_data+0x0: <=== (sym)
> ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --static-call --uaccess --noinstr --link vmlinux.o.orig -o vmlinux.o
>
> vmlinux.o.orig is 391MB so probably not too shareable but if there is
> any other information I can give you, I am happy to do so.
Nice! Can you share the disassembly of the function?
objdump -drw -j .text.synaptics_report_mt_data vmlinux.o.orig
Also, if you happen to have CONFIG_DEBUG_INFO enabled, the line number
of that last branch:
addr2line -fpie vmlinux.o.orig -j .text.synaptics_report_mt_data 0x33e
Thanks!
--
Josh
Powered by blists - more mailing lists