* [bug#71804] [PATCH 1/4] gnu: Add gcc-14.
2024-06-27 15:35 [bug#71804] [PATCH 0/4] gcc-14 Zheng Junjie
@ 2024-06-27 15:38 ` Zheng Junjie
2024-06-27 15:38 ` [bug#71804] [PATCH 2/4] gnu: Add gccgo-14 Zheng Junjie
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Zheng Junjie @ 2024-06-27 15:38 UTC (permalink / raw)
To: 71804; +Cc: Ludovic Courtès
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#71804] [PATCH 2/4] gnu: Add gccgo-14.
2024-06-27 15:35 [bug#71804] [PATCH 0/4] gcc-14 Zheng Junjie
2024-06-27 15:38 ` [bug#71804] [PATCH 1/4] gnu: Add gcc-14 Zheng Junjie
@ 2024-06-27 15:38 ` Zheng Junjie
2024-06-27 15:38 ` [bug#71804] [PATCH 3/4] gnu: Add gcc-toolchain-14 Zheng Junjie
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Zheng Junjie @ 2024-06-27 15:38 UTC (permalink / raw)
To: 71804; +Cc: Ludovic Courtès
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#71804] [PATCH 3/4] gnu: Add gcc-toolchain-14.
2024-06-27 15:35 [bug#71804] [PATCH 0/4] gcc-14 Zheng Junjie
2024-06-27 15:38 ` [bug#71804] [PATCH 1/4] gnu: Add gcc-14 Zheng Junjie
2024-06-27 15:38 ` [bug#71804] [PATCH 2/4] gnu: Add gccgo-14 Zheng Junjie
@ 2024-06-27 15:38 ` 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
4 siblings, 0 replies; 6+ messages in thread
From: Zheng Junjie @ 2024-06-27 15:38 UTC (permalink / raw)
To: 71804; +Cc: Efraim Flashner, Ekaitz Zarraga, Ludovic Courtès
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#71804] [PATCH 4/4] gnu: Add libgccjit-14.
2024-06-27 15:35 [bug#71804] [PATCH 0/4] gcc-14 Zheng Junjie
` (2 preceding siblings ...)
2024-06-27 15:38 ` [bug#71804] [PATCH 3/4] gnu: Add gcc-toolchain-14 Zheng Junjie
@ 2024-06-27 15:38 ` Zheng Junjie
2024-07-02 10:21 ` bug#71804: [PATCH 0/4] gcc-14 Efraim Flashner
4 siblings, 0 replies; 6+ messages in thread
From: Zheng Junjie @ 2024-06-27 15:38 UTC (permalink / raw)
To: 71804; +Cc: Ludovic Courtès
* 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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* bug#71804: [PATCH 0/4] gcc-14
2024-06-27 15:35 [bug#71804] [PATCH 0/4] gcc-14 Zheng Junjie
` (3 preceding siblings ...)
2024-06-27 15:38 ` [bug#71804] [PATCH 4/4] gnu: Add libgccjit-14 Zheng Junjie
@ 2024-07-02 10:21 ` Efraim Flashner
4 siblings, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2024-07-02 10:21 UTC (permalink / raw)
To: Zheng Junjie; +Cc: 71804-done, Ludovic Courtès
[-- Attachment #1: Type: text/plain, Size: 999 bytes --]
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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread