Hello community, here is the log from the commit of package gcc47 for openSUSE:Factory checked in at 2012-03-27 08:56:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc47 (Old) and /work/SRC/openSUSE:Factory/.gcc47.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc47", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/gcc47/gcc47-testresults.changes 2012-03-16 13:10:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gcc47.new/gcc47-testresults.changes 2012-03-27 08:56:41.000000000 +0200 @@ -1,0 +2,27 @@ +Thu Mar 22 12:06:49 UTC 2012 - [email protected] + +- Update to GCC 4.7.0 release. +- Update to gcc-4_7-branch head (r185687). + +------------------------------------------------------------------- +Tue Mar 20 11:53:04 UTC 2012 - [email protected] + +- Package the gdb python scripts. [bnc#750960] + +------------------------------------------------------------------- +Mon Mar 19 12:13:21 UTC 2012 - [email protected] + +- Change armv5 to use soft floating-point. + +------------------------------------------------------------------- +Tue Mar 13 12:59:26 UTC 2012 - [email protected] + +- Update to gcc-4_7-branch head (r185330). + +------------------------------------------------------------------- +Fri Mar 2 13:50:22 UTC 2012 - [email protected] + +- Update to GCC 4.7.0 release candidate. +- Fixup libstdc++v3 symbol baselines on powerpc. + +------------------------------------------------------------------- gcc47.changes: same change libffi47.changes: same change libgcj47.changes: same change Old: ---- gcc-4.7.0-20120228.tar.bz2 New: ---- gcc-4.7.0-20120322.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gcc47-testresults.spec ++++++ --- /var/tmp/diff_new_pack.jDjm7E/_old 2012-03-27 08:56:46.000000000 +0200 +++ /var/tmp/diff_new_pack.jDjm7E/_new 2012-03-27 08:56:46.000000000 +0200 @@ -1,9 +1,26 @@ +# +# spec file for package gcc47-testresults +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +# icecream 0 + %define building_testsuite 1 %define run_tests 1 # # spec file for package gcc47 # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,10 +34,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild -# icecream 0 - - # Ada currently fails to build on a few platforms, enable it only # on those that work # Note that AdaCore only supports %ix86, x86_64 and ia64 @@ -64,7 +77,6 @@ %define build_objcp 0 %endif - Name: gcc47-testresults BuildRequires: bison BuildRequires: flex @@ -152,9 +164,9 @@ # COMMON-BEGIN %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 -URL: http://gcc.gnu.org/ -Version: 4.7.0_20120228 -Release: 1 +Url: http://gcc.gnu.org/ +Version: 4.7.0_20120322 +Release: 0 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) %define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/') @@ -308,7 +320,6 @@ %endif %endif - # Now define a few macros that make it easy to package libs and # related files just to the right package, without caring for the # exact path the files are in. @@ -385,7 +396,6 @@ %endif %endif - # COMMON-BEGIN %prep @@ -412,6 +422,17 @@ %patch60 %patch61 %patch130 +# We are configuring ppc as ppc64 but with switched multilibs. Adjust +# the libstdc++ abi testsuite baseline files accordingly +%ifarch ppc +if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then + mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64 + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64/ + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/ +fi +%endif %build # Avoid rebuilding of generated files @@ -598,7 +619,7 @@ %endif %if "%{TARGET_ARCH}" == "armv5tel" --with-arch=armv5te \ - --with-float=softfp \ + --with-float=soft \ --with-mode=arm \ --with-abi=aapcs-linux \ --disable-sjlj-exceptions \ @@ -698,5 +719,4 @@ %doc testresults/*.log %endif - %changelog ++++++ gcc47.spec ++++++ --- /var/tmp/diff_new_pack.jDjm7E/_old 2012-03-27 08:56:46.000000000 +0200 +++ /var/tmp/diff_new_pack.jDjm7E/_new 2012-03-27 08:56:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gcc47 # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -14,8 +14,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -# norootforbuild # icecream 0 @@ -62,7 +60,6 @@ %define build_objcp 0 %endif - Name: gcc47 BuildRequires: bison BuildRequires: flex @@ -150,9 +147,9 @@ # COMMON-BEGIN %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 -URL: http://gcc.gnu.org/ -Version: 4.7.0_20120228 -Release: 1 +Url: http://gcc.gnu.org/ +Version: 4.7.0_20120322 +Release: 0 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) %define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/') @@ -215,9 +212,9 @@ # GCC-TESTSUITE-DELETE-BEGIN # LIBFFI-DELETE-BEGIN # LIBJAVA-DELETE-BEGIN -Group: Development/Languages/C and C++ Summary: The GNU C Compiler and Support Files License: GPL-3.0+ +Group: Development/Languages/C and C++ %description Core package for the GNU Compiler Collection, including the C language @@ -232,6 +229,7 @@ # COMMON-END %package -n gcc47-32bit Summary: The GNU C Compiler 32bit support +License: GPL-3.0+ Group: Development/Languages/C and C++ Requires: gcc47 = %{version}-%{release} %if 0%{!?build_optional_compiler:1} @@ -252,6 +250,7 @@ %package -n gcc47-64bit Summary: The GNU C Compiler 64bit support +License: GPL-3.0+ Group: Development/Languages/C and C++ Requires: gcc47 = %{version}-%{release} %if 0%{!?build_optional_compiler:1} @@ -581,7 +580,6 @@ /sbin/ldconfig # PACKAGE-END - %package info Summary: Documentation for the GNU compiler collection License: GFDL-1.2 @@ -1110,7 +1108,6 @@ /sbin/ldconfig # PACKAGE-END - %package -n libgcj47 # LIBJAVA-DELETE-END Summary: Java Runtime Library for gcc @@ -1137,7 +1134,6 @@ %postun -n libgcj47 /sbin/ldconfig - %package -n gcc47-java Summary: The GNU Java Compiler License: GPL-3.0+ @@ -1165,7 +1161,6 @@ Provides: libgcj_bc.so.1 %endif - %description -n libgcj_bc47 A fake library that is used at link time only. It ensures that binaries built with the BC-ABI link against a constant SONAME. @@ -1275,7 +1270,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4 >= %{version}-%{release} Provides: libffi-devel = %{version}-%{release} @@ -1288,7 +1283,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel-32bit Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4-32bit >= %{version}-%{release} Provides: libffi-devel-32bit = %{version}-%{release} @@ -1301,7 +1296,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel-64bit Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4-64bit >= %{version}-%{release} Provides: libffi-devel-64bit = %{version}-%{release} @@ -1407,7 +1402,6 @@ %endif %endif - # Now define a few macros that make it easy to package libs and # related files just to the right package, without caring for the # exact path the files are in. @@ -1484,7 +1478,6 @@ %endif %endif - # COMMON-BEGIN %prep @@ -1511,6 +1504,17 @@ %patch60 %patch61 %patch130 +# We are configuring ppc as ppc64 but with switched multilibs. Adjust +# the libstdc++ abi testsuite baseline files accordingly +%ifarch ppc +if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then + mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64 + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64/ + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/ +fi +%endif %build # Avoid rebuilding of generated files @@ -1697,7 +1701,7 @@ %endif %if "%{TARGET_ARCH}" == "armv5tel" --with-arch=armv5te \ - --with-float=softfp \ + --with-float=soft \ --with-mode=arm \ --with-abi=aapcs-linux \ --disable-sjlj-exceptions \ @@ -1894,8 +1898,6 @@ if ! test -z "$dir_ml"; then ln -s . $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/$dir_ml fi -# For now we do not want to have the python gdb scripts -rm -Rf $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix} %endif # LIBJAVA-DELETE-END @@ -2283,7 +2285,6 @@ %install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat_ugn%{binsuffix}.info.gz %endif - %files %defattr(-,root,root) %dir %{_libdir}/gcc @@ -2454,6 +2455,7 @@ %dir %{_datadir}/gdb/auto-load%{_prefix} %dir %{_datadir}/gdb/auto-load/%{mainlibdir} %{_datadir}/gdb/auto-load/%{mainlibdir}/libstdc++.so.*-gdb.py +%{_datadir}/gcc%{binsuffix} %if %{separate_biarch} %files -n libstdc++47-devel%{separate_biarch_suffix} @@ -2513,7 +2515,6 @@ %endif %endif - %files -n libgomp47 %defattr(-,root,root) %mainlib libgomp.so.1* @@ -2524,7 +2525,6 @@ %biarchlib libgomp.so.1* %endif - %if %{build_fortran} %files fortran %defattr(-,root,root) @@ -2655,14 +2655,12 @@ %endif %endif - %if %{build_objcp} %files obj-c++ %defattr(-,root,root) %{libsubdir}/cc1objplus %endif - %if %{build_ada} %files ada %defattr(-,root,root) @@ -2705,7 +2703,6 @@ %endif # LIBJAVA-DELETE-END - %if %{build_java} %if 0%{?building_libjava:1} %files -n gcc47-java @@ -2878,5 +2875,4 @@ %doc testresults/*.log %endif - %changelog ++++++ libffi47.spec ++++++ --- /var/tmp/diff_new_pack.jDjm7E/_old 2012-03-27 08:56:46.000000000 +0200 +++ /var/tmp/diff_new_pack.jDjm7E/_new 2012-03-27 08:56:46.000000000 +0200 @@ -1,8 +1,7 @@ -%define building_libffi 1 # -# spec file for package gcc47 +# spec file for package libffi47 # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,10 +14,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -# norootforbuild # icecream 0 +%define building_libffi 1 +# +# spec file for package gcc47 +# +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# # Ada currently fails to build on a few platforms, enable it only # on those that work @@ -63,7 +76,6 @@ %define build_objcp 0 %endif - Name: libffi47 BuildRequires: bison BuildRequires: flex @@ -151,9 +163,9 @@ # COMMON-BEGIN %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 -URL: http://gcc.gnu.org/ -Version: 4.7.0_20120228 -Release: 1 +Url: http://gcc.gnu.org/ +Version: 4.7.0_20120322 +Release: 0 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) %define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/') @@ -275,7 +287,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4 >= %{version}-%{release} Provides: libffi-devel = %{version}-%{release} @@ -288,7 +300,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel-32bit Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4-32bit >= %{version}-%{release} Provides: libffi-devel-32bit = %{version}-%{release} @@ -301,7 +313,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel-64bit Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4-64bit >= %{version}-%{release} Provides: libffi-devel-64bit = %{version}-%{release} @@ -407,7 +419,6 @@ %endif %endif - # Now define a few macros that make it easy to package libs and # related files just to the right package, without caring for the # exact path the files are in. @@ -484,7 +495,6 @@ %endif %endif - # COMMON-BEGIN %prep @@ -511,6 +521,17 @@ %patch60 %patch61 %patch130 +# We are configuring ppc as ppc64 but with switched multilibs. Adjust +# the libstdc++ abi testsuite baseline files accordingly +%ifarch ppc +if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then + mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64 + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64/ + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/ +fi +%endif %build # Avoid rebuilding of generated files @@ -697,7 +718,7 @@ %endif %if "%{TARGET_ARCH}" == "armv5tel" --with-arch=armv5te \ - --with-float=softfp \ + --with-float=soft \ --with-mode=arm \ --with-abi=aapcs-linux \ --disable-sjlj-exceptions \ @@ -848,7 +869,6 @@ %endif %endif - %if %{build_ada} mv $RPM_BUILD_ROOT%{libsubdir}/adalib/lib*-*.so $RPM_BUILD_ROOT%{_libdir} ln -sf %{_libdir}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnarl.so @@ -995,7 +1015,6 @@ rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.a rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.la - %if %{build_java} %if 0%{?building_libffi:1} %files @@ -1037,5 +1056,4 @@ %doc testresults/*.log %endif - %changelog ++++++ libgcj47.spec ++++++ --- /var/tmp/diff_new_pack.jDjm7E/_old 2012-03-27 08:56:46.000000000 +0200 +++ /var/tmp/diff_new_pack.jDjm7E/_new 2012-03-27 08:56:46.000000000 +0200 @@ -1,8 +1,7 @@ -%define building_libjava 1 # -# spec file for package gcc47 +# spec file for package libgcj47 # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,10 +14,24 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -# norootforbuild # icecream 0 +%define building_libjava 1 +# +# spec file for package gcc47 +# +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# # Ada currently fails to build on a few platforms, enable it only # on those that work @@ -63,7 +76,6 @@ %define build_objcp 0 %endif - Name: libgcj47 BuildRequires: bison BuildRequires: flex @@ -151,9 +163,9 @@ # COMMON-BEGIN %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 -URL: http://gcc.gnu.org/ -Version: 4.7.0_20120228 -Release: 1 +Url: http://gcc.gnu.org/ +Version: 4.7.0_20120322 +Release: 0 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) %define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/') @@ -239,7 +251,6 @@ %postun /sbin/ldconfig - %package -n gcc47-java Summary: The GNU Java Compiler License: GPL-3.0+ @@ -267,7 +278,6 @@ Provides: libgcj_bc.so.1 %endif - %description -n libgcj_bc47 A fake library that is used at link time only. It ensures that binaries built with the BC-ABI link against a constant SONAME. @@ -377,7 +387,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4 >= %{version}-%{release} Provides: libffi-devel = %{version}-%{release} @@ -390,7 +400,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel-32bit Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4-32bit >= %{version}-%{release} Provides: libffi-devel-32bit = %{version}-%{release} @@ -403,7 +413,7 @@ # PACKAGE-BEGIN %package -n libffi47-devel-64bit Summary: Foreign Function Interface library development files -License: BSD 3-Clause +License: BSD-3-Clause Group: Development/Languages/C and C++ Requires: libffi4-64bit >= %{version}-%{release} Provides: libffi-devel-64bit = %{version}-%{release} @@ -509,7 +519,6 @@ %endif %endif - # Now define a few macros that make it easy to package libs and # related files just to the right package, without caring for the # exact path the files are in. @@ -586,7 +595,6 @@ %endif %endif - # COMMON-BEGIN %prep @@ -613,6 +621,17 @@ %patch60 %patch61 %patch130 +# We are configuring ppc as ppc64 but with switched multilibs. Adjust +# the libstdc++ abi testsuite baseline files accordingly +%ifarch ppc +if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then + mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64 + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64/ + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/ +fi +%endif %build # Avoid rebuilding of generated files @@ -799,7 +818,7 @@ %endif %if "%{TARGET_ARCH}" == "armv5tel" --with-arch=armv5te \ - --with-float=softfp \ + --with-float=soft \ --with-mode=arm \ --with-abi=aapcs-linux \ --disable-sjlj-exceptions \ @@ -1204,8 +1223,6 @@ %endif %endif - - %if %{build_java} %if 0%{?building_libjava:1} %files -n gcc47-java @@ -1378,5 +1395,4 @@ %doc testresults/*.log %endif - %changelog ++++++ gcc-4.7.0-20120228.tar.bz2 -> gcc-4.7.0-20120322.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/gcc47/gcc-4.7.0-20120228.tar.bz2 /work/SRC/openSUSE:Factory/.gcc47.new/gcc-4.7.0-20120322.tar.bz2 differ: char 11, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.jDjm7E/_old 2012-03-27 08:56:46.000000000 +0200 +++ /var/tmp/diff_new_pack.jDjm7E/_new 2012-03-27 08:56:46.000000000 +0200 @@ -151,7 +151,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: http://gcc.gnu.org/ -Version: 4.7.0_20120228 +Version: 4.7.0_20120322 Release: 1 %define gcc_version %(echo %version | sed 's/_.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) @@ -929,6 +929,17 @@ %patch60 %patch61 %patch130 +# We are configuring ppc as ppc64 but with switched multilibs. Adjust +# the libstdc++ abi testsuite baseline files accordingly +%ifarch ppc +if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then + mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64 + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64/ + mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt \ + libstdc++-v3/config/abi/post/powerpc64-linux-gnu/ +fi +%endif %build # Avoid rebuilding of generated files @@ -1115,7 +1126,7 @@ %endif %if "%{TARGET_ARCH}" == "armv5tel" --with-arch=armv5te \ - --with-float=softfp \ + --with-float=soft \ --with-mode=arm \ --with-abi=aapcs-linux \ --disable-sjlj-exceptions \ @@ -1312,8 +1323,6 @@ if ! test -z "$dir_ml"; then ln -s . $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/$dir_ml fi -# For now we do not want to have the python gdb scripts -rm -Rf $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix} %endif # LIBJAVA-DELETE-END @@ -1872,6 +1881,7 @@ %dir %{_datadir}/gdb/auto-load%{_prefix} %dir %{_datadir}/gdb/auto-load/%{mainlibdir} %{_datadir}/gdb/auto-load/%{mainlibdir}/libstdc++.so.*-gdb.py +%{_datadir}/gcc%{binsuffix} %if %{separate_biarch} %files -n libstdc++@base_ver@-devel%{separate_biarch_suffix} ++++++ pr49484.diff ++++++ --- /var/tmp/diff_new_pack.jDjm7E/_old 2012-03-27 08:56:46.000000000 +0200 +++ /var/tmp/diff_new_pack.jDjm7E/_new 2012-03-27 08:56:46.000000000 +0200 @@ -16,8 +16,8 @@ Index: libgcc/libgcov.c =================================================================== -*** libgcc/libgcov.c.orig 2012-02-21 14:47:55.000000000 +0100 ---- libgcc/libgcov.c 2012-02-21 14:48:00.000000000 +0100 +*** libgcc/libgcov.c.orig 2012-03-02 12:02:35.000000000 +0100 +--- libgcc/libgcov.c 2012-03-14 13:01:34.000000000 +0100 *************** see the files COPYING3 and COPYING.RUNTI *** 30,35 **** --- 30,36 ---- @@ -105,8 +105,8 @@ Index: libgcc/unwind-dw2-fde.c =================================================================== -*** libgcc/unwind-dw2-fde.c.orig 2012-02-21 14:47:55.000000000 +0100 ---- libgcc/unwind-dw2-fde.c 2012-02-21 14:48:00.000000000 +0100 +*** libgcc/unwind-dw2-fde.c.orig 2012-03-02 12:02:35.000000000 +0100 +--- libgcc/unwind-dw2-fde.c 2012-03-14 13:01:34.000000000 +0100 *************** static struct object *seen_objects; *** 47,57 **** @@ -144,8 +144,8 @@ --- 63,68 ---- Index: libgcc/gthr-posix.h =================================================================== -*** libgcc/gthr-posix.h.orig 2012-02-21 14:47:55.000000000 +0100 ---- libgcc/gthr-posix.h 2012-02-21 14:48:00.000000000 +0100 +*** libgcc/gthr-posix.h.orig 2012-03-02 12:02:35.000000000 +0100 +--- libgcc/gthr-posix.h 2012-03-14 13:02:09.000000000 +0100 *************** typedef struct timespec __gthread_time_t *** 63,68 **** --- 63,69 ---- @@ -156,41 +156,51 @@ #define __GTHREAD_ONCE_INIT PTHREAD_ONCE_INIT #if defined(PTHREAD_RECURSIVE_MUTEX_INITIALIZER) #define __GTHREAD_RECURSIVE_MUTEX_INIT PTHREAD_RECURSIVE_MUTEX_INITIALIZER -*************** __gthread_mutex_init_function (__gthread -*** 754,759 **** ---- 755,768 ---- +*************** typedef struct timespec __gthread_time_t +*** 76,82 **** + + #ifdef _GTHREAD_USE_MUTEX_INIT_FUNC + # undef __GTHREAD_MUTEX_INIT +- # define __GTHREAD_MUTEX_INIT_FUNCTION __gthread_mutex_init_function #endif + #ifdef _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC + # undef __GTHREAD_RECURSIVE_MUTEX_INIT +--- 77,82 ---- +*************** __gthread_setspecific (__gthread_key_t _ +*** 744,757 **** + return __gthrw_(pthread_setspecific) (__key, __ptr); + } - static inline int -+ __gthread_mutex_init_function (__gthread_mutex_t *__mutex) -+ { -+ if (__gthread_active_p ()) -+ return __gthrw_(pthread_mutex_init) (__mutex, NULL); -+ return 0; -+ } -+ -+ static inline int - __gthread_mutex_destroy (__gthread_mutex_t *__mutex) +- #ifdef _GTHREAD_USE_MUTEX_INIT_FUNC + static inline void + __gthread_mutex_init_function (__gthread_mutex_t *__mutex) { if (__gthread_active_p ()) + __gthrw_(pthread_mutex_init) (__mutex, NULL); + } +- #endif + + static inline int + __gthread_mutex_destroy (__gthread_mutex_t *__mutex) +--- 744,755 ---- Index: libgcc/gthr-single.h =================================================================== -*** libgcc/gthr-single.h.orig 2012-02-21 14:47:55.000000000 +0100 ---- libgcc/gthr-single.h 2012-02-21 14:48:00.000000000 +0100 +*** libgcc/gthr-single.h.orig 2012-03-02 12:02:35.000000000 +0100 +--- libgcc/gthr-single.h 2012-03-14 13:01:34.000000000 +0100 *************** typedef int __gthread_recursive_mutex_t; *** 36,41 **** --- 36,42 ---- #define __GTHREAD_ONCE_INIT 0 #define __GTHREAD_MUTEX_INIT 0 -+ #define __GTHREAD_MUTEX_INIT_FUNCTION (mx) ++ #define __GTHREAD_MUTEX_INIT_FUNCTION(mx) #define __GTHREAD_RECURSIVE_MUTEX_INIT 0 #define UNUSED __attribute__((unused)) Index: libgcc/gthr.h =================================================================== -*** libgcc/gthr.h.orig 2012-02-21 14:47:55.000000000 +0100 ---- libgcc/gthr.h 2012-02-21 14:48:00.000000000 +0100 +*** libgcc/gthr.h.orig 2012-03-02 12:02:35.000000000 +0100 +--- libgcc/gthr.h 2012-03-14 13:01:34.000000000 +0100 *************** see the files COPYING3 and COPYING.RUNTI *** 52,62 **** to initialize __gthread_mutex_t to get a fast ++++++ pr52080.diff ++++++ --- /var/tmp/diff_new_pack.jDjm7E/_old 2012-03-27 08:56:46.000000000 +0200 +++ /var/tmp/diff_new_pack.jDjm7E/_new 2012-03-27 08:56:46.000000000 +0200 @@ -1,10 +1,12 @@ -2012-02-07 Richard Guenther <[email protected]> +2012-03-14 Richard Guenther <[email protected]> * tree.h (DECL_BIT_FIELD_REPRESENTATIVE): New define. * stor-layout.c (start_bitfield_representative): New function. (finish_bitfield_representative): Likewise. (finish_bitfield_layout): Likewise. (finish_record_layout): Call finish_bitfield_layout. + * tree.c (free_lang_data_in_decl): Only free DECL_QUALIFIER + for QUAL_UNION_TYPE fields. * tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers): Stream DECL_BIT_FIELD_REPRESENTATIVE. * tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise. @@ -16,14 +18,6 @@ from DECL_BIT_FIELD_REPRESENTATIVE. (expand_assignment): Adjust call to get_bit_range. - * gimplify.c (gimplify_expr): Translate bitfield accesses - to BIT_FIELD_REFs of the representative. - - * tree-sra.c (create_access_replacement): Only rename the - replacement if we can rewrite it into SSA form. Properly - mark register typed replacements that we cannot rewrite - with TREE_ADDRESSABLE. - * gcc.dg/torture/pr48124-1.c: New testcase. * gcc.dg/torture/pr48124-2.c: Likewise. * gcc.dg/torture/pr48124-3.c: Likewise. @@ -31,11 +25,11 @@ Index: gcc/stor-layout.c =================================================================== -*** gcc/stor-layout.c.orig 2012-02-21 10:41:43.000000000 +0100 ---- gcc/stor-layout.c 2012-02-21 12:47:35.000000000 +0100 +*** gcc/stor-layout.c.orig 2012-03-13 10:30:49.000000000 +0100 +--- gcc/stor-layout.c 2012-03-13 11:48:26.000000000 +0100 *************** finalize_type_size (tree type) *** 1722,1727 **** ---- 1722,1908 ---- +--- 1722,1911 ---- } } @@ -46,7 +40,7 @@ + { + tree repr = make_node (FIELD_DECL); + DECL_FIELD_OFFSET (repr) = DECL_FIELD_OFFSET (field); -+ /* Force the representative to begin at an BITS_PER_UNIT aligned ++ /* Force the representative to begin at a BITS_PER_UNIT aligned + boundary - C++ may use tail-padding of a base object to + continue packing bits so the bitfield region does not start + at bit zero (see g++.dg/abi/bitfield5.C for example). @@ -58,19 +52,20 @@ + bitsize_int (~(BITS_PER_UNIT - 1))); + SET_DECL_OFFSET_ALIGN (repr, DECL_OFFSET_ALIGN (field)); + DECL_SIZE (repr) = DECL_SIZE (field); ++ DECL_SIZE_UNIT (repr) = DECL_SIZE_UNIT (field); + DECL_PACKED (repr) = DECL_PACKED (field); + DECL_CONTEXT (repr) = DECL_CONTEXT (field); + return repr; + } + + /* Finish up a bitfield group that was started by creating the underlying -+ object REPR with the last fied in the bitfield group FIELD. */ ++ object REPR with the last field in the bitfield group FIELD. */ + + static void + finish_bitfield_representative (tree repr, tree field) + { -+ unsigned HOST_WIDE_INT bitsize, maxbitsize, modesize; -+ enum machine_mode mode = BLKmode; ++ unsigned HOST_WIDE_INT bitsize, maxbitsize; ++ enum machine_mode mode; + tree nextf, size; + + size = size_diffop (DECL_FIELD_OFFSET (field), @@ -120,24 +115,25 @@ + /* Round up bitsize to multiples of BITS_PER_UNIT. */ + bitsize = (bitsize + BITS_PER_UNIT - 1) & ~(BITS_PER_UNIT - 1); + -+ /* Find the smallest nice mode to use. -+ ??? Possibly use get_best_mode with appropriate arguments instead -+ (which would eventually require splitting representatives here). */ -+ for (modesize = bitsize; modesize <= maxbitsize; modesize += BITS_PER_UNIT) -+ { -+ mode = mode_for_size (modesize, MODE_INT, 1); -+ if (mode != BLKmode) -+ break; -+ } ++ /* Find the smallest nice mode to use. */ ++ for (mode = GET_CLASS_NARROWEST_MODE (MODE_INT); mode != VOIDmode; ++ mode = GET_MODE_WIDER_MODE (mode)) ++ if (GET_MODE_BITSIZE (mode) >= bitsize) ++ break; ++ if (mode != VOIDmode ++ && (GET_MODE_BITSIZE (mode) > maxbitsize ++ || GET_MODE_BITSIZE (mode) > MAX_FIXED_MODE_SIZE)) ++ mode = VOIDmode; + -+ if (mode == BLKmode) ++ if (mode == VOIDmode) + { + /* We really want a BLKmode representative only as a last resort, + considering the member b in + struct { int a : 7; int b : 17; int c; } __attribute__((packed)); + Otherwise we simply want to split the representative up + allowing for overlaps within the bitfield region as required for -+ struct { int a : 7; int b : 7; int c : 10; int d; } __attribute__((packed)); ++ struct { int a : 7; int b : 7; ++ int c : 10; int d; } __attribute__((packed)); + [0, 15] HImode for a and b, [8, 23] HImode for c. */ + DECL_SIZE (repr) = bitsize_int (bitsize); + DECL_SIZE_UNIT (repr) = size_int (bitsize / BITS_PER_UNIT); @@ -147,6 +143,7 @@ + } + else + { ++ unsigned HOST_WIDE_INT modesize = GET_MODE_BITSIZE (mode); + DECL_SIZE (repr) = bitsize_int (modesize); + DECL_SIZE_UNIT (repr) = size_int (modesize / BITS_PER_UNIT); + DECL_MODE (repr) = mode; @@ -225,7 +222,7 @@ for RLI, unless FREE_P is false. Passing a value other than false *************** finish_record_layout (record_layout_info *** 1742,1747 **** ---- 1923,1931 ---- +--- 1926,1934 ---- /* Perform any last tweaks to the TYPE_SIZE, etc. */ finalize_type_size (rli->t); @@ -237,11 +234,11 @@ for (variant = TYPE_NEXT_VARIANT (rli->t); variant; Index: gcc/tree.h =================================================================== -*** gcc/tree.h.orig 2012-02-07 16:03:05.000000000 +0100 ---- gcc/tree.h 2012-02-21 12:48:37.000000000 +0100 +*** gcc/tree.h.orig 2012-03-13 10:30:49.000000000 +0100 +--- gcc/tree.h 2012-03-13 11:18:49.000000000 +0100 *************** struct GTY(()) tree_decl_with_rtl { -*** 3021,3026 **** ---- 3021,3031 ---- +*** 3024,3029 **** +--- 3024,3034 ---- #define DECL_BIT_FIELD_TYPE(NODE) \ (FIELD_DECL_CHECK (NODE)->field_decl.bit_field_type) @@ -253,92 +250,10 @@ /* For a FIELD_DECL in a QUAL_UNION_TYPE, records the expression, which if nonzero, indicates that the field occupies the type. */ #define DECL_QUALIFIER(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.qualifier) -Index: gcc/tree-sra.c -=================================================================== -*** gcc/tree-sra.c.orig 2012-02-14 15:11:27.000000000 +0100 ---- gcc/tree-sra.c 2012-02-21 12:47:35.000000000 +0100 -*************** create_access_replacement (struct access -*** 1922,1934 **** - - repl = create_tmp_var (access->type, "SR"); - add_referenced_var (repl); -! if (rename) - mark_sym_for_renaming (repl); - -! if (!access->grp_partial_lhs -! && (TREE_CODE (access->type) == COMPLEX_TYPE -! || TREE_CODE (access->type) == VECTOR_TYPE)) -! DECL_GIMPLE_REG_P (repl) = 1; - - DECL_SOURCE_LOCATION (repl) = DECL_SOURCE_LOCATION (access->base); - DECL_ARTIFICIAL (repl) = 1; ---- 1922,1940 ---- - - repl = create_tmp_var (access->type, "SR"); - add_referenced_var (repl); -! if (!access->grp_partial_lhs -! && rename) - mark_sym_for_renaming (repl); - -! if (TREE_CODE (access->type) == COMPLEX_TYPE -! || TREE_CODE (access->type) == VECTOR_TYPE) -! { -! if (!access->grp_partial_lhs) -! DECL_GIMPLE_REG_P (repl) = 1; -! } -! else if (access->grp_partial_lhs -! && is_gimple_reg_type (access->type)) -! TREE_ADDRESSABLE (repl) = 1; - - DECL_SOURCE_LOCATION (repl) = DECL_SOURCE_LOCATION (access->base); - DECL_ARTIFICIAL (repl) = 1; -Index: gcc/tree-cfg.c -=================================================================== -*** gcc/tree-cfg.c.orig 2012-02-07 16:03:05.000000000 +0100 ---- gcc/tree-cfg.c 2012-02-21 12:47:35.000000000 +0100 -*************** verify_expr (tree *tp, int *walk_subtree -*** 2863,2879 **** - error ("invalid position or size operand to BIT_FIELD_REF"); - return t; - } -! else if (INTEGRAL_TYPE_P (TREE_TYPE (t)) -! && (TYPE_PRECISION (TREE_TYPE (t)) -! != TREE_INT_CST_LOW (TREE_OPERAND (t, 1)))) - { - error ("integral result type precision does not match " - "field size of BIT_FIELD_REF"); - return t; - } -! if (!INTEGRAL_TYPE_P (TREE_TYPE (t)) -! && (GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (t))) -! != TREE_INT_CST_LOW (TREE_OPERAND (t, 1)))) - { - error ("mode precision of non-integral result does not " - "match field size of BIT_FIELD_REF"); ---- 2863,2881 ---- - error ("invalid position or size operand to BIT_FIELD_REF"); - return t; - } -! if (INTEGRAL_TYPE_P (TREE_TYPE (t)) -! && (TYPE_PRECISION (TREE_TYPE (t)) -! != TREE_INT_CST_LOW (TREE_OPERAND (t, 1)))) - { - error ("integral result type precision does not match " - "field size of BIT_FIELD_REF"); - return t; - } -! else if (!INTEGRAL_TYPE_P (TREE_TYPE (t)) -! && !AGGREGATE_TYPE_P (TREE_TYPE (t)) -! && TYPE_MODE (TREE_TYPE (t)) != BLKmode -! && (GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (t))) -! != TREE_INT_CST_LOW (TREE_OPERAND (t, 1)))) - { - error ("mode precision of non-integral result does not " - "match field size of BIT_FIELD_REF"); Index: gcc/expr.c =================================================================== -*** gcc/expr.c.orig 2012-02-13 12:08:36.000000000 +0100 ---- gcc/expr.c 2012-02-21 12:47:35.000000000 +0100 +*** gcc/expr.c.orig 2012-03-13 10:30:49.000000000 +0100 +--- gcc/expr.c 2012-03-13 11:18:49.000000000 +0100 *************** optimize_bitfield_assignment_op (unsigne *** 4439,4551 **** /* In the C++ memory model, consecutive bit fields in a structure are @@ -499,7 +414,7 @@ /* Returns true if the MEM_REF REF refers to an object that does not *************** expand_assignment (tree to, tree from, b -*** 4673,4680 **** +*** 4674,4681 **** if (TREE_CODE (to) == COMPONENT_REF && DECL_BIT_FIELD_TYPE (TREE_OPERAND (to, 1))) @@ -508,7 +423,7 @@ /* If we are going to use store_bit_field and extract_bit_field, make sure to_rtx will be safe for multiple use. */ ---- 4603,4609 ---- +--- 4604,4610 ---- if (TREE_CODE (to) == COMPONENT_REF && DECL_BIT_FIELD_TYPE (TREE_OPERAND (to, 1))) @@ -519,7 +434,7 @@ Index: gcc/testsuite/gcc.dg/torture/pr48124-1.c =================================================================== *** /dev/null 1970-01-01 00:00:00.000000000 +0000 ---- gcc/testsuite/gcc.dg/torture/pr48124-1.c 2012-02-21 12:47:35.000000000 +0100 +--- gcc/testsuite/gcc.dg/torture/pr48124-1.c 2012-03-13 11:18:49.000000000 +0100 *************** *** 0 **** --- 1,33 ---- @@ -559,7 +474,7 @@ Index: gcc/testsuite/gcc.dg/torture/pr48124-2.c =================================================================== *** /dev/null 1970-01-01 00:00:00.000000000 +0000 ---- gcc/testsuite/gcc.dg/torture/pr48124-2.c 2012-02-21 12:47:35.000000000 +0100 +--- gcc/testsuite/gcc.dg/torture/pr48124-2.c 2012-03-13 11:18:49.000000000 +0100 *************** *** 0 **** --- 1,27 ---- @@ -593,7 +508,7 @@ Index: gcc/testsuite/gcc.dg/torture/pr48124-3.c =================================================================== *** /dev/null 1970-01-01 00:00:00.000000000 +0000 ---- gcc/testsuite/gcc.dg/torture/pr48124-3.c 2012-02-21 12:47:35.000000000 +0100 +--- gcc/testsuite/gcc.dg/torture/pr48124-3.c 2012-03-13 11:18:49.000000000 +0100 *************** *** 0 **** --- 1,32 ---- @@ -632,7 +547,7 @@ Index: gcc/testsuite/gcc.dg/torture/pr48124-4.c =================================================================== *** /dev/null 1970-01-01 00:00:00.000000000 +0000 ---- gcc/testsuite/gcc.dg/torture/pr48124-4.c 2012-02-21 12:47:35.000000000 +0100 +--- gcc/testsuite/gcc.dg/torture/pr48124-4.c 2012-03-13 11:18:49.000000000 +0100 *************** *** 0 **** --- 1,28 ---- @@ -666,8 +581,8 @@ + } Index: gcc/tree-streamer-in.c =================================================================== -*** gcc/tree-streamer-in.c.orig 2012-02-13 15:04:39.000000000 +0100 ---- gcc/tree-streamer-in.c 2012-02-21 12:50:00.000000000 +0100 +*** gcc/tree-streamer-in.c.orig 2012-03-13 10:30:49.000000000 +0100 +--- gcc/tree-streamer-in.c 2012-03-13 11:18:49.000000000 +0100 *************** lto_input_ts_field_decl_tree_pointers (s *** 640,646 **** { @@ -687,8 +602,8 @@ } Index: gcc/tree-streamer-out.c =================================================================== -*** gcc/tree-streamer-out.c.orig 2012-02-13 15:03:55.000000000 +0100 ---- gcc/tree-streamer-out.c 2012-02-21 12:49:47.000000000 +0100 +*** gcc/tree-streamer-out.c.orig 2012-03-13 10:30:49.000000000 +0100 +--- gcc/tree-streamer-out.c 2012-03-13 11:18:49.000000000 +0100 *************** write_ts_field_decl_tree_pointers (struc *** 552,558 **** { @@ -706,3 +621,25 @@ stream_write_tree (ob, DECL_FIELD_BIT_OFFSET (expr), ref_p); stream_write_tree (ob, DECL_FCONTEXT (expr), ref_p); } +Index: gcc/tree.c +=================================================================== +*** gcc/tree.c.orig 2012-03-12 16:55:39.000000000 +0100 +--- gcc/tree.c 2012-03-13 11:57:11.000000000 +0100 +*************** free_lang_data_in_decl (tree decl) +*** 4633,4639 **** + if (TREE_CODE (decl) == FIELD_DECL) + { + free_lang_data_in_one_sizepos (&DECL_FIELD_OFFSET (decl)); +! DECL_QUALIFIER (decl) = NULL_TREE; + } + + if (TREE_CODE (decl) == FUNCTION_DECL) +--- 4633,4640 ---- + if (TREE_CODE (decl) == FIELD_DECL) + { + free_lang_data_in_one_sizepos (&DECL_FIELD_OFFSET (decl)); +! if (TREE_CODE (DECL_CONTEXT (decl)) == QUAL_UNION_TYPE) +! DECL_QUALIFIER (decl) = NULL_TREE; + } + + if (TREE_CODE (decl) == FUNCTION_DECL) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
