Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-04-06 16:08:32 +0300 committer: kx <kx@radix.pro> 2023-04-06 16:08:32 +0300 commit: c9b87548f19c4323592abff0a86bc1dac45658f0 parent: 8d07317ed20e7544501edfcc9894d5002fd1771d
Commit Summary:
GNU packages
Diffstat:
2 files changed, 45 insertions, 0 deletions
diff --git a/GNU/gcc/gcc-4.7.2/Makefile b/GNU/gcc/gcc-4.7.2/Makefile
new file mode 100644
index 0000000..3ca6e86
--- /dev/null
+++ b/GNU/gcc/gcc-4.7.2/Makefile
@@ -0,0 +1,37 @@
+#
+# https://gcc.gnu.org
+#
+# You can use the generic url https://ftpmirror.gnu.org 
+# to automatically choose a nearby and up-to-date mirror.
+#
+# original url: https://ftp.gnu.org/gnu/gcc/gcc-$(version)
+#
+
+url         = https://ftp.gnu.org/gnu/gcc
+
+versions    = 4.7.2
+
+pkgname     = gcc
+suffix      = tar.bz2
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for version in $(versions) ; do \
+	  wget -N $(url)/gcc-$$version/gcc-$$version.$(suffix) ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
diff --git a/GNU/gcc/gcc-4.7.2/NOTE.TXT b/GNU/gcc/gcc-4.7.2/NOTE.TXT
new file mode 100644
index 0000000..88764fb
--- /dev/null
+++ b/GNU/gcc/gcc-4.7.2/NOTE.TXT
@@ -0,0 +1,27 @@
+
+Do not use 4.8.0 host compiler to build gcc-4.7.2 because of build error
+========================================================================
+
+[see: http://gcc.gnu.org/@/bugzilla/show_bug.cgi?id=56927]
+
+Bug 56927 - 4.7.2 build ICEs when built with 4.8.0 and --disable-bootstrap
+--------------------------------------------------------------------------
+
+Segher Boessenkool 2013-04-11 19:17:26 UTC
+
+  When using a 4.8.0 host compiler and configuring with --disable-bootstrap,
+  a build of 4.7.2 fails with
+
+  /home/segher/src/gcc-4.7.2/libgcc/libgcc2.c: In function '__absvdi2':
+  /home/segher/src/gcc-4.7.2/libgcc/libgcc2.c:273:1: internal compiler error: Segmentation fault
+
+  There is no such error if the host compiler is 4.4 or 4.7, or without
+  --disable-bootstrap; it does have the error if doing a cross to i386-elf.
+  I haven't tested with tip-of-tree of either 4.7 or 4.8 or on different
+  architectures.
+
+Segher Boessenkool 2013-04-12 00:15:26 UTC
+
+  Hey, 4.7.3 didn't exist yet :-)
+
+  Confirmed fixed.