From: Nathan Chancellor <nathan@kernel.org>
To: Josh Poimboeuf <jpoimboe@kernel.org>
Cc: kernel test robot <lkp@intel.com>,
llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org, x86@kernel.org,
Ingo Molnar <mingo@kernel.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
Date: Fri, 28 Mar 2025 16:24:49 -0700 [thread overview]
Message-ID: <20250328232449.GA2955081@ax162> (raw)
In-Reply-To: <az2awlpfs7wt46kwql7ke3iereryykdroymfuaxawz5gozaxyi@rhlmbjkp3sdg>
On Fri, Mar 28, 2025 at 09:31:15AM -0700, Josh Poimboeuf wrote:
> On Fri, Mar 28, 2025 at 10:49:22PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool/urgent
> > head: 1c9d28fdf70d4ae3e8dfeadee982461403c6bb50
> > commit: c5995abe15476798b2e2f0163a33404c41aafc8f [9/23] objtool: Improve error handling
> > config: x86_64-randconfig-161-20250327 (https://download.01.org/0day-ci/archive/20250328/202503282236.UhfRsF3B-lkp@intel.com/config)
> > compiler: clang version 20.1.1 (https://github.com/llvm/llvm-project 424c2d9b7e4de40d0804dd374721e6411c27d1d1)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250328/202503282236.UhfRsF3B-lkp@intel.com/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202503282236.UhfRsF3B-lkp@intel.com/
> >
> > All warnings (new ones prefixed by >>):
> >
> > >> vmlinux.o: warning: objtool: cdns_mrvl_xspi_setup_clock: unexpected end of section .text.cdns_mrvl_xspi_setup_clock
> > >> vmlinux.o: warning: objtool: synaptics_report_mt_data: unexpected end of section .text.synaptics_report_mt_data
>
> Hi test robot,
>
> I'm unable to recreate this one:
>
> >> vmlinux.o: warning: objtool: synaptics_report_mt_data: unexpected end of section .text.synaptics_report_mt_data
>
> Can you rerun with OBJTOOL_VERBOSE=1 added to the make command line (or
> exported)?
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.
[1]: https://mirrors.edge.kernel.org/pub/tools/llvm/
Cheers,
Nathan
next prev parent reply other threads:[~2025-03-28 23:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-28 14:49 [tip:objtool/urgent 9/23] vmlinux.o: warning: objtool: cdns_mrvl_xspi_setup_clock: unexpected end of section .text.cdns_mrvl_xspi_setup_clock kernel test robot
2025-03-28 16:31 ` Josh Poimboeuf
2025-03-28 23:24 ` Nathan Chancellor [this message]
2025-03-29 4:46 ` Josh Poimboeuf
2025-03-29 20:06 ` Nathan Chancellor
2025-03-30 2:44 ` Josh Poimboeuf
2025-03-30 19:38 ` Nathan Chancellor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250328232449.GA2955081@ax162 \
--to=nathan@kernel.org \
--cc=jpoimboe@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=mingo@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox