Hello community, here is the log from the commit of package gcc5 for openSUSE:Factory checked in at 2016-02-08 09:47:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-10-19 22:12:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gcc5.new/cross-aarch64-gcc5.changes 2016-02-08 09:47:03.000000000 +0100 @@ -1,0 +2,24 @@ +Mon Dec 7 08:26:26 UTC 2015 - [email protected] + +- Update to GCC 5.3.1 (r231346). + * Includes GCC 5.3 release with many bugfixes. +- Drop cloog-isl build dependency from cross packages. + +------------------------------------------------------------------- +Fri Nov 20 13:59:12 UTC 2015 - [email protected] + +- Update to gcc-5-branch head (r230656). + * Includes fix for HTM builtins on powerpc. [bnc#955382] + * Includes fix for build with ISL 0.15. + +------------------------------------------------------------------- +Mon Nov 9 08:42:26 UTC 2015 - [email protected] + +- For x86_64 default 32bit code generation to -march=x86-64 rather + than -march=i586. +- Fix libgo certificate lookup, adds gcc5-libgo-fix-certificates-lookup.patch. + [bsc#953831] +- Build s390[x] with --with-tune=z9-109 --with-arch=z900 on SLE11 + again. [bnc#954002] + +------------------------------------------------------------------- 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-m68k-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.2.1-r228589.tar.bz2 New: ---- gcc-5.3.1-r231346.tar.bz2 gcc5-libgo-fix-certificates-lookup.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc5.spec ++++++ --- /var/tmp/diff_new_pack.YdtKFs/_old 2016-02-08 09:47:09.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:09.000000000 +0100 @@ -87,7 +87,6 @@ %endif BuildRequires: zlib-devel %ifarch %ix86 x86_64 ppc ppc64 s390 s390x ia64 %sparc hppa %arm -BuildRequires: cloog-isl-devel BuildRequires: isl-devel %endif %ifarch ia64 @@ -115,7 +114,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 5.2.1+r228589 +Version: 5.3.1+r231346 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -149,6 +148,8 @@ # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch +# Some libgo patches +Patch70: gcc5-libgo-fix-certificates-lookup.patch #testpatch end @@ -218,6 +219,7 @@ %patch51 %patch60 %patch61 +%patch70 #test patching end @@ -489,16 +491,24 @@ %endif %if "%{TARGET_ARCH}" == "x86_64" --enable-multilib \ - --with-arch-32=i586 \ + --with-arch-32=x86-64 \ --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif 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-m68k-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.YdtKFs/_old 2016-02-08 09:47:09.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:09.000000000 +0100 @@ -252,7 +252,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 5.2.1+r228589 +Version: 5.3.1+r231346 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -324,6 +324,8 @@ # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch +# Some libgo patches +Patch70: gcc5-libgo-fix-certificates-lookup.patch #testpatch end @@ -444,6 +446,7 @@ %patch51 %patch60 %patch61 +%patch70 #test patching end @@ -715,16 +718,24 @@ %endif %if "%{TARGET_ARCH}" == "x86_64" --enable-multilib \ - --with-arch-32=i586 \ + --with-arch-32=x86-64 \ --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif ++++++ gcc5.spec ++++++ --- /var/tmp/diff_new_pack.YdtKFs/_old 2016-02-08 09:47:09.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:09.000000000 +0100 @@ -234,7 +234,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 5.2.1+r228589 +Version: 5.3.1+r231346 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -306,6 +306,8 @@ # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch +# Some libgo patches +Patch70: gcc5-libgo-fix-certificates-lookup.patch #testpatch end @@ -1933,6 +1935,7 @@ %patch51 %patch60 %patch61 +%patch70 #test patching end @@ -2204,16 +2207,24 @@ %endif %if "%{TARGET_ARCH}" == "x86_64" --enable-multilib \ - --with-arch-32=i586 \ + --with-arch-32=x86-64 \ --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif ++++++ libffi-gcc5.spec ++++++ --- /var/tmp/diff_new_pack.YdtKFs/_old 2016-02-08 09:47:09.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:09.000000000 +0100 @@ -251,7 +251,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 5.2.1+r228589 +Version: 5.3.1+r231346 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -323,6 +323,8 @@ # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch +# Some libgo patches +Patch70: gcc5-libgo-fix-certificates-lookup.patch #testpatch end @@ -615,6 +617,7 @@ %patch51 %patch60 %patch61 +%patch70 #test patching end @@ -886,16 +889,24 @@ %endif %if "%{TARGET_ARCH}" == "x86_64" --enable-multilib \ - --with-arch-32=i586 \ + --with-arch-32=x86-64 \ --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif libgcj-gcc5.spec: same change ++++++ change_spec ++++++ --- /var/tmp/diff_new_pack.YdtKFs/_old 2016-02-08 09:47:10.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:10.000000000 +0100 @@ -14,6 +14,7 @@ # as a suffix for a versioned package name. if [ $# -lt 1 ]; then + echo No package suffix given outfile=gcc.spec else case $1 in @@ -22,6 +23,7 @@ outfile=gcc$1.spec ;; *) + echo Invalid package suffix exit 1 ;; esac ++++++ cross.spec.in ++++++ --- /var/tmp/diff_new_pack.YdtKFs/_old 2016-02-08 09:47:10.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:10.000000000 +0100 @@ -67,7 +67,6 @@ %endif BuildRequires: zlib-devel %ifarch %ix86 x86_64 ppc ppc64 s390 s390x ia64 %sparc hppa %arm -BuildRequires: cloog-isl-devel BuildRequires: isl-devel %endif %ifarch ia64 ++++++ gcc-5.2.1-r228589.tar.bz2 -> gcc-5.3.1-r231346.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/gcc5/gcc-5.2.1-r228589.tar.bz2 /work/SRC/openSUSE:Factory/.gcc5.new/gcc-5.3.1-r231346.tar.bz2 differ: char 11, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.YdtKFs/_old 2016-02-08 09:47:10.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:10.000000000 +0100 @@ -240,7 +240,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: http://gcc.gnu.org/ -Version: 5.2.1+r228589 +Version: 5.3.1+r231346 Release: 1 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -314,6 +314,8 @@ # Some patches taken from Debian Patch60: gcc44-textdomain.patch Patch61: gcc44-rename-info-files.patch +# Some libgo patches +Patch70: gcc5-libgo-fix-certificates-lookup.patch #testpatch end @@ -1198,6 +1200,7 @@ %patch51 %patch60 %patch61 +%patch70 #test patching end @@ -1469,16 +1472,24 @@ %endif %if "%{TARGET_ARCH}" == "x86_64" --enable-multilib \ - --with-arch-32=i586 \ + --with-arch-32=x86-64 \ --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ +%else + --with-tune=z9-109 --with-arch=z900 \ +%endif --with-long-double-128 \ --enable-decimal-float \ %endif ++++++ gcc5-libgo-fix-certificates-lookup.patch ++++++ Index: libgo/go/crypto/x509/root_unix.go =================================================================== --- libgo.orig/go/crypto/x509/root_unix.go +++ libgo/go/crypto/x509/root_unix.go @@ -6,24 +6,20 @@ package x509 -import "io/ioutil" +import ( + "io/ioutil" + "os" +) // Possible certificate files; stop after finding one. var certFiles = []string{ - "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc. - "/etc/pki/tls/certs/ca-bundle.crt", // Fedora/RHEL - "/etc/ssl/ca-bundle.pem", // OpenSUSE - "/etc/ssl/cert.pem", // OpenBSD - "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly - "/etc/pki/tls/cacert.pem", // OpenELEC - "/etc/certs/ca-certificates.crt", // Solaris 11.2+ + "/etc/ssl/ca-bundle.pem", // openSUSE and SLE12+ } // Possible directories with certificate files; stop after successfully // reading at least one file from a directory. var certDirectories = []string{ - "/system/etc/security/cacerts", // Android - + "/etc/ssl/certs", // SLE11 } func (c *Certificate) systemVerify(opts *VerifyOptions) (chains [][]*Certificate, err error) { @@ -41,22 +37,24 @@ func initSystemRoots() { } } + rootsAdded := false for _, directory := range certDirectories { fis, err := ioutil.ReadDir(directory) if err != nil { continue } - rootsAdded := false for _, fi := range fis { + if fi.Mode()&os.ModeSymlink != 0 { + continue + } data, err := ioutil.ReadFile(directory + "/" + fi.Name()) if err == nil && roots.AppendCertsFromPEM(data) { rootsAdded = true } } - if rootsAdded { - systemRoots = roots - return - } + } + if rootsAdded { + systemRoots = roots } // All of the files failed to load. systemRoots will be nil which will ++++++ pre_checkin.sh ++++++ --- /var/tmp/diff_new_pack.YdtKFs/_old 2016-02-08 09:47:10.000000000 +0100 +++ /var/tmp/diff_new_pack.YdtKFs/_new 2016-02-08 09:47:10.000000000 +0100 @@ -13,6 +13,12 @@ ;; esac case ${here##*/} in + gcc*.*) + # Handle maintainance projects with .$REPO suffix + suffix=${here##*/} + suffix=${suffix%%\.*} + set ${suffix#gcc} + ;; gcc-*) suffix=${here##*/} set ${suffix#*-}-
