linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] fuse/virtiofs: kernel module build fail
@ 2025-06-12 11:22 Brian Foster
  2025-06-12 21:56 ` Joanne Koong
  0 siblings, 1 reply; 7+ messages in thread
From: Brian Foster @ 2025-06-12 11:22 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Joanne Koong, Miklos Szeredi

Hi folks,

I run kernel compiles quite a bit over virtiofs in some of my local test
setups and recently ran into an issue building xfs.ko once I had a
v6.16-rc kernel installed in my guest. The test case is a simple:

  make -j N M=fs/xfs clean; make -j N M=fs/xfs

... and ends up spitting out link time errors like this as of commit
63c69ad3d18a ("fuse: refactor fuse_fill_write_pages()"):

...
  CC [M]  xfs.mod.o
  CC [M]  .module-common.o
  LD [M]  xfs.ko  
  BTF [M] xfs.ko  
die__process: DW_TAG_compile_unit, DW_TAG_type_unit, DW_TAG_partial_unit or DW_TAG_skeleton_unit expected got subprogram (0x2e) @ ed957!
error decoding cu i_mmap_rwsem
error decoding cu 
...
error decoding cu 
pahole: xfs.ko: Invalid argument
make[3]: *** [/root/repos/linux/scripts/Makefile.modfinal:57: xfs.ko] Error 1
make[3]: *** Deleting file 'xfs.ko'
make[2]: *** [/root/repos/linux/Makefile:1937: modules] Error 2
make[1]: *** [/root/repos/linux/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/root/repos/linux/fs/xfs'
make: *** [Makefile:248: __sub-make] Error 2

... or this on latest master:

...
  LD [M]  fs/xfs/xfs.o
fs/xfs/xfs.o: error: objtool: can't find reloc entry symbol 2145964924 for .rela.text
make[4]: *** [scripts/Makefile.build:501: fs/xfs/xfs.o] Error 1
make[4]: *** Deleting file 'fs/xfs/xfs.o'
make[3]: *** [scripts/Makefile.build:554: fs/xfs] Error 2
make[2]: *** [scripts/Makefile.build:554: fs] Error 2
make[1]: *** [/root/repos/linux/Makefile:2006: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2

The latter failure is what I saw through most of a bisect so I suspect
one of the related followon commits alters the failure characteristic
from the former, but I've not confirmed that. Also note out of
convenience my test was to just recompile xfs.ko out of the same tree I
was bisecting from because the failures were consistent and seemed to be
a runtime kernel issue and not a source tree issue.

I haven't had a chance to dig any further than this (and JFYI I'm
probably not going to be responsive through the rest of today). I just
completed the bisect and wanted to get it on list sooner rather than
later..

Brian


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-06-14 10:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12 11:22 [BUG] fuse/virtiofs: kernel module build fail Brian Foster
2025-06-12 21:56 ` Joanne Koong
2025-06-13 11:44   ` Brian Foster
2025-06-13 23:42     ` Joanne Koong
2025-06-14 10:55       ` Brian Foster
2025-06-13 14:06   ` Luis Henriques
2025-06-13 22:20     ` Joanne Koong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).