All of lore.kernel.org
 help / color / mirror / Atom feed
* ABI mismatch build error for 6.17.y and rustc 1.91.0
@ 2025-11-04  5:27 Greg KH
  2025-11-04  7:07 ` Dirk Behme
  0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2025-11-04  5:27 UTC (permalink / raw)
  To: rust-for-linux

My laptop just upgraded rustc to 1.91.0 and now I get the following
build error in 6.17.y when doing a 'allmodconfig' build:

  RUSTDOC TK rust/kernel/lib.rs
error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `kernel`
 --> rust/kernel/lib.rs:3:1
  |
3 | //! The `kernel` crate.
  | ^
  |
  = help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely
  = note: unset `-Zsanitizer` in this crate is incompatible with `-Zsanitizer=kernel-address` in dependency `core`
  = help: set `-Zsanitizer=kernel-address` in this crate or unset `-Zsanitizer` in `core`
  = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error

I don't see that on Linus's branch, but maybe I don't have the same
build options enabled there.  Is 6.17.y missing a patch that is in
6.18-rc to resolve this that I just can't seem to find?

thanks,

greg k-h

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

end of thread, other threads:[~2025-11-09 17:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-04  5:27 ABI mismatch build error for 6.17.y and rustc 1.91.0 Greg KH
2025-11-04  7:07 ` Dirk Behme
2025-11-04  7:39   ` Greg KH
2025-11-04 10:39     ` Miguel Ojeda
2025-11-04 14:26       ` Greg KH
2025-11-04 15:10         ` Miguel Ojeda
2025-11-08  5:28           ` Greg KH
2025-11-09 17:31             ` Miguel Ojeda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.