public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rawhide: Use full arch name for RISC-V
Date: Thu, 26 Nov 2026 18:18:34 GMT	[thread overview]
Message-ID: <179571711469.1.17176612737957410385.rpms-gcc-6f537609cc7a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : rawhide
            Commit : 6f537609cc7a280c0e4f92d20bb57680a44e0484
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-11-26T13:17:57-05:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/6f537609cc7a280c0e4f92d20bb57680a44e0484?branch=rawhide

            Log:
            Use full arch name for RISC-V

This is the official arch name for the rva23u64 profile, as defined in
riscv-profiles.def.  While gcc accepts known profiles in place of an arch
name, the MULTILIB_DIRNAMES definitions currently in riscv/t-linux and
riscv/t-with-multilib only handle arch names which follow the rv64% (or
rv32%) pattern, resulting in files installed into an unexpected location.
Until that is fixed to handle profile names, using the full arch name is
necessary to match that.

---
diff --git a/gcc.spec b/gcc.spec
index 83c7f5a..61c4a85 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1721,7 +1721,8 @@ CONFIGURE_OPTS_NATIVE="\
 %endif
 %ifarch riscv64
 %if 0%{?rhel} >= 11
-	--with-arch=rva23u64 --with-abi=lp64d --with-multilib-list=lp64d \
+	--with-arch=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs_supm \
+	--with-abi=lp64d --with-multilib-list=lp64d \
 %else
 	--with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d \
 %endif

                 reply	other threads:[~2026-11-26 18:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179571711469.1.17176612737957410385.rpms-gcc-6f537609cc7a@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.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