kees,
@kees@fosstodon.org avatar

Is anyone using an i386 Linux kernel, built with Clang, and configured with UBSAN? :P Something is going very wrong with the UBSAN handler calls. Anyone wanna help me debug this? https://github.com/KSPP/linux/issues/350

ljs,
@ljs@social.kernel.org avatar

@kees ah yeah @vbabka has had some fun experience with 386 well I think gcov stuff actually wasn't it? But probably similar trashing of registers that shouldn't be trashed.

OK so that's probably irrelevant but sort of ballpark :P

Also 32-bit should die

kees,
@kees@fosstodon.org avatar

@ljs @vbabka I think I found it: it looks like the handler calls aren't being emitted with knowledge of -mregparm=3 and are instead pushing arguments to the stack.

kernellogger,
@kernellogger@fosstodon.org avatar

@kees @ljs @vbabka

Clang? 32-bit kernel? That rang a bell in my head, as it reminded me of this:

https://lore.kernel.org/all/202403281553.79f5a16f-lkp@intel.com/

Might be totally unrelated, just thought I mention it in case it might not.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • cubers
  • everett
  • rosin
  • Youngstown
  • tester
  • GTA5RPClips
  • slotface
  • khanakhh
  • Durango
  • kavyap
  • InstantRegret
  • ethstaker
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • thenastyranch
  • provamag3
  • osvaldo12
  • Leos
  • mdbf
  • tacticalgear
  • modclub
  • megavids
  • anitta
  • normalnudes
  • lostlight
  • All magazines