GNU bug report logs - #71804
[PATCH 0/4] gcc-14

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Thu, 27 Jun 2024 15:37:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71804 in the body.
You can then email your comments to 71804 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ludo <at> gnu.org, guix-patches <at> gnu.org:
bug#71804; Package guix-patches. (Thu, 27 Jun 2024 15:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
New bug report received and forwarded. Copy sent to ludo <at> gnu.org, guix-patches <at> gnu.org. (Thu, 27 Jun 2024 15:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/4] gcc-14
Date: Thu, 27 Jun 2024 23:35:58 +0800
This patchset add gcc 14.

Miss compiler-cpu-architectures because i not sure how to add them.

Zheng Junjie (4):
  gnu: Add gcc-14.
  gnu: Add gccgo-14.
  gnu: Add gcc-toolchain-14.
  gnu: Add libgccjit-14.

 gnu/packages/commencement.scm |  3 +++
 gnu/packages/gcc.scm          | 29 +++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)


base-commit: 97540acadc4d275cfe50ba75f2dc0122276da30d
-- 
2.41.0





Information forwarded to ludo <at> gnu.org, guix-patches <at> gnu.org:
bug#71804; Package guix-patches. (Thu, 27 Jun 2024 15:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 71804 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 71804 <at> debbugs.gnu.org
Subject: [PATCH 1/4] gnu: Add gcc-14.
Date: Thu, 27 Jun 2024 23:38:21 +0800
* 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





Information forwarded to ludo <at> gnu.org, guix-patches <at> gnu.org:
bug#71804; Package guix-patches. (Thu, 27 Jun 2024 15:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 71804 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 71804 <at> debbugs.gnu.org
Subject: [PATCH 2/4] gnu: Add gccgo-14.
Date: Thu, 27 Jun 2024 23:38:22 +0800
* gnu/packages/gcc.scm (gccgo-14): New variable.

Change-Id: I065373047eb186ac410813b7eea0af3b44d8aaa7
---
 gnu/packages/gcc.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index f44030355e..c103225ef9 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1329,6 +1329,10 @@ (define-public gccgo-12
 (define-public gccgo-13
   (make-gccgo gcc-13))
 
+;; Provides go-1.18
+(define-public gccgo-14
+  (make-gccgo gcc-14))
+
 (define %objc-search-paths
   (list (search-path-specification
          (variable "OBJC_INCLUDE_PATH")
-- 
2.41.0





Information forwarded to efraim <at> flashner.co.il, ekaitz <at> elenq.tech, ludo <at> gnu.org, guix-patches <at> gnu.org:
bug#71804; Package guix-patches. (Thu, 27 Jun 2024 15:39:02 GMT) Full text and rfc822 format available.

Message #14 received at 71804 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 71804 <at> debbugs.gnu.org
Subject: [PATCH 3/4] gnu: Add gcc-toolchain-14.
Date: Thu, 27 Jun 2024 23:38:23 +0800
* gnu/packages/commencement.scm (gcc-toolchain-14): New variable.

Change-Id: I82d56541c76cc48d450c690b047c48a4c4a36702
---
 gnu/packages/commencement.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 0433059493..314598938b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3651,6 +3651,9 @@ (define-public gcc-toolchain-12
 (define-public gcc-toolchain-13
   (make-gcc-toolchain gcc-13))
 
+(define-public gcc-toolchain-14
+  (make-gcc-toolchain gcc-14))
+
 ;; The default GCC
 (define-public gcc-toolchain
   gcc-toolchain-11)
-- 
2.41.0





Information forwarded to ludo <at> gnu.org, guix-patches <at> gnu.org:
bug#71804; Package guix-patches. (Thu, 27 Jun 2024 15:39:03 GMT) Full text and rfc822 format available.

Message #17 received at 71804 <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 71804 <at> debbugs.gnu.org
Subject: [PATCH 4/4] gnu: Add libgccjit-14.
Date: Thu, 27 Jun 2024 23:38:24 +0800
* gnu/packages/gcc.scm (libgccjit-14): New variable.

Change-Id: I9c5be52e4e07ca48ae7191b6ff0c163541544700
---
 gnu/packages/gcc.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index c103225ef9..478c06ae20 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1236,6 +1236,8 @@ (define-public libgccjit-10 (make-libgccjit gcc-10))
 (define-public libgccjit-11 (make-libgccjit gcc-11))
 (define-public libgccjit-12 (make-libgccjit gcc-12))
 
+(define-public libgccjit-14 (make-libgccjit gcc-14))
+
 (define-public libgccjit libgccjit-10)
 
 (define (make-gccgo gcc)
-- 
2.41.0





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 02 Jul 2024 10:23:02 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
bug acknowledged by developer. (Tue, 02 Jul 2024 10:23:02 GMT) Full text and rfc822 format available.

Message #22 received at 71804-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 71804-done <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: [bug#71804] [PATCH 0/4] gcc-14
Date: Tue, 2 Jul 2024 13:21:10 +0300
[Message part 1 (text/plain, inline)]
On Thu, Jun 27, 2024 at 11:35:58PM +0800, Zheng Junjie wrote:
> This patchset add gcc 14.
> 
> Miss compiler-cpu-architectures because i not sure how to add them.

Shouldn't be a problem. For now they'll just inherit from gcc-13.

I checked gccgo-14 and it seems it still does provide go-1.18. I was
hoping they'd have synced with golang and had a more recent version.

Patches pushed! Thanks.

> Zheng Junjie (4):
>   gnu: Add gcc-14.
>   gnu: Add gccgo-14.
>   gnu: Add gcc-toolchain-14.
>   gnu: Add libgccjit-14.
> 
>  gnu/packages/commencement.scm |  3 +++
>  gnu/packages/gcc.scm          | 29 +++++++++++++++++++++++++++++
>  2 files changed, 32 insertions(+)
> 
> 
> base-commit: 97540acadc4d275cfe50ba75f2dc0122276da30d
> -- 
> 2.41.0
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Jul 2024 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.