From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
To: 71804@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#71804] [PATCH 1/4] gnu: Add gcc-14.
Date: Thu, 27 Jun 2024 23:38:21 +0800 [thread overview]
Message-ID: <d9d785c338113b3547c395fea98da4d8a8fe34d7.1719502347.git.zhengjunjie@iscas.ac.cn> (raw)
In-Reply-To: <cover.1719502347.git.zhengjunjie@iscas.ac.cn>
* gnu/packages/gcc.scm (gcc-14): New variable.
Change-Id: I7eca4e35e010a69c13489c10c72c29d6e628bb72
---
gnu/packages/gcc.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 3184a8b6a0..f44030355e 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -830,6 +830,29 @@ (define-public gcc-13
("x86_64" ,@%gcc-13-x86_64-micro-architectures))
,@(package-properties gcc-11)))))
+(define-public gcc-14
+ (package
+ (inherit gcc-13)
+ (version "14.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/gcc/gcc-"
+ version "/gcc-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0h3889kkfp9bzw8km9w1ssh5qjskg6yw02q8v3lkvzksk1acd0z2"))
+ (patches (search-patches "gcc-12-strmov-store-file-names.patch"
+ "gcc-5.0-libvtv-runpath.patch"))
+ (modules '((guix build utils)))
+ (snippet gcc-canadian-cross-objdump-snippet)))
+ (arguments (substitute-keyword-arguments (package-arguments gcc-13)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (add-before 'configure 'pre-x86-configure
+ (lambda _
+ (substitute* "gcc/config/i386/t-linux64"
+ (("\\.\\./lib64") "../lib"))))))))))
+
;; Note: When changing the default gcc version, update
;; the gcc-toolchain-* definitions.
--
2.41.0
next prev parent reply other threads:[~2024-06-27 15:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-27 15:35 [bug#71804] [PATCH 0/4] gcc-14 Zheng Junjie
2024-06-27 15:38 ` Zheng Junjie [this message]
2024-06-27 15:38 ` [bug#71804] [PATCH 2/4] gnu: Add gccgo-14 Zheng Junjie
2024-06-27 15:38 ` [bug#71804] [PATCH 3/4] gnu: Add gcc-toolchain-14 Zheng Junjie
2024-06-27 15:38 ` [bug#71804] [PATCH 4/4] gnu: Add libgccjit-14 Zheng Junjie
2024-07-02 10:21 ` bug#71804: [PATCH 0/4] gcc-14 Efraim Flashner
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d9d785c338113b3547c395fea98da4d8a8fe34d7.1719502347.git.zhengjunjie@iscas.ac.cn \
--to=zhengjunjie@iscas.ac.cn \
--cc=71804@debbugs.gnu.org \
--cc=ludo@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).