(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. Ken