Rust for Linux List
 help / color / mirror / Atom feed
* build error of rust ordered/unordered sections mismatch
@ 2026-11-08 23:47 Wang Yugui
  2026-11-09 14:08 ` Gary Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Yugui @ 2026-11-08 23:47 UTC (permalink / raw)
  To: rust-for-linux; +Cc: wangyugui

Hi,

When I build kernel 6.18.60 and 1.68.62(maybe more versions),  a build error
happended.

ld: __patchable_function_entries has both ordered [`__patchable_function_entries'
in rust/core.o] and unordered [`__patchable_function_entries' in
io_uring/fdinfo.o] sections

# rustc -V
rustc 1.92.0 (ded5c06cf 2025-12-08) (Red Hat 1.92.0-1.module+el8.10.0+40191+971f4d77)
# bindgen -V
bindgen 0.72.1
# gcc --version
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-30)

But kernel 7.4.0-rc1 is built well on this server.

any advice please.

Best Regards
Wang Yugui (wangyugui@e16-tech.com)
2026/11/09



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

end of thread, other threads:[~2026-11-09 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-08 23:47 build error of rust ordered/unordered sections mismatch Wang Yugui
2026-11-09 14:08 ` Gary Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox