public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.86 commit in: /
Date: Tue, 29 Jul 2025 06:23:59 +0000 (UTC)	[thread overview]
Message-ID: <1753770205.03a4b4500b901befe5b435c9ac3a9fc9088990c0.kangie@gentoo> (raw)

commit:     03a4b4500b901befe5b435c9ac3a9fc9088990c0
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 06:18:31 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jul 29 06:23:25 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=03a4b450

Add 1.86.0 linker flags fix

This was committed to ::gentoo; it should have ended up here.

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch b/rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch
new file mode 100644
index 0000000..e3adf9f
--- /dev/null
+++ b/rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch
@@ -0,0 +1,19 @@
+https://github.com/rust-lang/rust/commit/bad6b7bad6491790184c42579b9bacdbd580dd3e
+See-also: https://bugs.gentoo.org/953956
+--- a/src/bootstrap/src/utils/helpers.rs
++++ b/src/bootstrap/src/utils/helpers.rs
+@@ -451,12 +451,12 @@
+     if !builder.is_lld_direct_linker(target) && builder.config.lld_mode.is_used() {
+         match builder.config.lld_mode {
+             LldMode::External => {
+-                args.push("-Clinker-flavor=gnu-lld-cc".to_string());
++                args.push("-Zlinker-features=+lld".to_string());
+                 // FIXME(kobzol): remove this flag once MCP510 gets stabilized
+                 args.push("-Zunstable-options".to_string());
+             }
+             LldMode::SelfContained => {
+-                args.push("-Clinker-flavor=gnu-lld-cc".to_string());
++                args.push("-Zlinker-features=+lld".to_string());
+                 args.push("-Clink-self-contained=+linker".to_string());
+                 // FIXME(kobzol): remove this flag once MCP510 gets stabilized
+                 args.push("-Zunstable-options".to_string());


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.86.0-r2-1 commit in: /
Date: Tue, 29 Jul 2025 06:24:04 +0000 (UTC)	[thread overview]
Message-ID: <1753770205.03a4b4500b901befe5b435c9ac3a9fc9088990c0.kangie@gentoo> (raw)
Message-ID: <20250729062404.rg3xYomwKa2E5BhAVi8raSYkxxnBTq0gNeImsh13Q9o@z> (raw)

commit:     03a4b4500b901befe5b435c9ac3a9fc9088990c0
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 06:18:31 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jul 29 06:23:25 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=03a4b450

Add 1.86.0 linker flags fix

This was committed to ::gentoo; it should have ended up here.

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch b/rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch
new file mode 100644
index 0000000..e3adf9f
--- /dev/null
+++ b/rust-1.86.0-fix-hardcoded-gnu-linker-flags.patch
@@ -0,0 +1,19 @@
+https://github.com/rust-lang/rust/commit/bad6b7bad6491790184c42579b9bacdbd580dd3e
+See-also: https://bugs.gentoo.org/953956
+--- a/src/bootstrap/src/utils/helpers.rs
++++ b/src/bootstrap/src/utils/helpers.rs
+@@ -451,12 +451,12 @@
+     if !builder.is_lld_direct_linker(target) && builder.config.lld_mode.is_used() {
+         match builder.config.lld_mode {
+             LldMode::External => {
+-                args.push("-Clinker-flavor=gnu-lld-cc".to_string());
++                args.push("-Zlinker-features=+lld".to_string());
+                 // FIXME(kobzol): remove this flag once MCP510 gets stabilized
+                 args.push("-Zunstable-options".to_string());
+             }
+             LldMode::SelfContained => {
+-                args.push("-Clinker-flavor=gnu-lld-cc".to_string());
++                args.push("-Zlinker-features=+lld".to_string());
+                 args.push("-Clink-self-contained=+linker".to_string());
+                 // FIXME(kobzol): remove this flag once MCP510 gets stabilized
+                 args.push("-Zunstable-options".to_string());


             reply	other threads:[~2025-07-29  6:24 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-29  6:23 Matt Jolly [this message]
2025-07-29  6:24 ` [gentoo-commits] proj/rust-patches:1.86.0-r2-1 commit in: / Matt Jolly
  -- strict thread matches above, loose matches on Subject: below --
2025-07-29  6:39 Matt Jolly
2025-07-29  6:39 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-07-29  6:38 Matt Jolly
2025-07-29  6:21 Matt Jolly
2025-06-03  4:33 Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.85 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.85 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.85 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.85 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.85 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.84 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly

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=1753770205.03a4b4500b901befe5b435c9ac3a9fc9088990c0.kangie@gentoo \
    --to=kangie@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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