Hello community, here is the log from the commit of package gcc5 for openSUSE:Factory checked in at 2015-04-22 01:18:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc5 (Old) and /work/SRC/openSUSE:Factory/.gcc5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc5" Changes: -------- New Changes file: --- /dev/null 2015-03-12 01:14:30.992027505 +0100 +++ /work/SRC/openSUSE:Factory/.gcc5.new/cross-aarch64-gcc5.changes 2015-04-22 01:18:03.000000000 +0200 @@ -0,0 +1,219 @@ +------------------------------------------------------------------- +Mon Apr 20 07:45:47 UTC 2015 - [email protected] + +- Update to gcc-5-branch head (r222226). + * Includes GCC 5.1 RC2. + +------------------------------------------------------------------- +Thu Apr 16 13:40:56 UTC 2015 - [email protected] + +- Update to gcc-5-branch head (r222139). + +------------------------------------------------------------------- +Mon Apr 13 08:38:29 UTC 2015 - [email protected] + +- Update to gcc-5-branch head (r222032). + * Matches GCC 5.1 RC1. + +------------------------------------------------------------------- +Thu Apr 9 08:33:14 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221942). + +------------------------------------------------------------------- +Tue Apr 7 09:55:38 UTC 2015 - [email protected] + +- Prepare for non-icecream cross-compilers +* Define sysroot to match cross-binutils config +* Prepare for requiring cross-newlib for some targets +* Use all-host target for libc bootstrap, too +* Install target files, but suppress stripping them (breaks them) +* Suppress -icecream-backend subpackage +* Allow building on any architecture + +------------------------------------------------------------------- +Tue Apr 7 08:19:52 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221888). +- Enable cross compiler builds. + +------------------------------------------------------------------- +Thu Apr 2 13:27:21 UTC 2015 - [email protected] + +- libsanitizer-tsan-res-state.patch: remove obsolete patch. +- gcc5-libsanitize-aarch64-va42.patch: support aarch64 42-bit address +- space + +------------------------------------------------------------------- +Tue Mar 24 11:01:28 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221624). +- Require own ada version for suse_version > 1330, not explicitely + gcc49-ada. +- Amend _constraints to request more physical memory for gcc5 and + gcc5-testresults as well as 4 processors for gcc5. + +------------------------------------------------------------------- +Thu Mar 19 13:45:05 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221515). + +------------------------------------------------------------------- +Wed Mar 18 10:17:24 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221482). + * Fixes miscompile of vim. + +------------------------------------------------------------------- +Tue Mar 10 09:56:36 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221322). + * Contains fixes for PR65120 and should reduce the amount of + false -Wlogical-not-parentheses warnings. +- Switch to release checking builds. + +------------------------------------------------------------------- +Tue Mar 3 10:52:07 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221139). + * Includes gcc5-pr65040.patch which is now removed. +- Add libsanitizer-tsan-res-state.patch to fix build with new glibc. +- Enable asan and ubsan for ppc64le. + +------------------------------------------------------------------- +Fri Feb 27 11:40:33 UTC 2015 - [email protected] + +- Add gcc5-pr65040.patch to remove -Wformat-signedness from -Wformat=2. +- Renumber patches. + +------------------------------------------------------------------- +Wed Feb 25 11:05:05 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220959). + +------------------------------------------------------------------- +Fri Feb 20 07:59:48 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220833). + +------------------------------------------------------------------- +Tue Feb 17 13:42:15 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220758). + +------------------------------------------------------------------- +Fri Feb 13 09:39:33 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220678). + +------------------------------------------------------------------- +Wed Feb 11 14:33:06 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220617). + +------------------------------------------------------------------- +Tue Feb 10 12:31:13 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220580). +- Pulls bugfixing from Fedora mass-rebuild. + +------------------------------------------------------------------- +Wed Jan 28 13:20:08 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220205). +- Strip GO binaries again. + +------------------------------------------------------------------- +Fri Jan 23 09:26:42 UTC 2015 - [email protected] + +- Update to SVN trunk head (r220030). +- Package go and gofmt manpages. + +------------------------------------------------------------------- +Thu Jan 22 11:14:04 UTC 2015 - [email protected] + +- Update to SVN trunk head (r219990). +- Make sure to not strip GO binaries as that makes them fail to run. +- Bump libgcj SO version. + +------------------------------------------------------------------- +Tue Jan 20 10:46:10 UTC 2015 - [email protected] + +- Update to SVN trunk head (r219892). +- Do not remove fixed includes for non-icecream like built crosses. +- Use the C++98 libstdc++ ABI by default on openSUSE 13.2 and older. + +------------------------------------------------------------------- +Thu Jan 15 08:42:44 UTC 2015 - [email protected] + +- Update to SVN trunk head (r219634). +- Bump libgo SO version. + +------------------------------------------------------------------- +Tue Jan 13 13:56:25 UTC 2015 - [email protected] + +- Update to SVN trunk head (r219531). +- Update gcc-dir-version.patch with upstream libgcj.pc file name changes. + +------------------------------------------------------------------- +Mon Dec 15 14:20:44 UTC 2014 - [email protected] + +- Update to SVN trunk head (r218749). +- Drop gcc5-pr61558.patch. + +------------------------------------------------------------------- +Fri Dec 12 12:06:18 UTC 2014 - [email protected] + +- Update to SVN trunk head (r218668). +- Enable GRAPHITE everywhere. +- Add gcc5-pr61558.patch to help identifying that issue easier. + +------------------------------------------------------------------- +Wed Dec 10 14:35:55 UTC 2014 - [email protected] + +- Update to SVN trunk head (r218580). + +------------------------------------------------------------------- +Tue Dec 2 12:37:13 UTC 2014 - [email protected] + +- Update to SVN trunk head (r218267). + * Obsoletes gcc5-libsanitizer-fix.diff and gcc5-fix-gnatvsn.patch + +------------------------------------------------------------------- +Fri Nov 21 08:38:26 UTC 2014 - [email protected] + +- Add gcc5-libsanitizer-fix.diff to fix bug in libsanitizer that + prevents build on aarch64. + +------------------------------------------------------------------- +Tue Nov 18 14:17:33 UTC 2014 - [email protected] + +- Update to SVN trunk head (r217714). + * should fix non-%x86 build. + +------------------------------------------------------------------- +Mon Nov 17 15:26:56 UTC 2014 - [email protected] + +- New package, inherits from gcc49 ++++ 22 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.gcc5.new/cross-aarch64-gcc5.changes New Changes file: cross-armv6hl-gcc5.changes: same change New Changes file: cross-armv7hl-gcc5.changes: same change New Changes file: cross-avr-gcc5.changes: same change New Changes file: cross-i386-gcc5.changes: same change New Changes file: cross-ppc64-gcc5.changes: same change New Changes file: cross-ppc64le-gcc5.changes: same change New Changes file: cross-s390-gcc5.changes: same change New Changes file: cross-s390x-gcc5.changes: same change New Changes file: cross-sparc-gcc5.changes: same change New Changes file: cross-sparc64-gcc5.changes: same change New Changes file: cross-x86_64-gcc5.changes: same change --- /work/SRC/openSUSE:Factory/gcc5/gcc5-testresults.changes 2015-03-25 10:01:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gcc5.new/gcc5-testresults.changes 2015-04-22 01:18:07.000000000 +0200 @@ -1,0 +2,46 @@ +Mon Apr 20 07:45:47 UTC 2015 - [email protected] + +- Update to gcc-5-branch head (r222226). + * Includes GCC 5.1 RC2. + +------------------------------------------------------------------- +Thu Apr 16 13:40:56 UTC 2015 - [email protected] + +- Update to gcc-5-branch head (r222139). + +------------------------------------------------------------------- +Mon Apr 13 08:38:29 UTC 2015 - [email protected] + +- Update to gcc-5-branch head (r222032). + * Matches GCC 5.1 RC1. + +------------------------------------------------------------------- +Thu Apr 9 08:33:14 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221942). + +------------------------------------------------------------------- +Tue Apr 7 09:55:38 UTC 2015 - [email protected] + +- Prepare for non-icecream cross-compilers +* Define sysroot to match cross-binutils config +* Prepare for requiring cross-newlib for some targets +* Use all-host target for libc bootstrap, too +* Install target files, but suppress stripping them (breaks them) +* Suppress -icecream-backend subpackage +* Allow building on any architecture + +------------------------------------------------------------------- +Tue Apr 7 08:19:52 UTC 2015 - [email protected] + +- Update to SVN trunk head (r221888). +- Enable cross compiler builds. + +------------------------------------------------------------------- +Thu Apr 2 13:27:21 UTC 2015 - [email protected] + +- libsanitizer-tsan-res-state.patch: remove obsolete patch. +- gcc5-libsanitize-aarch64-va42.patch: support aarch64 42-bit address +- space + +------------------------------------------------------------------- gcc5.changes: same change libffi5.changes: same change libgcj5.changes: same change Old: ---- gcc-5.0.0-r221624.tar.bz2 libsanitizer-tsan-res-state.patch New: ---- cross-aarch64-gcc5.changes cross-aarch64-gcc5.spec cross-armv6hl-gcc5.changes cross-armv6hl-gcc5.spec cross-armv7hl-gcc5.changes cross-armv7hl-gcc5.spec cross-avr-gcc5.changes cross-avr-gcc5.spec cross-i386-gcc5.changes cross-i386-gcc5.spec cross-ppc64-gcc5.changes cross-ppc64-gcc5.spec cross-ppc64le-gcc5.changes cross-ppc64le-gcc5.spec cross-s390-gcc5.changes cross-s390-gcc5.spec cross-s390x-gcc5.changes cross-s390x-gcc5.spec cross-sparc-gcc5.changes cross-sparc-gcc5.spec cross-sparc64-gcc5.changes cross-sparc64-gcc5.spec cross-x86_64-gcc5.changes cross-x86_64-gcc5.spec gcc-5.0.1-r222226.tar.bz2 gcc5-libsanitize-aarch64-va42.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc5.spec ++++++ ++++ 610 lines (skipped) cross-armv6hl-gcc5.spec: same change cross-armv7hl-gcc5.spec: same change cross-avr-gcc5.spec: same change cross-i386-gcc5.spec: same change cross-ppc64-gcc5.spec: same change cross-ppc64le-gcc5.spec: same change cross-s390-gcc5.spec: same change cross-s390x-gcc5.spec: same change cross-sparc-gcc5.spec: same change cross-sparc64-gcc5.spec: same change cross-x86_64-gcc5.spec: same change ++++++ gcc5-testresults.spec ++++++ --- /var/tmp/diff_new_pack.h7l0ki/_old 2015-04-22 01:18:10.000000000 +0200 +++ /var/tmp/diff_new_pack.h7l0ki/_new 2015-04-22 01:18:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gcc5-testresults # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,11 +37,15 @@ # Ada currently fails to build on a few platforms, enable it only # on those that work -# Note that AdaCore only supports %ix86 and x86_64 -%ifarch %ix86 x86_64 ppc ppc64 s390 +%if %{suse_version} >= 1310 +%define ada_arch %ix86 x86_64 ppc ppc64 s390 ia64 +%else +%define ada_arch %ix86 x86_64 ppc s390 ia64 +%endif + +%ifarch %ada_arch %define build_ada !0%{?building_libjava:1}%{?building_libffi:1} %else -# alpha s390x hppa arm %define build_ada 0 %endif @@ -172,11 +176,13 @@ # until here, but at least renaming and patching info files breaks this BuildRequires: gcc-c++ BuildRequires: glibc-devel-32bit -BuildRequires: isl-devel BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl BuildRequires: zlib-devel +%if %{suse_version} >= 1230 +BuildRequires: isl-devel +%endif %if %{build_ada} %if %{suse_version} > 1330 %define hostsuffix %{binsuffix} @@ -235,7 +241,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 5.0.0+r221624 +Version: 5.0.1+r222226 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -294,7 +300,7 @@ Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff Patch7: gcc48-libstdc++-api-reference.patch -Patch8: libsanitizer-tsan-res-state.patch +Patch8: gcc5-libsanitize-aarch64-va42.patch # A set of patches from the RH srpm Patch50: gcc41-java-slow_pthread_self.patch Patch51: gcc41-ppc32-retaddr.patch @@ -412,7 +418,7 @@ %patch5 %patch6 %patch7 -%patch8 -p1 +%patch8 %patch50 %patch51 %patch60 @@ -645,7 +651,13 @@ --with-cpu=default32 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} == 1315 + --with-cpu=power8 \ + --with-tune=power8 \ +%else --with-cpu=power7 \ + --with-tune=power7 \ +%endif %else --with-cpu-64=power4 \ %endif ++++++ gcc5.spec ++++++ --- /var/tmp/diff_new_pack.h7l0ki/_old 2015-04-22 01:18:10.000000000 +0200 +++ /var/tmp/diff_new_pack.h7l0ki/_new 2015-04-22 01:18:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gcc5 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,11 +19,15 @@ # Ada currently fails to build on a few platforms, enable it only # on those that work -# Note that AdaCore only supports %ix86 and x86_64 -%ifarch %ix86 x86_64 ppc ppc64 s390 +%if %{suse_version} >= 1310 +%define ada_arch %ix86 x86_64 ppc ppc64 s390 ia64 +%else +%define ada_arch %ix86 x86_64 ppc s390 ia64 +%endif + +%ifarch %ada_arch %define build_ada !0%{?building_libjava:1}%{?building_libffi:1} %else -# alpha s390x hppa arm %define build_ada 0 %endif @@ -154,11 +158,13 @@ # until here, but at least renaming and patching info files breaks this BuildRequires: gcc-c++ BuildRequires: glibc-devel-32bit -BuildRequires: isl-devel BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl BuildRequires: zlib-devel +%if %{suse_version} >= 1230 +BuildRequires: isl-devel +%endif %if %{build_ada} %if %{suse_version} > 1330 %define hostsuffix %{binsuffix} @@ -217,7 +223,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 5.0.0+r221624 +Version: 5.0.1+r222226 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -276,7 +282,7 @@ Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff Patch7: gcc48-libstdc++-api-reference.patch -Patch8: libsanitizer-tsan-res-state.patch +Patch8: gcc5-libsanitize-aarch64-va42.patch # A set of patches from the RH srpm Patch50: gcc41-java-slow_pthread_self.patch Patch51: gcc41-ppc32-retaddr.patch @@ -1719,7 +1725,7 @@ %patch5 %patch6 %patch7 -%patch8 -p1 +%patch8 %patch50 %patch51 %patch60 @@ -1952,7 +1958,13 @@ --with-cpu=default32 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} == 1315 + --with-cpu=power8 \ + --with-tune=power8 \ +%else --with-cpu=power7 \ + --with-tune=power7 \ +%endif %else --with-cpu-64=power4 \ %endif @@ -3260,6 +3272,7 @@ %versmainlib libgo.a %versmainlib libgo.so %versmainlib libgobegin.a +%versmainlib libnetgo.a %versmainlibdir/cgo %dir %mainlibdir/go %dir %mainlibdir/go/%{gcc_dir_version} @@ -3274,6 +3287,7 @@ %versbiarchlib libgo.a %versbiarchlib libgo.so %versbiarchlib libgobegin.a +%versbiarchlib libnetgo.a %dir %mainlibdirbi/go %dir %mainlibdirbi/go/%{gcc_dir_version} %mainlibdirbi/go/%{gcc_dir_version}/%{GCCDIST} ++++++ libffi5.spec ++++++ --- /var/tmp/diff_new_pack.h7l0ki/_old 2015-04-22 01:18:10.000000000 +0200 +++ /var/tmp/diff_new_pack.h7l0ki/_new 2015-04-22 01:18:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libffi5 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,11 +36,15 @@ # Ada currently fails to build on a few platforms, enable it only # on those that work -# Note that AdaCore only supports %ix86 and x86_64 -%ifarch %ix86 x86_64 ppc ppc64 s390 +%if %{suse_version} >= 1310 +%define ada_arch %ix86 x86_64 ppc ppc64 s390 ia64 +%else +%define ada_arch %ix86 x86_64 ppc s390 ia64 +%endif + +%ifarch %ada_arch %define build_ada !0%{?building_libjava:1}%{?building_libffi:1} %else -# alpha s390x hppa arm %define build_ada 0 %endif @@ -171,11 +175,13 @@ # until here, but at least renaming and patching info files breaks this BuildRequires: gcc-c++ BuildRequires: glibc-devel-32bit -BuildRequires: isl-devel BuildRequires: mpc-devel BuildRequires: mpfr-devel BuildRequires: perl BuildRequires: zlib-devel +%if %{suse_version} >= 1230 +BuildRequires: isl-devel +%endif %if %{build_ada} %if %{suse_version} > 1330 %define hostsuffix %{binsuffix} @@ -234,7 +240,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 5.0.0+r221624 +Version: 5.0.1+r222226 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -293,7 +299,7 @@ Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff Patch7: gcc48-libstdc++-api-reference.patch -Patch8: libsanitizer-tsan-res-state.patch +Patch8: gcc5-libsanitize-aarch64-va42.patch # A set of patches from the RH srpm Patch50: gcc41-java-slow_pthread_self.patch Patch51: gcc41-ppc32-retaddr.patch @@ -577,7 +583,7 @@ %patch5 %patch6 %patch7 -%patch8 -p1 +%patch8 %patch50 %patch51 %patch60 @@ -810,7 +816,13 @@ --with-cpu=default32 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} == 1315 + --with-cpu=power8 \ + --with-tune=power8 \ +%else --with-cpu=power7 \ + --with-tune=power7 \ +%endif %else --with-cpu-64=power4 \ %endif @@ -1119,6 +1131,7 @@ %versmainlib libgo.a %versmainlib libgo.so %versmainlib libgobegin.a +%versmainlib libnetgo.a %versmainlibdir/cgo %dir %mainlibdir/go %dir %mainlibdir/go/%{gcc_dir_version} @@ -1133,6 +1146,7 @@ %versbiarchlib libgo.a %versbiarchlib libgo.so %versbiarchlib libgobegin.a +%versbiarchlib libnetgo.a %dir %mainlibdirbi/go %dir %mainlibdirbi/go/%{gcc_dir_version} %mainlibdirbi/go/%{gcc_dir_version}/%{GCCDIST} libgcj5.spec: same change ++++++ change_spec ++++++ --- /var/tmp/diff_new_pack.h7l0ki/_old 2015-04-22 01:18:10.000000000 +0200 +++ /var/tmp/diff_new_pack.h7l0ki/_new 2015-04-22 01:18:10.000000000 +0200 @@ -1,6 +1,6 @@ #!/bin/bash -do_icecream=0 +do_icecream=1 do_cross_static=0 do_cross_shared=1 do_optional_compiler_languages=0 ++++++ cross.spec.in ++++++ --- /var/tmp/diff_new_pack.h7l0ki/_old 2015-04-22 01:18:10.000000000 +0200 +++ /var/tmp/diff_new_pack.h7l0ki/_new 2015-04-22 01:18:10.000000000 +0200 @@ -44,6 +44,9 @@ %if 0%{?gcc_icecream:1} %define build_sysroot / +%else +# use same sysroot as in binutils.spec +%define sysroot %{_prefix}/%{binutils_os}/sys-root %endif @@ -71,9 +74,17 @@ BuildRequires: libunwind-devel %endif %if 0%{!?gcc_icecream:1} +%if 0 +%if 0%{!?gcc_libc_bootstrap:1} +BuildRequires: cross-%cross_arch-newlib-devel +%endif +%else BuildRequires: cross-%cross_arch-glibc-devel %endif +%endif +%if 0%{?gcc_icecream:1} ExclusiveArch: ppc64 x86_64 ia64 s390x aarch64 +%endif %define _binary_payload w.ufdio # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has # file conflicts with it and is no longer packaged @@ -84,19 +95,21 @@ # COMMON-BEGIN # COMMON-END -%if 0%{!?gcc_icecream:1} +%if 0%{!?gcc_icecream:1} && 0%{!?gcc_libc_bootstrap:1} make %{?jobs:-j%jobs} %else make %{?jobs:-j%jobs} all-host %endif +%if 0%{?gcc_icecream:1} %package -n cross-%cross_arch-gcc@base_ver@-icecream-backend Summary: Icecream backend for the GNU C Compiler Group: Development/Languages/C and C++ %description -n cross-%cross_arch-gcc@base_ver@-icecream-backend This package contains the icecream environment for the GNU C Compiler +%endif %define targetlibsubdir %{_libdir}/gcc/%{gcc_target_arch}/%{gcc_dir_version} @@ -120,15 +133,26 @@ # install and fixup target parts -# ??? don't do this - debugedit is not prepared for this and crashes +# debugedit is not prepared for this and crashes +%if 0%{?gcc_icecream:1} # so expect the sysroot to be populated from natively built binaries -#%if 0%{?sysroot:1} -#make DESTDIR=$RPM_BUILD_ROOT/%{sysroot} install-target -#%else -#make DESTDIR=$RPM_BUILD_ROOT/%{_prefix}/%{gcc_target_arch} install-target -#%endif +%else +%if 0%{!?gcc_libc_bootstrap:1} +export NO_BRP_STRIP_DEBUG=true +export NO_DEBUGINFO_STRIP_DEBUG=true +%define __debug_install_post %{nil} +: >debugfiles.list +: >debugsources.list +%if 0%{?sysroot:1} +make DESTDIR=$RPM_BUILD_ROOT/%{sysroot} install-target +%else +make DESTDIR=$RPM_BUILD_ROOT/%{_prefix}/%{gcc_target_arch} install-target +%endif +%endif +%endif +%if 0%{?gcc_icecream:1} # Build an icecream environment # The assembler comes from the cross-binutils, and hence is _not_ # named funnily, not even on ppc, so there we need the original target @@ -170,6 +194,7 @@ rpm -q --changelog glibc > usr/share/icecream-envs/%{name}_%{_arch}.glibc rpm -q --changelog binutils > usr/share/icecream-envs/%{name}_%{_arch}.binutils rm -r env +%endif %files %defattr(-,root,root) @@ -178,8 +203,18 @@ %dir %{_libdir}/gcc/%{gcc_target_arch} %{targetlibsubdir} +%if 0%{!?gcc_icecream:1} && 0%{!?gcc_libc_bootstrap:1} +%if 0%{?sysroot:1} +%{sysroot} +%else +%{_prefix}/%{gcc_target_arch} +%endif +%endif + +%if 0%{?gcc_icecream:1} %files -n cross-%cross_arch-gcc@base_ver@-icecream-backend %defattr(-,root,root) /usr/share/icecream-envs +%endif %changelog -n cross-%{pkgname}-gcc@base_ver@ ++++++ gcc-5.0.0-r221624.tar.bz2 -> gcc-5.0.1-r222226.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/gcc5/gcc-5.0.0-r221624.tar.bz2 /work/SRC/openSUSE:Factory/.gcc5.new/gcc-5.0.1-r222226.tar.bz2 differ: char 11, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.h7l0ki/_old 2015-04-22 01:18:10.000000000 +0200 +++ /var/tmp/diff_new_pack.h7l0ki/_new 2015-04-22 01:18:10.000000000 +0200 @@ -21,11 +21,15 @@ # Ada currently fails to build on a few platforms, enable it only # on those that work -# Note that AdaCore only supports %ix86 and x86_64 -%ifarch %ix86 x86_64 ppc ppc64 s390 +%if %{suse_version} >= 1310 +%define ada_arch %ix86 x86_64 ppc ppc64 s390 ia64 +%else +%define ada_arch %ix86 x86_64 ppc s390 ia64 +%endif + +%ifarch %ada_arch %define build_ada !0%{?building_libjava:1}%{?building_libffi:1} %else -# alpha s390x hppa arm %define build_ada 0 %endif @@ -162,7 +166,9 @@ BuildRequires: mpfr-devel BuildRequires: perl BuildRequires: zlib-devel +%if %{suse_version} >= 1230 BuildRequires: isl-devel +%endif %if %{build_ada} %if %{suse_version} > 1330 %define hostsuffix %{binsuffix} @@ -222,7 +228,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: http://gcc.gnu.org/ -Version: 5.0.0+r221624 +Version: 5.0.1+r222226 Release: 1 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -283,7 +289,7 @@ Patch5: tls-no-direct.diff Patch6: gcc43-no-unwind-tables.diff Patch7: gcc48-libstdc++-api-reference.patch -Patch8: libsanitizer-tsan-res-state.patch +Patch8: gcc5-libsanitize-aarch64-va42.patch # A set of patches from the RH srpm Patch50: gcc41-java-slow_pthread_self.patch Patch51: gcc41-ppc32-retaddr.patch @@ -1101,7 +1107,7 @@ %patch5 %patch6 %patch7 -%patch8 -p1 +%patch8 %patch50 %patch51 %patch60 @@ -1334,7 +1340,13 @@ --with-cpu=default32 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} == 1315 + --with-cpu=power8 \ + --with-tune=power8 \ +%else --with-cpu=power7 \ + --with-tune=power7 \ +%endif %else --with-cpu-64=power4 \ %endif @@ -2675,6 +2687,7 @@ %versmainlib libgo.a %versmainlib libgo.so %versmainlib libgobegin.a +%versmainlib libnetgo.a %versmainlibdir/cgo %dir %mainlibdir/go %dir %mainlibdir/go/%{gcc_dir_version} @@ -2689,6 +2702,7 @@ %versbiarchlib libgo.a %versbiarchlib libgo.so %versbiarchlib libgobegin.a +%versbiarchlib libnetgo.a %dir %mainlibdirbi/go %dir %mainlibdirbi/go/%{gcc_dir_version} %mainlibdirbi/go/%{gcc_dir_version}/%{GCCDIST} ++++++ gcc5-libsanitize-aarch64-va42.patch ++++++ 2015-01-22 Jakub Jelinek <[email protected]> * asan/asan_allocator.h (kAllocatorSpace, kAllocatorSize): Set to 1T for __aarch64__. * sanitizer_common/sanitizer_platform.h (SANITIZER_CAN_USE_ALLOCATOR64): Set to 1 on __aarch64__ if SANITIZER_WORDSIZE is 64. (SANITIZER_MMAP_RANGE_SIZE): Define to 1ULL << 42 for __aarch64__. --- libsanitizer/asan/asan_allocator.h (revision 219833) +++ libsanitizer/asan/asan_allocator.h (working copy) @@ -100,6 +100,10 @@ # if defined(__powerpc64__) const uptr kAllocatorSpace = 0xa0000000000ULL; const uptr kAllocatorSize = 0x20000000000ULL; // 2T. +# elif defined(__aarch64__) +// Valid only for 42-bit VA +const uptr kAllocatorSpace = 0x10000000000ULL; +const uptr kAllocatorSize = 0x10000000000ULL; // 1T. # else const uptr kAllocatorSpace = 0x600000000000ULL; const uptr kAllocatorSize = 0x40000000000ULL; // 4T. --- libsanitizer/sanitizer_common/sanitizer_platform.h (revision 219833) +++ libsanitizer/sanitizer_common/sanitizer_platform.h (working copy) @@ -79,7 +79,7 @@ // For such platforms build this code with -DSANITIZER_CAN_USE_ALLOCATOR64=0 or // change the definition of SANITIZER_CAN_USE_ALLOCATOR64 here. #ifndef SANITIZER_CAN_USE_ALLOCATOR64 -# if defined(__aarch64__) || defined(__mips64) +# if defined(__mips64) # define SANITIZER_CAN_USE_ALLOCATOR64 0 # else # define SANITIZER_CAN_USE_ALLOCATOR64 (SANITIZER_WORDSIZE == 64) @@ -88,10 +88,10 @@ // The range of addresses which can be returned my mmap. // FIXME: this value should be different on different platforms, -// e.g. on AArch64 it is most likely (1ULL << 39). Larger values will still work +// e.g. on AArch64 it is most likely (1ULL << 42). Larger values will still work // but will consume more memory for TwoLevelByteMap. #if defined(__aarch64__) -# define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 39) +# define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 42) #else # define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 47) #endif
