[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
76/211: Revert "gnu: gcc-boot: Update to 3.2."
From: |
Jan Nieuwenhuizen |
Subject: |
76/211: Revert "gnu: gcc-boot: Update to 3.2." |
Date: |
Sat, 8 Sep 2018 11:09:32 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit ffed16e1f1f2e667a8bba8321c8ad8011173a41c
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Jun 10 20:08:02 2018 +0200
Revert "gnu: gcc-boot: Update to 3.2."
This reverts commit c228030ad0619b1de460f6d90831b5298ceaa9a6.
---
gnu/local.mk | 2 +-
gnu/packages/mes.scm | 12 +++++------
gnu/packages/patches/gcc-boot-3.0.patch | 37 +++++++++++++++++++++++++++++++++
gnu/packages/patches/gcc-boot-3.2.patch | 34 ------------------------------
4 files changed, 44 insertions(+), 41 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index ed50249..18ed844 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.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..6c95ad8 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.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.0/gcc-core-"
version
".tar.gz"))
- (patches (search-patches "gcc-boot-3.2.patch"))
+ (patches (search-patches "gcc-boot-3.0.patch"))
(sha256
(base32
- "1pyik02gmi425d110m8j0gavp3lkqlg5rlh71hng12rha35dplsj"))))
+ "13x04j77h9jw7g74v41s7jvxb2n3nx0mdvg8cf3i2bm306mss5vk"))))
(supported-systems '("i686-linux"))
(native-inputs `(("binutils" ,binutils-boot)
("tcc" ,tcc-boot)))
@@ -659,8 +659,8 @@ ac_cv_c_float_format='IEEE (little-endian)'
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(let ((tcc-boot (assoc-ref %build-inputs "tcc")))
- (system* "ar" "r" "libg.a"
- (string-append tcc-boot "/lib/x86-mes-gcc/libg.o"))
+ ;; (system* "ar" "r" "libg.a"
+ ;; (string-append tcc-boot "/lib/x86-mes-gcc/libg.o"))
(and (zero? (apply system* (cons "make" make-flags)))
;; (system* "make" "stage1" "LANGUAGES=c")
;; (zero? (system* "make" "CC=stage1/xgcc -Bstage1/"
diff --git a/gnu/packages/patches/gcc-boot-3.0.patch
b/gnu/packages/patches/gcc-boot-3.0.patch
new file mode 100644
index 0000000..868ed82
--- /dev/null
+++ b/gnu/packages/patches/gcc-boot-3.0.patch
@@ -0,0 +1,37 @@
+diff -purN -x config.status -x config.h -x BOOT ../gcc-3.0/gcc/config.gcc
gcc-3.0/gcc/config.gcc
+--- ../gcc-3.0/gcc/config.gcc 2001-06-05 21:09:51.000000000 +0200
++++ gcc-3.0/gcc/config.gcc 2018-06-07 23:08:25.167767955 +0200
+@@ -1210,6 +1210,7 @@ i[34567]86-*-linux*) # Intel 80386's run
+ tm_file="i386/i386.h i386/att.h linux.h i386/linux.h"
+ tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
++ extra_parts=""
+ gnu_ld=yes
+ float_format=i386
+ if test x$enable_threads = xyes; then
+diff -purN -x config.status -x config.h -x BOOT ../gcc-3.0/gcc/Makefile.in
gcc-3.0/gcc/Makefile.in
+--- ../gcc-3.0/gcc/Makefile.in 2001-06-13 07:05:35.000000000 +0200
++++ gcc-3.0/gcc/Makefile.in 2018-06-07 17:14:44.405516220 +0200
+@@ -263,8 +263,8 @@ SPLAY_TREE_H= $(srcdir)/../include/splay
+ CROSS_SYSTEM_HEADER_DIR = $(tooldir)/sys-include
+
+ # 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.0/gcc/timevar.c
gcc-3.0/gcc/timevar.c
+--- ../gcc-3.0/gcc/timevar.c 2001-03-02 20:51:59.000000000 +0100
++++ gcc-3.0/gcc/timevar.c 2018-06-07 10:39:37.795395232 +0200
+@@ -27,6 +27,8 @@
+ # include <sys/times.h>
+ #endif
+
++#include <sys/resource.h>
++
+ #ifdef HAVE_SYS_RESOURCE_H
+ #include <sys/resource.h>
+ #endif
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
- 88/211: gnu: mes-boot: Update to 0.16., (continued)
- 88/211: gnu: mes-boot: Update to 0.16., Jan Nieuwenhuizen, 2018/09/08
- 75/211: Revert "gnu: gcc-boot: Update to 3.4.0.", Jan Nieuwenhuizen, 2018/09/08
- 85/211: gnu: mes-boot: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/09/08
- 69/211: gnu: gcc-boot: Update to 2.6.3., Jan Nieuwenhuizen, 2018/09/08
- 70/211: gnu: linux-libre-headers-boot0: Export., Jan Nieuwenhuizen, 2018/09/08
- 57/211: gnu: %mes-seed: Update for 0.15., Jan Nieuwenhuizen, 2018/09/08
- 50/211: gnu: mes-boot: Update to 0.14., Jan Nieuwenhuizen, 2018/09/08
- 66/211: gnu: binutils-boot: Update to 2.30., Jan Nieuwenhuizen, 2018/09/08
- 41/211: gnu: %mescc-tools-seed: Update to new gitlab url scheme., Jan Nieuwenhuizen, 2018/09/08
- 101/211: gnu: binutils-mesboot0: Rename from binutils-boot0., Jan Nieuwenhuizen, 2018/09/08
- 76/211: Revert "gnu: gcc-boot: Update to 3.2.",
Jan Nieuwenhuizen <=
- 83/211: gnu: %mescc-tools-seed: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/09/08
- 84/211: gnu: mescc-tools-boot: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/09/08
- 62/211: gnu: Add binutils-boot 2.5.1., Jan Nieuwenhuizen, 2018/09/08
- 86/211: gnu: mes-boot: Update for fopen: Return 0 upon failure., Jan Nieuwenhuizen, 2018/09/08
- 60/211: gnu: tinycc-boot: Update for mes 0.15., Jan Nieuwenhuizen, 2018/09/08
- 56/211: gnu: mescc-tools-boot: Update for mes 0.15., Jan Nieuwenhuizen, 2018/09/08
- 52/211: gnu: tcc-boot: Update for mes 0.14., Jan Nieuwenhuizen, 2018/09/08
- 47/211: gnu: %tinycc-seed: Update for mes 0.13., Jan Nieuwenhuizen, 2018/09/08
- 49/211: gnu: %mes-seed: Update for mes 0.14., Jan Nieuwenhuizen, 2018/09/08
- 43/211: gnu: stage0-boot: Update to new gitlab url scheme., Jan Nieuwenhuizen, 2018/09/08