On 3/20/24 14:44, Matthew Sakai wrote:
On 3/18/24 16:54, Guenter Roeck wrote:
On 3/18/24 13:37, Kenneth Raeburn wrote:
(resend because of accidental HTML lossage)
On Thu, Mar 14, 2024 at 7:38 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
On sparc64, with gcc 11.4, the above code results in:
ERROR: modpost: "__bswapdi2" [drivers/md/dm-vdo/dm-vdo.ko] undefined!
Guenter
Thanks for catching that. I don't think our team has any sparc
machines readily available for testing.
This is an artifact of our having imported user-mode code to use in
the kernel. We should probably be using le64_to_cpup and friends, as
we do elsewhere, so it doesn't try to pull in libgcc support routines.
I am kind of getting wary about reporting such issues. Should I drop
building dm-vdo images for sparc ? Would it be possible to add
"depends on BROKEN if SPARC" configuration option to indicate that
the code isn't expected to be buildable on sparc, much less work ?
Thanks,
Guenter
Could you try out the patch I just sent to see if it fixes your build problem?
Sure, will do.
Guenter