From: Jakub Bogusz Date: Wed, 4 Apr 2018 03:37:44 +0000 (+0200) Subject: - up to 5.5.0 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=e08d5378265e168d0c7fc7050bea84fd762c8d34;p=packages%2Fgcc.git - up to 5.5.0 - updated info patch --- diff --git a/gcc-info.patch b/gcc-info.patch index e47bdf6..2ea4d76 100644 --- a/gcc-info.patch +++ b/gcc-info.patch @@ -26,9 +26,9 @@ @end direntry @end ifinfo ---- a/gcc/doc/gcc.texi 2004-07-22 22:12:20.000000000 +0200 -+++ b/gcc/doc/gcc.texi 2004-09-26 10:58:58.218713528 +0200 -@@ -62,12 +62,12 @@ +--- gcc-5.5.0/gcc/doc/gcc.texi.orig 2018-04-02 18:27:00.641736081 +0200 ++++ gcc-5.5.0/gcc/doc/gcc.texi 2018-04-02 18:28:32.125068369 +0200 +@@ -61,13 +61,13 @@ funds for GNU development. @end copying @ifnottex @@ -39,10 +39,12 @@ -* g++: (gcc). The GNU C++ compiler. -* gcov: (gcc) Gcov. @command{gcov}---a test coverage program. -* gcov-tool: (gcc) Gcov-tool. @command{gcov-tool}---an offline gcda profile processing program. +-* gcov-dump: (gcc) Gcov-dump. @command{gcov-dump}---an offline gcda and gcno profile dump tool. +* gcc: (gcc). The GNU Compiler Collection +* g++: (gcc). The GNU C++ compiler +* gcov: (gcc) Gcov. @command{gcov}---a test coverage program +* gcov-tool: (gcc) Gcov-tool. @command{gcov-tool}---an offline gcda profile processing program ++* gcov-dump: (gcc) Gcov-dump. @command{gcov-dump}---an offline gcda and gcno profile dump tool @end direntry This file documents the use of the GNU compilers. @sp 1 @@ -74,17 +76,34 @@ @end direntry @macro syntax{element} ---- a/gcc/ada/gnat_ugn.texi 2005-12-06 23:45:52.983574000 +0100 -+++ b/gcc/ada/gnat_ugn.texi 2005-12-11 02:35:45.580878360 +0100 -@@ -10,7 +10,7 @@ +--- gcc-5.5.0/gcc/ada/gnat_rm.texi.orig 2015-03-24 12:49:20.000000000 +0100 ++++ gcc-5.5.0/gcc/ada/gnat_rm.texi 2018-04-02 18:31:27.198399704 +0200 +@@ -10,9 +10,9 @@ @paragraphindent 0 @exampleindent 4 @finalout -@dircategory GNU Ada Tools +@dircategory Programming Languages: @direntry - * gnat_ugn: (gnat_ugn.info). gnat_ugn +-* gnat_rm: (gnat_rm.info). gnat_rm ++* gnat_rm: (gnat_rm.info). gnat_rm @end direntry + + @definfoenclose strong,`,' +--- gcc-5.5.0/gcc/ada/gnat_ugn.texi.orig 2018-04-02 18:27:00.668402748 +0200 ++++ gcc-5.5.0/gcc/ada/gnat_ugn.texi 2018-04-02 18:31:45.671732825 +0200 +@@ -10,9 +10,9 @@ + @paragraphindent 0 + @exampleindent 4 + @finalout +-@dircategory GNU Ada Tools ++@dircategory Programming Languages: + @direntry +-* gnat_ugn: (gnat_ugn.info). gnat_ugn ++* gnat_ugn: (gnat_ugn.info). gnat_ugn + @end direntry + + @definfoenclose strong,`,' --- a/gcc/fortran/gfortran.texi 2004-09-16 15:13:39.000000000 +0200 +++ b/gcc/fortran/gfortran.texi 2004-09-26 11:05:50.258074024 +0200 @@ -62,9 +62,9 @@ @@ -276,17 +295,6 @@ @chapter Invoking rebuild-gcj-db @c man title rebuild-gcj-db Merge the per-solib databases made by aot-compile into one system-wide database. ---- a/gcc/ada/gnat_rm.texi 2005-11-30 12:12:06.000000000 +0100 -+++ b/gcc/ada/gnat_rm.texi 2005-12-11 02:36:14.863426736 +0100 -@@ -26,7 +26,7 @@ - @paragraphindent 0 - @exampleindent 4 - @finalout --@dircategory GNU Ada Tools -+@dircategory Programming Languages: - @direntry - * gnat_rm: (gnat_rm.info). gnat_rm - @end direntry --- a/gcc/doc/install.texi 2005-11-30 12:02:42.000000000 +0100 +++ b/gcc/doc/install.texi 2005-12-11 02:44:22.598279768 +0100 @@ -87,9 +87,9 @@ diff --git a/gcc.spec b/gcc.spec index 5907b25..0150f9a 100644 --- a/gcc.spec +++ b/gcc.spec @@ -90,14 +90,14 @@ %define with_multilib2 1 %endif %endif -%ifarch %{ix86} %{x8664} x32 alpha arm ppc ppc64 sh sparc sparcv9 sparc64 +%ifarch %{ix86} %{x8664} x32 alpha %{arm} ppc ppc64 sh sparc sparcv9 sparc64 # library for atomic operations not supported by hardware %define with_atomic 1 %endif %ifarch %{ix86} %{x8664} x32 %define with_cilkrts 1 %endif -%ifarch %{ix86} %{x8664} x32 arm ppc ppc64 sparc sparcv9 sparc64 +%ifarch %{ix86} %{x8664} x32 %{arm} ppc ppc64 sparc sparcv9 sparc64 # sanitizer feature (asan and ubsan are common for all supported archs) %define with_Xsan 1 %endif @@ -116,7 +116,7 @@ %endif %define major_ver 5 -%define minor_ver 4.0 +%define minor_ver 5.0 %define ecj_ver 4.9 # class data version seen with file(1) that this jvm is able to load %define _classdataversion 50.0 @@ -128,18 +128,17 @@ Summary(pl.UTF-8): Kolekcja kompilatorów GNU: kompilator C i pliki współdziel Summary(pt_BR.UTF-8): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados Name: gcc Version: %{major_ver}.%{minor_ver} -Release: 3 +Release: 1 Epoch: 6 License: GPL v3+ Group: Development/Languages -Source0: https://ftp.gnu.org/pub/gnu/gcc/gcc-%{version}/%{name}-%{version}.tar.bz2 -# Source0-md5: 4c626ac2a83ef30dfb9260e6f59c2b30 +Source0: https://ftp.gnu.org/pub/gnu/gcc/gcc-%{version}/%{name}-%{version}.tar.xz +# Source0-md5: 0f70424213b4a1113c04ba66ddda0c1f Source1: %{name}-optimize-la.pl # check libffi version with libffi/configure.ac Source3: libffi.pc.in # svn diff -x --ignore-eol-style --force svn://gcc.gnu.org/svn/gcc/tags/gcc_5_4_0_release svn://gcc.gnu.org/svn/gcc/branches/gcc-5-branch > gcc-branch.diff -Patch100: %{name}-branch.diff -# Patch100-md5: 8211f0f6f0a2179e51b4ac42f91bd44d +#Patch100: %{name}-branch.diff Patch0: %{name}-info.patch Patch2: %{name}-nodebug.patch Patch3: %{name}-ada-link.patch @@ -199,6 +198,8 @@ BuildRequires: glibc-devel(sparcv9) BuildRequires: gmp-c++-devel >= 4.3.2 BuildRequires: gmp-devel >= 4.3.2 BuildRequires: isl-devel >= 0.14 +# still uses isl_band deprecated since 0.15, removed in 0.19 +BuildRequires: isl-devel < 0.19 BuildRequires: java-ecj >= %{ecj_ver} BuildRequires: libmpc-devel >= 0.8.1 BuildRequires: mpfr-devel >= 2.4.2 @@ -222,7 +223,9 @@ BuildRequires: perl-base BuildRequires: perl-tools-pod BuildRequires: pkgconfig BuildRequires: sed >= 4.0 +BuildRequires: tar >= 1:1.22 BuildRequires: unzip +BuildRequires: xz BuildRequires: zip %if %{with gtk} BuildRequires: cairo-devel >= 1.1.8 @@ -2830,7 +2833,7 @@ więc wtyczki muszą być przebudowywane przy każdej aktualizacji GCC. %prep %setup -q -%patch100 -p0 +#patch100 -p0 %patch0 -p1 %patch2 -p1 %patch3 -p1 @@ -3453,13 +3456,15 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/gcc-ar %attr(755,root,root) %{_bindir}/gcc-nm %attr(755,root,root) %{_bindir}/gcc-ranlib -#%attr(755,root,root) %{_bindir}/gccbug %attr(755,root,root) %{_bindir}/gcov +%attr(755,root,root) %{_bindir}/gcov-dump %attr(755,root,root) %{_bindir}/gcov-tool %{_mandir}/man1/cc.1* %{_mandir}/man1/cpp.1* %{_mandir}/man1/gcc.1* %{_mandir}/man1/gcov.1* +%{_mandir}/man1/gcov-dump.1* +%{_mandir}/man1/gcov-tool.1* %{_infodir}/cpp.info* %{_infodir}/cppinternals.info* %{_infodir}/gcc.info* @@ -3549,7 +3554,6 @@ rm -rf $RPM_BUILD_ROOT %{gcclibdir}/include/mm_malloc.h %{gcclibdir}/include/nmmintrin.h %{gcclibdir}/include/mwaitxintrin.h -%{gcclibdir}/include/pcommitintrin.h %{gcclibdir}/include/pmmintrin.h %{gcclibdir}/include/popcntintrin.h %{gcclibdir}/include/prfchwintrin.h @@ -3569,7 +3573,7 @@ rm -rf $RPM_BUILD_ROOT %{gcclibdir}/include/xsavesintrin.h %{gcclibdir}/include/xtestintrin.h %endif -%ifarch arm +%ifarch %{arm} %{gcclibdir}/include/arm_neon.h %{gcclibdir}/include/mmintrin.h %endif