Hello community,

here is the log from the commit of package gcc5 for openSUSE:Factory checked in 
at 2015-06-23 11:55:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc5 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc5/cross-aarch64-gcc5.changes  2015-05-19 
23:39:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gcc5.new/cross-aarch64-gcc5.changes     
2015-06-23 11:55:27.000000000 +0200
@@ -1,0 +2,24 @@
+Mon Jun 22 09:56:58 UTC 2015 - [email protected]
+
+- Update to gcc-5-branch head (r224716).
+- Fix libffi include install.  [bnc#935510]
+- Package new mwaitxintrin.h file.
+
+-------------------------------------------------------------------
+Tue Jun  9 09:38:39 UTC 2015 - [email protected]
+
+- Update to gcc-5-branch head (r224257).
+
+-------------------------------------------------------------------
+Mon Jun  8 12:13:25 UTC 2015 - [email protected]
+
+- Fix build against SLE11 SP4.
+  * Where mpfr 2.4.0 is not available disable the few features
+    requiring it to allow building with mpfr 2.3.2,
+    gcc48-remove-mpfr-2.4.0-requirement.patch.
+  * Disable building the MPX library.
+  * Re-instantiate IA64 support.
+  * Add gcc5-no-return-gcc43-workaround.patch to avoid bogus warnings
+    from the GCC 4.3 host compiler.
+
+-------------------------------------------------------------------
cross-armv6hl-gcc5.changes: same change
cross-armv7hl-gcc5.changes: same change
cross-avr-gcc5.changes: same change
cross-i386-gcc5.changes: same change
cross-ppc64-gcc5.changes: same change
cross-ppc64le-gcc5.changes: same change
cross-s390-gcc5.changes: same change
cross-s390x-gcc5.changes: same change
cross-sparc-gcc5.changes: same change
cross-sparc64-gcc5.changes: same change
cross-x86_64-gcc5.changes: same change
gcc5-testresults.changes: same change
gcc5.changes: same change
libffi-gcc5.changes: same change
libgcj-gcc5.changes: same change

Old:
----
  gcc-5.1.1-r223279.tar.bz2

New:
----
  gcc-5.1.1-r224716.tar.bz2
  gcc48-remove-mpfr-2.4.0-requirement.patch
  gcc5-no-return-gcc43-workaround.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cross-aarch64-gcc5.spec ++++++
--- /var/tmp/diff_new_pack.f9RNTs/_old  2015-06-23 11:55:34.000000000 +0200
+++ /var/tmp/diff_new_pack.f9RNTs/_new  2015-06-23 11:55:34.000000000 +0200
@@ -115,7 +115,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 Url:            http://gcc.gnu.org/
-Version:        5.1.1+r223279
+Version:        5.1.1+r224716
 Release:        0
 %define gcc_version %(echo %version | sed 's/+.*//')
 %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1)
@@ -141,6 +141,8 @@
 Patch6:         gcc43-no-unwind-tables.diff
 Patch7:         gcc48-libstdc++-api-reference.patch
 Patch8:         gcc5-libsanitize-aarch64-va42.patch
+Patch9:         gcc48-remove-mpfr-2.4.0-requirement.patch
+Patch10:        gcc5-no-return-gcc43-workaround.patch
 # A set of patches from the RH srpm
 Patch50:        gcc41-java-slow_pthread_self.patch
 Patch51:        gcc41-ppc32-retaddr.patch
@@ -208,6 +210,10 @@
 %patch6
 %patch7
 %patch8
+%if %{suse_version} < 1310
+%patch9
+%endif
+%patch10
 %patch50
 %patch51
 %patch60
@@ -238,6 +244,11 @@
 mv gcc/BASE-VER gcc/FULL-VER
 cat gcc/FULL-VER | cut -d '.' -f 1 > gcc/BASE-VER
 
+# SLE11 does not allow empty rpms
+%if %{suse_version} < 1310
+echo "This is a dummy package to provide a dependency." > README
+%endif
+
 rm -rf obj-%{GCCDIST}
 mkdir obj-%{GCCDIST}
 cd obj-%{GCCDIST}
@@ -387,8 +398,12 @@
        --enable-linux-futex \
        --program-suffix=%{binsuffix} \
 %if 0%{!?gcc_target_arch:1}
+%ifarch ia64
+       --with-system-libunwind \
+%else
        --without-system-libunwind \
 %endif
+%endif
 %if 0%{?gcc_target_arch:1}
        --program-prefix=%{gcc_target_arch}- \
        --target=%{gcc_target_arch} \

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.f9RNTs/_old  2015-06-23 11:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.f9RNTs/_new  2015-06-23 11:55:35.000000000 +0200
@@ -49,18 +49,20 @@
 %define build_ada 0
 %endif
 
-%define quadmath_arch %ix86 x86_64
+%define quadmath_arch %ix86 x86_64 ia64
 %define tsan_arch x86_64
 %define asan_arch x86_64 %ix86 ppc ppc64 ppc64le %sparc %arm aarch64
 %define itm_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc
-%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k
+%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k ia64
 %define lsan_arch x86_64
 %define ubsan_arch x86_64 %ix86 ppc ppc64 ppc64le %arm aarch64
 %if 0%{?build_libvtv:1}
 %define vtv_arch x86_64 %ix86
 %endif
 %define cilkrts_arch x86_64 %ix86
+%if %{suse_version} >= 1310
 %define mpx_arch x86_64 %ix86
+%endif
 
 # We don't want to build java
 %ifarch mips
@@ -209,6 +211,9 @@
 %if 0%{?building_libffi:1}
 BuildRequires:  pkg-config
 %endif
+%ifarch ia64
+BuildRequires:  libunwind-devel
+%endif
 %if 0%{?run_tests:1}
 BuildRequires:  dejagnu
 BuildRequires:  expect
@@ -237,7 +242,7 @@
 %define separate_biarch_suffix -64bit
 %endif
 
-%ifarch x86_64 s390x alpha ppc64 sparc64
+%ifarch x86_64 ia64 s390x alpha ppc64 sparc64
 # 64-bit is primary build target
 %define build_primary_64bit 1
 %else
@@ -249,7 +254,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 Url:            http://gcc.gnu.org/
-Version:        5.1.1+r223279
+Version:        5.1.1+r224716
 Release:        0
 %define gcc_version %(echo %version | sed 's/+.*//')
 %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1)
@@ -313,6 +318,8 @@
 Patch6:         gcc43-no-unwind-tables.diff
 Patch7:         gcc48-libstdc++-api-reference.patch
 Patch8:         gcc5-libsanitize-aarch64-va42.patch
+Patch9:         gcc48-remove-mpfr-2.4.0-requirement.patch
+Patch10:        gcc5-no-return-gcc43-workaround.patch
 # A set of patches from the RH srpm
 Patch50:        gcc41-java-slow_pthread_self.patch
 Patch51:        gcc41-ppc32-retaddr.patch
@@ -431,6 +438,10 @@
 %patch6
 %patch7
 %patch8
+%if %{suse_version} < 1310
+%patch9
+%endif
+%patch10
 %patch50
 %patch51
 %patch60
@@ -461,6 +472,11 @@
 mv gcc/BASE-VER gcc/FULL-VER
 cat gcc/FULL-VER | cut -d '.' -f 1 > gcc/BASE-VER
 
+# SLE11 does not allow empty rpms
+%if %{suse_version} < 1310
+echo "This is a dummy package to provide a dependency." > README
+%endif
+
 rm -rf obj-%{GCCDIST}
 mkdir obj-%{GCCDIST}
 cd obj-%{GCCDIST}
@@ -610,8 +626,12 @@
        --enable-linux-futex \
        --program-suffix=%{binsuffix} \
 %if 0%{!?gcc_target_arch:1}
+%ifarch ia64
+       --with-system-libunwind \
+%else
        --without-system-libunwind \
 %endif
+%endif
 %if 0%{?gcc_target_arch:1}
        --program-prefix=%{gcc_target_arch}- \
        --target=%{gcc_target_arch} \

++++++ gcc5.spec ++++++
--- /var/tmp/diff_new_pack.f9RNTs/_old  2015-06-23 11:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.f9RNTs/_new  2015-06-23 11:55:35.000000000 +0200
@@ -31,18 +31,20 @@
 %define build_ada 0
 %endif
 
-%define quadmath_arch %ix86 x86_64
+%define quadmath_arch %ix86 x86_64 ia64
 %define tsan_arch x86_64
 %define asan_arch x86_64 %ix86 ppc ppc64 ppc64le %sparc %arm aarch64
 %define itm_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc
-%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k
+%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k ia64
 %define lsan_arch x86_64
 %define ubsan_arch x86_64 %ix86 ppc ppc64 ppc64le %arm aarch64
 %if 0%{?build_libvtv:1}
 %define vtv_arch x86_64 %ix86
 %endif
 %define cilkrts_arch x86_64 %ix86
+%if %{suse_version} >= 1310
 %define mpx_arch x86_64 %ix86
+%endif
 
 # We don't want to build java
 %ifarch mips
@@ -191,6 +193,9 @@
 %if 0%{?building_libffi:1}
 BuildRequires:  pkg-config
 %endif
+%ifarch ia64
+BuildRequires:  libunwind-devel
+%endif
 %if 0%{?run_tests:1}
 BuildRequires:  dejagnu
 BuildRequires:  expect
@@ -219,7 +224,7 @@
 %define separate_biarch_suffix -64bit
 %endif
 
-%ifarch x86_64 s390x alpha ppc64 sparc64
+%ifarch x86_64 ia64 s390x alpha ppc64 sparc64
 # 64-bit is primary build target
 %define build_primary_64bit 1
 %else
@@ -231,7 +236,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 Url:            http://gcc.gnu.org/
-Version:        5.1.1+r223279
+Version:        5.1.1+r224716
 Release:        0
 %define gcc_version %(echo %version | sed 's/+.*//')
 %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1)
@@ -295,6 +300,8 @@
 Patch6:         gcc43-no-unwind-tables.diff
 Patch7:         gcc48-libstdc++-api-reference.patch
 Patch8:         gcc5-libsanitize-aarch64-va42.patch
+Patch9:         gcc48-remove-mpfr-2.4.0-requirement.patch
+Patch10:        gcc5-no-return-gcc43-workaround.patch
 # A set of patches from the RH srpm
 Patch50:        gcc41-java-slow_pthread_self.patch
 Patch51:        gcc41-ppc32-retaddr.patch
@@ -457,6 +464,9 @@
 Requires:       glibc-devel
 Requires:       libstdc++%{libstdcxx_sover} >= %{version}-%{release}
 Obsoletes:      libstdc++5-devel < %{version}-%{release}
+%ifarch ia64
+Requires:       libunwind-devel
+%endif
 
 %description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}
 This package contains all the headers and libraries of the standard C++
@@ -468,6 +478,9 @@
 Requires:       glibc-devel-32bit
 Requires:       libstdc++%{libstdcxx_sover}-32bit >= %{version}-%{release}
 Obsoletes:      libstdc++5-devel-32bit < %{version}-%{release}
+%ifarch ia64
+Requires:       libunwind-devel
+%endif
 
 %description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-32bit
 This package contains all the headers and libraries of the standard C++
@@ -479,6 +492,9 @@
 Requires:       glibc-devel-64bit
 Requires:       libstdc++%{libstdcxx_sover}-64bit >= %{version}-%{release}
 Obsoletes:      libstdc++5-devel-64bit < %{version}-%{release}
+%ifarch ia64
+Requires:       libunwind-devel
+%endif
 
 %description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-64bit
 This package contains all the headers and libraries of the standard C++
@@ -1578,7 +1594,7 @@
 # a proper libgcj version.  So require that library and add
 # provides for the shlib version as created at link time
 Requires:       libgcj%{libgcj_sover} >= %{version}-%{release}
-%ifarch x86_64 ppc64 s390x sparc64 aarch64
+%ifarch x86_64 ia64 ppc64 s390x sparc64 aarch64
 Provides:       libgcj_bc.so.%{libgcj_bc_sover}()(64bit)
 %else
 Provides:       libgcj_bc.so.%{libgcj_bc_sover}
@@ -1911,6 +1927,10 @@
 %patch6
 %patch7
 %patch8
+%if %{suse_version} < 1310
+%patch9
+%endif
+%patch10
 %patch50
 %patch51
 %patch60
@@ -1941,6 +1961,11 @@
 mv gcc/BASE-VER gcc/FULL-VER
 cat gcc/FULL-VER | cut -d '.' -f 1 > gcc/BASE-VER
 
+# SLE11 does not allow empty rpms
+%if %{suse_version} < 1310
+echo "This is a dummy package to provide a dependency." > README
+%endif
+
 rm -rf obj-%{GCCDIST}
 mkdir obj-%{GCCDIST}
 cd obj-%{GCCDIST}
@@ -2090,8 +2115,12 @@
        --enable-linux-futex \
        --program-suffix=%{binsuffix} \
 %if 0%{!?gcc_target_arch:1}
+%ifarch ia64
+       --with-system-libunwind \
+%else
        --without-system-libunwind \
 %endif
+%endif
 %if 0%{?gcc_target_arch:1}
        --program-prefix=%{gcc_target_arch}- \
        --target=%{gcc_target_arch} \
@@ -2232,6 +2261,8 @@
 export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi}
 %if 0%{?building_libffi:1}
 make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT
+# re-install the includes from the main multilib
+make -C %{GCCDIST}/libffi/include install DESTDIR=$RPM_BUILD_ROOT
 %else
 %if 0%{?building_libjava:1}
 make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT
@@ -2537,6 +2568,8 @@
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux/a.out.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-generic/socket.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/mathdef.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys/ucontext.h
 # no plugins
 rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin
 rm -f  $RPM_BUILD_ROOT%{_infodir}/dir
@@ -2748,6 +2781,9 @@
 %{libsubdir}/include/htmxlintrin.h
 %{libsubdir}/include/s390intrin.h
 %endif
+%ifarch ia64
+%{libsubdir}/include/ia64intrin.h
+%endif
 %ifarch %arm
 %{libsubdir}/include/mmintrin.h
 %{libsubdir}/include/unwind-arm-common.h
@@ -2813,6 +2849,7 @@
 %{libsubdir}/include/clflushoptintrin.h
 %{libsubdir}/include/xsavecintrin.h
 %{libsubdir}/include/xsavesintrin.h
+%{libsubdir}/include/mwaitxintrin.h
 %endif
 %ifarch m68k
 %{libsubdir}/include/math-68881.h
@@ -2960,6 +2997,10 @@
 %if %{separate_biarch}
 %files c++%{separate_biarch_suffix}
 %defattr(-,root,root)
+# empty - only for the dependency
+%if %{suse_version} < 1310
+%doc README
+%endif
 %endif
 
 %files -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}
@@ -3283,6 +3324,10 @@
 %if %{separate_biarch}
 %files obj-c++%{separate_biarch_suffix}
 %defattr(-,root,root)
+# empty - only for the dependency
+%if %{suse_version} < 1310
+%doc README
+%endif
 %endif
 %endif
 

++++++ libffi-gcc5.spec ++++++
--- /var/tmp/diff_new_pack.f9RNTs/_old  2015-06-23 11:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.f9RNTs/_new  2015-06-23 11:55:35.000000000 +0200
@@ -48,18 +48,20 @@
 %define build_ada 0
 %endif
 
-%define quadmath_arch %ix86 x86_64
+%define quadmath_arch %ix86 x86_64 ia64
 %define tsan_arch x86_64
 %define asan_arch x86_64 %ix86 ppc ppc64 ppc64le %sparc %arm aarch64
 %define itm_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc
-%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k
+%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k ia64
 %define lsan_arch x86_64
 %define ubsan_arch x86_64 %ix86 ppc ppc64 ppc64le %arm aarch64
 %if 0%{?build_libvtv:1}
 %define vtv_arch x86_64 %ix86
 %endif
 %define cilkrts_arch x86_64 %ix86
+%if %{suse_version} >= 1310
 %define mpx_arch x86_64 %ix86
+%endif
 
 # We don't want to build java
 %ifarch mips
@@ -208,6 +210,9 @@
 %if 0%{?building_libffi:1}
 BuildRequires:  pkg-config
 %endif
+%ifarch ia64
+BuildRequires:  libunwind-devel
+%endif
 %if 0%{?run_tests:1}
 BuildRequires:  dejagnu
 BuildRequires:  expect
@@ -236,7 +241,7 @@
 %define separate_biarch_suffix -64bit
 %endif
 
-%ifarch x86_64 s390x alpha ppc64 sparc64
+%ifarch x86_64 ia64 s390x alpha ppc64 sparc64
 # 64-bit is primary build target
 %define build_primary_64bit 1
 %else
@@ -248,7 +253,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 Url:            http://gcc.gnu.org/
-Version:        5.1.1+r223279
+Version:        5.1.1+r224716
 Release:        0
 %define gcc_version %(echo %version | sed 's/+.*//')
 %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1)
@@ -312,6 +317,8 @@
 Patch6:         gcc43-no-unwind-tables.diff
 Patch7:         gcc48-libstdc++-api-reference.patch
 Patch8:         gcc5-libsanitize-aarch64-va42.patch
+Patch9:         gcc48-remove-mpfr-2.4.0-requirement.patch
+Patch10:        gcc5-no-return-gcc43-workaround.patch
 # A set of patches from the RH srpm
 Patch50:        gcc41-java-slow_pthread_self.patch
 Patch51:        gcc41-ppc32-retaddr.patch
@@ -602,6 +609,10 @@
 %patch6
 %patch7
 %patch8
+%if %{suse_version} < 1310
+%patch9
+%endif
+%patch10
 %patch50
 %patch51
 %patch60
@@ -632,6 +643,11 @@
 mv gcc/BASE-VER gcc/FULL-VER
 cat gcc/FULL-VER | cut -d '.' -f 1 > gcc/BASE-VER
 
+# SLE11 does not allow empty rpms
+%if %{suse_version} < 1310
+echo "This is a dummy package to provide a dependency." > README
+%endif
+
 rm -rf obj-%{GCCDIST}
 mkdir obj-%{GCCDIST}
 cd obj-%{GCCDIST}
@@ -781,8 +797,12 @@
        --enable-linux-futex \
        --program-suffix=%{binsuffix} \
 %if 0%{!?gcc_target_arch:1}
+%ifarch ia64
+       --with-system-libunwind \
+%else
        --without-system-libunwind \
 %endif
+%endif
 %if 0%{?gcc_target_arch:1}
        --program-prefix=%{gcc_target_arch}- \
        --target=%{gcc_target_arch} \
@@ -923,6 +943,8 @@
 export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi}
 %if 0%{?building_libffi:1}
 make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT
+# re-install the includes from the main multilib
+make -C %{GCCDIST}/libffi/include install DESTDIR=$RPM_BUILD_ROOT
 %else
 %if 0%{?building_libjava:1}
 make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT
@@ -1035,6 +1057,8 @@
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux/a.out.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-generic/socket.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/mathdef.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys/ucontext.h
 # no plugins
 rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin
 rm -f  $RPM_BUILD_ROOT%{_infodir}/dir

++++++ libgcj-gcc5.spec ++++++
--- /var/tmp/diff_new_pack.f9RNTs/_old  2015-06-23 11:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.f9RNTs/_new  2015-06-23 11:55:35.000000000 +0200
@@ -48,18 +48,20 @@
 %define build_ada 0
 %endif
 
-%define quadmath_arch %ix86 x86_64
+%define quadmath_arch %ix86 x86_64 ia64
 %define tsan_arch x86_64
 %define asan_arch x86_64 %ix86 ppc ppc64 ppc64le %sparc %arm aarch64
 %define itm_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc
-%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k
+%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k ia64
 %define lsan_arch x86_64
 %define ubsan_arch x86_64 %ix86 ppc ppc64 ppc64le %arm aarch64
 %if 0%{?build_libvtv:1}
 %define vtv_arch x86_64 %ix86
 %endif
 %define cilkrts_arch x86_64 %ix86
+%if %{suse_version} >= 1310
 %define mpx_arch x86_64 %ix86
+%endif
 
 # We don't want to build java
 %ifarch mips
@@ -208,6 +210,9 @@
 %if 0%{?building_libffi:1}
 BuildRequires:  pkg-config
 %endif
+%ifarch ia64
+BuildRequires:  libunwind-devel
+%endif
 %if 0%{?run_tests:1}
 BuildRequires:  dejagnu
 BuildRequires:  expect
@@ -236,7 +241,7 @@
 %define separate_biarch_suffix -64bit
 %endif
 
-%ifarch x86_64 s390x alpha ppc64 sparc64
+%ifarch x86_64 ia64 s390x alpha ppc64 sparc64
 # 64-bit is primary build target
 %define build_primary_64bit 1
 %else
@@ -248,7 +253,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 Url:            http://gcc.gnu.org/
-Version:        5.1.1+r223279
+Version:        5.1.1+r224716
 Release:        0
 %define gcc_version %(echo %version | sed 's/+.*//')
 %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1)
@@ -312,6 +317,8 @@
 Patch6:         gcc43-no-unwind-tables.diff
 Patch7:         gcc48-libstdc++-api-reference.patch
 Patch8:         gcc5-libsanitize-aarch64-va42.patch
+Patch9:         gcc48-remove-mpfr-2.4.0-requirement.patch
+Patch10:        gcc5-no-return-gcc43-workaround.patch
 # A set of patches from the RH srpm
 Patch50:        gcc41-java-slow_pthread_self.patch
 Patch51:        gcc41-ppc32-retaddr.patch
@@ -361,7 +368,7 @@
 # a proper libgcj version.  So require that library and add
 # provides for the shlib version as created at link time
 Requires:       libgcj%{libgcj_sover} >= %{version}-%{release}
-%ifarch x86_64 ppc64 s390x sparc64 aarch64
+%ifarch x86_64 ia64 ppc64 s390x sparc64 aarch64
 Provides:       libgcj_bc.so.%{libgcj_bc_sover}()(64bit)
 %else
 Provides:       libgcj_bc.so.%{libgcj_bc_sover}
@@ -694,6 +701,10 @@
 %patch6
 %patch7
 %patch8
+%if %{suse_version} < 1310
+%patch9
+%endif
+%patch10
 %patch50
 %patch51
 %patch60
@@ -724,6 +735,11 @@
 mv gcc/BASE-VER gcc/FULL-VER
 cat gcc/FULL-VER | cut -d '.' -f 1 > gcc/BASE-VER
 
+# SLE11 does not allow empty rpms
+%if %{suse_version} < 1310
+echo "This is a dummy package to provide a dependency." > README
+%endif
+
 rm -rf obj-%{GCCDIST}
 mkdir obj-%{GCCDIST}
 cd obj-%{GCCDIST}
@@ -873,8 +889,12 @@
        --enable-linux-futex \
        --program-suffix=%{binsuffix} \
 %if 0%{!?gcc_target_arch:1}
+%ifarch ia64
+       --with-system-libunwind \
+%else
        --without-system-libunwind \
 %endif
+%endif
 %if 0%{?gcc_target_arch:1}
        --program-prefix=%{gcc_target_arch}- \
        --target=%{gcc_target_arch} \
@@ -1015,6 +1035,8 @@
 export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi}
 %if 0%{?building_libffi:1}
 make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT
+# re-install the includes from the main multilib
+make -C %{GCCDIST}/libffi/include install DESTDIR=$RPM_BUILD_ROOT
 %else
 %if 0%{?building_libjava:1}
 make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT
@@ -1243,6 +1265,8 @@
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux/a.out.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-generic/socket.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/mathdef.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys/ucontext.h
 # no plugins
 rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin
 rm -f  $RPM_BUILD_ROOT%{_infodir}/dir


++++++ gcc-5.1.1-r223279.tar.bz2 -> gcc-5.1.1-r224716.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/gcc5/gcc-5.1.1-r223279.tar.bz2 
/work/SRC/openSUSE:Factory/.gcc5.new/gcc-5.1.1-r224716.tar.bz2 differ: char 11, 
line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.f9RNTs/_old  2015-06-23 11:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.f9RNTs/_new  2015-06-23 11:55:35.000000000 +0200
@@ -33,18 +33,20 @@
 %define build_ada 0
 %endif
 
-%define quadmath_arch %ix86 x86_64
+%define quadmath_arch %ix86 x86_64 ia64
 %define tsan_arch x86_64
 %define asan_arch x86_64 %ix86 ppc ppc64 ppc64le %sparc %arm aarch64
 %define itm_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc
-%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k
+%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x 
%sparc m68k ia64
 %define lsan_arch x86_64
 %define ubsan_arch x86_64 %ix86 ppc ppc64 ppc64le %arm aarch64
 %if 0%{?build_libvtv:1}
 %define vtv_arch x86_64 %ix86
 %endif
 %define cilkrts_arch x86_64 %ix86
+%if %{suse_version} >= 1310
 %define mpx_arch x86_64 %ix86
+%endif
 
 # We don't want to build java
 %ifarch mips
@@ -196,6 +198,9 @@
 %if 0%{?building_libffi:1}
 BuildRequires: pkg-config
 %endif
+%ifarch ia64
+BuildRequires: libunwind-devel
+%endif
 %if 0%{?run_tests:1}
 BuildRequires: dejagnu
 BuildRequires: expect
@@ -224,7 +229,7 @@
 %define separate_biarch_suffix -64bit
 %endif
 
-%ifarch x86_64 s390x alpha ppc64 sparc64
+%ifarch x86_64 ia64 s390x alpha ppc64 sparc64
 # 64-bit is primary build target
 %define build_primary_64bit 1
 %else
@@ -237,7 +242,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          http://gcc.gnu.org/
-Version: 5.1.1+r223279
+Version: 5.1.1+r224716
 Release:      1
 %define gcc_version %(echo %version | sed 's/+.*//')
 %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1)
@@ -303,6 +308,8 @@
 Patch6:                gcc43-no-unwind-tables.diff
 Patch7:                gcc48-libstdc++-api-reference.patch
 Patch8:                gcc5-libsanitize-aarch64-va42.patch
+Patch9:                gcc48-remove-mpfr-2.4.0-requirement.patch
+Patch10:       gcc5-no-return-gcc43-workaround.patch
 # A set of patches from the RH srpm
 Patch50:       gcc41-java-slow_pthread_self.patch
 Patch51:       gcc41-ppc32-retaddr.patch
@@ -451,6 +458,9 @@
 Requires: libstdc++%{libstdcxx_sover}@variant@ >= %{version}-%{release}
 Requires: glibc-devel@variant@
 Obsoletes: libstdc++@base_ver@-devel@variant@ < %{version}-%{release}
+%ifarch ia64
+Requires: libunwind-devel
+%endif
 
 %description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}@variant@
 This package contains all the headers and libraries of the standard C++
@@ -934,7 +944,7 @@
 # a proper libgcj version.  So require that library and add
 # provides for the shlib version as created at link time
 Requires: libgcj%{libgcj_sover} >= %{version}-%{release}
-%ifarch x86_64 ppc64 s390x sparc64 aarch64
+%ifarch x86_64 ia64 ppc64 s390x sparc64 aarch64
 Provides: libgcj_bc.so.%{libgcj_bc_sover}()(64bit)
 %else
 Provides: libgcj_bc.so.%{libgcj_bc_sover}
@@ -1182,6 +1192,10 @@
 %patch6
 %patch7
 %patch8
+%if %{suse_version} < 1310
+%patch9
+%endif
+%patch10
 %patch50
 %patch51
 %patch60
@@ -1212,6 +1226,11 @@
 mv gcc/BASE-VER gcc/FULL-VER
 cat gcc/FULL-VER | cut -d '.' -f 1 > gcc/BASE-VER
 
+# SLE11 does not allow empty rpms
+%if %{suse_version} < 1310
+echo "This is a dummy package to provide a dependency." > README
+%endif
+
 rm -rf obj-%{GCCDIST}
 mkdir obj-%{GCCDIST}
 cd obj-%{GCCDIST}
@@ -1361,8 +1380,12 @@
        --enable-linux-futex \
        --program-suffix=%{binsuffix} \
 %if 0%{!?gcc_target_arch:1}
+%ifarch ia64
+       --with-system-libunwind \
+%else
        --without-system-libunwind \
 %endif
+%endif
 %if 0%{?gcc_target_arch:1}
        --program-prefix=%{gcc_target_arch}- \
        --target=%{gcc_target_arch} \
@@ -1506,6 +1529,8 @@
 export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi}
 %if 0%{?building_libffi:1}
 make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT
+# re-install the includes from the main multilib
+make -C %{GCCDIST}/libffi/include install DESTDIR=$RPM_BUILD_ROOT
 %else
 %if 0%{?building_libjava:1}
 make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT
@@ -1822,6 +1847,8 @@
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux/a.out.h
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-generic/socket.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/mathdef.h
+rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys/ucontext.h
 # no plugins
 rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin
 rm -f  $RPM_BUILD_ROOT%{_infodir}/dir
@@ -2037,6 +2064,9 @@
 %{libsubdir}/include/htmxlintrin.h
 %{libsubdir}/include/s390intrin.h
 %endif
+%ifarch ia64
+%{libsubdir}/include/ia64intrin.h
+%endif
 %ifarch %arm
 %{libsubdir}/include/mmintrin.h
 %{libsubdir}/include/unwind-arm-common.h
@@ -2102,6 +2132,7 @@
 %{libsubdir}/include/clflushoptintrin.h
 %{libsubdir}/include/xsavecintrin.h
 %{libsubdir}/include/xsavesintrin.h
+%{libsubdir}/include/mwaitxintrin.h
 %endif
 %ifarch m68k
 %{libsubdir}/include/math-68881.h
@@ -2249,6 +2280,10 @@
 %if %{separate_biarch}
 %files c++%{separate_biarch_suffix}
 %defattr(-,root,root)
+# empty - only for the dependency
+%if %{suse_version} < 1310
+%doc README
+%endif
 %endif
 
 %files -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}
@@ -2584,6 +2619,10 @@
 %if %{separate_biarch}
 %files obj-c++%{separate_biarch_suffix}
 %defattr(-,root,root)
+# empty - only for the dependency
+%if %{suse_version} < 1310
+%doc README
+%endif
 %endif
 %endif
 

++++++ gcc48-remove-mpfr-2.4.0-requirement.patch ++++++
Index: configure.ac
===================================================================
--- configure.ac        (revision 216911)
+++ configure.ac        (working copy)
@@ -1454,7 +1454,7 @@ if test -d ${srcdir}/gcc && test "x$have
     AC_MSG_CHECKING([for the correct version of mpfr.h])
     AC_TRY_COMPILE([#include <gmp.h>
     #include <mpfr.h>],[
-    #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
+    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
     choke me
     #endif
     ], [AC_TRY_COMPILE([#include <gmp.h>
Index: configure
===================================================================
--- configure   (revision 216911)
+++ configure   (working copy)
@@ -5524,7 +5524,7 @@ int
 main ()
 {
 
-    #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
+    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
     choke me
     #endif
 
Index: gcc/fortran/simplify.c
===================================================================
--- gcc/fortran/simplify.c      (revision 216911)
+++ gcc/fortran/simplify.c      (working copy)
@@ -4278,10 +4278,7 @@ gfc_simplify_mod (gfc_expr *a, gfc_expr
            return &gfc_bad_expr;
          }
 
-       gfc_set_model_kind (kind);
-       mpfr_fmod (result->value.real, a->value.real, p->value.real,
-                  GFC_RND_MODE);
-       break;
+       return NULL;
 
       default:
        gfc_internal_error ("gfc_simplify_mod(): Bad arguments");
@@ -4327,19 +4324,7 @@ gfc_simplify_modulo (gfc_expr *a, gfc_ex
            return &gfc_bad_expr;
          }
 
-       gfc_set_model_kind (kind);
-       mpfr_fmod (result->value.real, a->value.real, p->value.real,
-                  GFC_RND_MODE);
-       if (mpfr_cmp_ui (result->value.real, 0) != 0)
-         {
-           if (mpfr_signbit (a->value.real) != mpfr_signbit (p->value.real))
-             mpfr_add (result->value.real, result->value.real, p->value.real,
-                       GFC_RND_MODE);
-         }
-       else
-         mpfr_copysign (result->value.real, result->value.real,
-                        p->value.real, GFC_RND_MODE);
-       break;
+       return NULL;
 
       default:
        gfc_internal_error ("gfc_simplify_modulo(): Bad arguments");
Index: gcc/ubsan.c
===================================================================
--- gcc/ubsan.c.orig    2015-06-01 14:52:11.717105684 +0200
+++ gcc/ubsan.c 2015-06-01 14:52:26.945253071 +0200
@@ -1564,40 +1564,6 @@
          min = build_real (expr_type, minval2);
        }
     }
-  else if (REAL_MODE_FORMAT (mode)->b == 10)
-    {
-      /* For _Decimal128 up to 34 decimal digits, - sign,
-        dot, e, exponent.  */
-      char buf[64];
-      mpfr_t m;
-      int p = REAL_MODE_FORMAT (mode)->p;
-      REAL_VALUE_TYPE maxval, minval;
-
-      /* Use mpfr_snprintf rounding to compute the smallest
-        representable decimal number greater or equal than
-        1 << (prec - !uns_p).  */
-      mpfr_init2 (m, prec + 2);
-      mpfr_set_ui_2exp (m, 1, prec - !uns_p, GMP_RNDN);
-      mpfr_snprintf (buf, sizeof buf, "%.*RUe", p - 1, m);
-      decimal_real_from_string (&maxval, buf);
-      max = build_real (expr_type, maxval);
-
-      /* For unsigned, assume -1.0 is always representable.  */
-      if (uns_p)
-       min = build_minus_one_cst (expr_type);
-      else
-       {
-         /* Use mpfr_snprintf rounding to compute the largest
-            representable decimal number less or equal than
-            (-1 << (prec - 1)) - 1.  */
-         mpfr_set_si_2exp (m, -1, prec - 1, GMP_RNDN);
-         mpfr_sub_ui (m, m, 1, GMP_RNDN);
-         mpfr_snprintf (buf, sizeof buf, "%.*RDe", p - 1, m);
-         decimal_real_from_string (&minval, buf);
-         min = build_real (expr_type, minval);
-       }
-      mpfr_clear (m);
-    }
   else
     return NULL_TREE;
 
++++++ gcc5-no-return-gcc43-workaround.patch ++++++
Workaround

[ 3445s] I: Program returns random data in a function
[ 3445s] E: gcc5 no-return-in-nonvoid-function ../../gcc/cp/constexpr.c:3676

during stage1 when compiling with a GCC 4.3 host compiler

--- gcc/cp/constexpr.c.orig     2015-06-02 09:33:15.085636193 +0200
+++ gcc/cp/constexpr.c  2015-06-02 09:34:04.637080196 +0200
@@ -3668,11 +3668,10 @@
        {
          r = get_target_expr (r);
          TREE_CONSTANT (r) = true;
-         return r;
        }
     }
-  else
-    return r;
+
+  return r;
 }
 
 /* Returns true if T is a valid subexpression of a constant expression,

Reply via email to