Rust for Linux List
 help / color / mirror / Atom feed
From: Wang Yugui <wangyugui@e16-tech.com>
To: rust-for-linux@vger.kernel.org
Cc: wangyugui@e16-tech.com
Subject: build error of rust ordered/unordered sections mismatch
Date: Mon, 09 Nov 2026 07:47:06 +0800	[thread overview]
Message-ID: <20261109074705.418E.409509F4@e16-tech.com> (raw)

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



             reply	other threads:[~2026-11-08 23:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08 23:47 Wang Yugui [this message]
2026-11-09 14:08 ` build error of rust ordered/unordered sections mismatch Gary Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261109074705.418E.409509F4@e16-tech.com \
    --to=wangyugui@e16-tech.com \
    --cc=rust-for-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox