guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

74/210: gnu: gcc-boot: Update to 3.4.0.


From: Jan Nieuwenhuizen
Subject: 74/210: gnu: gcc-boot: Update to 3.4.0.
Date: Sat, 8 Sep 2018 10:36:08 -0400 (EDT)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit f3496751771e97b13bb5d9bb3bd088aeab9f1874
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Sun Jun 10 11:08:27 2018 +0200

    gnu: gcc-boot: Update to 3.4.0.
    
    * gnu/packages/mes.scm (gcc-boot): Update to 3.4.0.
    * gnu/packages/patches (gcc-boot-3.4.0.patch): New file.
    * gnu/packages/patches (gcc-boot-3.2.patch): Remove.
    * gnu/local.mk (dist_patch_DATA): Rename it.
---
 gnu/local.mk                              |  2 +-
 gnu/packages/mes.scm                      |  8 +++---
 gnu/packages/patches/gcc-boot-3.2.patch   | 34 ------------------------
 gnu/packages/patches/gcc-boot-3.4.0.patch | 44 +++++++++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 39 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index ed50249..8f025cf 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -696,7 +696,7 @@ dist_patch_DATA =                                           
\
   %D%/packages/patches/gcc-arm-bug-71399.patch                 \
   %D%/packages/patches/gcc-arm-link-spec-fix.patch             \
   %D%/packages/patches/gcc-asan-missing-include.patch          \
-  %D%/packages/patches/gcc-boot-3.2.patch                      \
+  %D%/packages/patches/gcc-boot-3.4.0.patch                    \
   %D%/packages/patches/gcc-cross-environment-variables.patch   \
   %D%/packages/patches/gcc-fix-texi2pod.patch                  \
   %D%/packages/patches/gcc-4.8-libsanitizer-fix.patch          \
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index fde5431..7e3d7fc 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -595,16 +595,16 @@ standard.")
   (package
     (inherit gcc)
     (name "gcc-boot")
-    (version "3.2")
+    (version "3.4.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "mirror://gnu/gcc/gcc-3.2/gcc-core-"
+              (uri (string-append "mirror://gnu/gcc/gcc-3.4.0/gcc-core-"
                                   version
                                   ".tar.gz"))
-              (patches (search-patches "gcc-boot-3.2.patch"))
+              (patches (search-patches "gcc-boot-3.4.0.patch"))
               (sha256
                (base32
-                "1pyik02gmi425d110m8j0gavp3lkqlg5rlh71hng12rha35dplsj"))))
+                "08c1y1yajmxia64pw7anr3hh7d368c1ncfj6prl38aq2z6srxr88"))))
     (supported-systems '("i686-linux"))
     (native-inputs `(("binutils" ,binutils-boot)
                      ("tcc" ,tcc-boot)))
diff --git a/gnu/packages/patches/gcc-boot-3.2.patch 
b/gnu/packages/patches/gcc-boot-3.2.patch
deleted file mode 100644
index 2533c8b..0000000
--- a/gnu/packages/patches/gcc-boot-3.2.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -purN -x config.status -x config.h -x BOOT 
../gcc-3.2/gcc/config/i386/i386.c gcc-3.2/gcc/config/i386/i386.c
---- ../gcc-3.2/gcc/config/i386/i386.c  2002-08-07 20:10:57.000000000 +0200
-+++ gcc-3.2/gcc/config/i386/i386.c     2018-06-06 15:39:23.235166230 +0200
-@@ -721,7 +721,9 @@ static int ix86_fp_comparison_cost PARAM
- static int ix86_save_reg PARAMS ((int, int));
- static void ix86_compute_frame_layout PARAMS ((struct ix86_frame *));
- static int ix86_comp_type_attributes PARAMS ((tree, tree));
-+#if 0
- const struct attribute_spec ix86_attribute_table[];
-+#endif
- static tree ix86_handle_cdecl_attribute PARAMS ((tree *, tree, tree, int, 
bool *));
- static tree ix86_handle_regparm_attribute PARAMS ((tree *, tree, tree, int, 
bool *));
- 
-@@ -820,7 +822,7 @@ static enum x86_64_reg_class merge_class
- #undef TARGET_SCHED_REORDER
- #define TARGET_SCHED_REORDER ix86_sched_reorder
- 
--struct gcc_target targetm = TARGET_INITIALIZER;
-+struct gcc_target targetm = {0};
- 
- /* Sometimes certain combinations of command options do not make
-    sense on a particular target machine.  You can define a macro
-diff -purN -x config.status -x config.h -x BOOT ../gcc-3.2/gcc/configure 
gcc-3.2/gcc/configure
---- ../gcc-3.2/gcc/configure   2002-06-29 02:20:11.000000000 +0200
-+++ gcc-3.2/gcc/configure      2018-06-06 15:14:04.134194009 +0200
-@@ -3005,7 +3005,7 @@ if { (eval echo configure:2991: \"$ac_co
-   elif grep 'format:address@hidden:tamrof' conftest.dmp >/dev/null 2>&1; then
-     ac_cv_c_float_format='IEEE (little-endian)'
-   elif grep 'format:.EFP@@I.:tamrof' conftest.dmp >/dev/null 2>&1; then
--    ac_cv_c_float_format='IEEE (little-endian)'
-+    ac_cv_c_float_format=o'IEEE (little-endian)'
-   elif grep 'format:.__floa.:tamrof' conftest.dmp >/dev/null 2>&1; then
-     ac_cv_c_float_format='VAX D-float'
-   elif grep 'format:..PDP-1.:tamrof' conftest.dmp >/dev/null 2>&1; then
diff --git a/gnu/packages/patches/gcc-boot-3.4.0.patch 
b/gnu/packages/patches/gcc-boot-3.4.0.patch
new file mode 100644
index 0000000..bfbea3b
--- /dev/null
+++ b/gnu/packages/patches/gcc-boot-3.4.0.patch
@@ -0,0 +1,44 @@
+diff -purN -x config.status -x config.h -x BOOT ../gcc-3.4.0/gcc/Makefile.in 
gcc-3.4.0/gcc/Makefile.in
+--- ../gcc-3.4.0/gcc/Makefile.in       2004-04-01 18:47:54.000000000 +0200
++++ gcc-3.4.0/gcc/Makefile.in  2018-06-07 22:56:59.236461370 +0200
+@@ -353,8 +353,8 @@ CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_
+ SYSTEM_HEADER_DIR = @SYSTEM_HEADER_DIR@
+ 
+ # Control whether to run fixproto and fixincludes.
+-STMP_FIXPROTO = @STMP_FIXPROTO@
+-STMP_FIXINC = @STMP_FIXINC@
++#STMP_FIXPROTO = @STMP_FIXPROTO@
++#STMP_FIXINC = @STMP_FIXINC@
+ 
+ # Test to see whether <limits.h> exists in the system header files.
+ LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/limits.h ]
+diff -purN -x config.status -x config.h -x BOOT ../gcc-3.4.0/intl/config.intl 
gcc-3.4.0/intl/config.intl
+--- ../gcc-3.4.0/intl/config.intl      1970-01-01 01:00:00.000000000 +0100
++++ gcc-3.4.0/intl/config.intl 2018-06-06 20:46:03.857566469 +0200
+@@ -0,0 +1,12 @@
++# This file records the configuration of libintl in a form that
++# can be read back in by a configure script in a sister directory.
++# See config/gettext.m4 for its use.
++
++USE_NLS='yes'
++LIBINTL='${top_builddir}/intl/libintl.a '
++LIBINTL_DEP='${top_builddir}/intl/libintl.a'
++INCINTL='-I${top_builddir}/intl'
++
++XGETTEXT=':'
++GMSGFMT=':'
++POSUB='po'
+diff -purN -x config.status -x config.h -x BOOT ../gcc-3.4.0/intl/localename.c 
gcc-3.4.0/intl/localename.c
+--- ../gcc-3.4.0/intl/localename.c     2003-07-04 20:18:54.000000000 +0200
++++ gcc-3.4.0/intl/localename.c        2018-06-06 18:22:34.324535867 +0200
+@@ -26,6 +26,10 @@
+ #include <stdlib.h>
+ #include <locale.h>
+ 
++#ifndef NULL
++#define NULL 0
++#endif
++
+ #if defined _WIN32 || defined __WIN32__
+ # undef WIN32   /* avoid warning on mingw32 */
+ # define WIN32



reply via email to

[Prev in Thread] Current Thread [Next in Thread]