Subject: bug#32612: closed (Re: bug#32612: Update all gcc compilers to be 8.2.0)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 06 Sep 2018 21:40:02 +0000

Your bug report

#32612: Update all gcc compilers to be 8.2.0

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32612: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32612
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#32612: Update all gcc compilers to be 8.2.0
From: [email-masked] (Ludovic Courtès)
To: Eric Brown <[email-masked]>
Cc: [email-masked]
Date: Thu, 06 Sep 2018 23:39:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Eric,

Eric Brown <[email-masked]> skribis:

>>>From 70d1ba70de5279a5ef471e4a0287557ca598134f Mon Sep 17 00:00:00 2001
> From: Eric Brown <[email-masked]>
> Date: Sun, 2 Sep 2018 09:27:56 -0500
> Subject: [PATCH] gnu: gcc@8: Update all compilers to 8.2.0.
>
> * gnu/packages/gcc.scm (gfortran-8): Update to 8.2.0.
> * gnu/packages/gcc.scm (gcc-objc-8): Update to 8.2.0.
> * gnu/packages/gcc.scm (gcc-objc++-8): Update to 8.2.0.

I adjusted the commit log and pushed as
f66be84d08b90a9ecf08f79c8156d072ad359c36.

Thanks!

Ludo’.

Subject: Update all gcc compilers to be 8.2.0
From: Eric Brown <[email-masked]>
To: [email-masked]
Date: Sun, 02 Sep 2018 10:20:00 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Update all compilers (e.g. gfortran) to be 8.2.0.

>From 70d1ba70de5279a5ef471e4a0287557ca598134f Mon Sep 17 00:00:00 2001
From: Eric Brown <[email-masked]>
Date: Sun, 2 Sep 2018 09:27:56 -0500
Subject: [PATCH] gnu: gcc@8: Update all compilers to 8.2.0.

* gnu/packages/gcc.scm (gfortran-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc++-8): Update to 8.2.0.
---
 gnu/packages/gcc.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index bdff2ddad..0dd5d6446 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -663,6 +663,10 @@ as the 'native-search-paths' field."
   (custom-gcc gcc-7 "gfortran" '("fortran")
               %generic-search-paths))
 
+(define-public gfortran-8
+  (custom-gcc gcc-8 "gfortran" '("fortran")
+              %generic-search-paths))
+
 (define-public gfortran
   ;; Note: Update this when GCC changes!  We cannot use
   ;; (custom-gcc gcc "fortran" …) because that would lead to a package object
@@ -723,6 +727,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc-8
+  (custom-gcc gcc-8 "gcc-objc" '("objc")
+              (list (search-path-specification
+                     (variable "OBJC_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc gcc-objc-5)
 
 (define-public gcc-objc++-4.8
@@ -770,6 +783,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc++-8
+  (custom-gcc gcc-8 "gcc-objc++" '("obj-c++")
+              (list (search-path-specification
+                     (variable "OBJCPLUS_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc++ gcc-objc++-5)
 
 (define (make-libstdc++-doc gcc)
-- 
2.18.0

>From 70d1ba70de5279a5ef471e4a0287557ca598134f Mon Sep 17 00:00:00 2001
From: Eric Brown <[email-masked]>
Date: Sun, 2 Sep 2018 09:27:56 -0500
Subject: [PATCH] gnu: gcc@8: Update all compilers to 8.2.0.

* gnu/packages/gcc.scm (gfortran-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc-8): Update to 8.2.0.
* gnu/packages/gcc.scm (gcc-objc++-8): Update to 8.2.0.
---
 gnu/packages/gcc.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index bdff2ddad..0dd5d6446 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -663,6 +663,10 @@ as the 'native-search-paths' field."
   (custom-gcc gcc-7 "gfortran" '("fortran")
               %generic-search-paths))
 
+(define-public gfortran-8
+  (custom-gcc gcc-8 "gfortran" '("fortran")
+              %generic-search-paths))
+
 (define-public gfortran
   ;; Note: Update this when GCC changes!  We cannot use
   ;; (custom-gcc gcc "fortran" …) because that would lead to a package object
@@ -723,6 +727,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc-8
+  (custom-gcc gcc-8 "gcc-objc" '("objc")
+              (list (search-path-specification
+                     (variable "OBJC_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc gcc-objc-5)
 
 (define-public gcc-objc++-4.8
@@ -770,6 +783,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc++-8
+  (custom-gcc gcc-8 "gcc-objc++" '("obj-c++")
+              (list (search-path-specification
+                     (variable "OBJCPLUS_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc++ gcc-objc++-5)
 
 (define (make-libstdc++-doc gcc)
-- 
2.18.0