瀏覽代碼

updated 4 packages

binutils-2.32-1

gcc-8.3.1-1

glibc-2.30-1

libtool-2.4.6-5

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12225 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 年之前
父節點
當前提交
e483917487
共有 4 個文件被更改,包括 138 次插入104 次删除
  1. 101 78
      b/binutils/binutils-vl.spec
  2. 20 15
      g/gcc/gcc-vl.spec
  3. 8 5
      g/glibc/glibc-vl.spec
  4. 9 6
      lib/libt/libtool/libtool-vl.spec

+ 101 - 78
b/binutils/binutils-vl.spec

@@ -34,7 +34,7 @@
 Summary: A GNU collection of binary utilities.
 Summary(ja): GNU 版バイナリユーティリティ集
 Name: binutils
-Version: 2.31.1
+Version: 2.32
 Release: 1%{?_dist_release}
 License: GPLv3+
 Group: Development/Tools
@@ -48,7 +48,7 @@ Packager:       kenta, shaolin, inagaki
 # The ftp.kernel.org/pub/linux/devel/binutils/ page is (temporarily) unavailable
 # so we use the GNU site instead.
 # Source: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
-Source: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
+Source: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
 Source2: binutils-2.19.50.0.1-output-format.sed
 
 #----------------------------------------------------------------------------
@@ -70,7 +70,7 @@ Patch02: binutils-2.25-version.patch
 # Purpose:  Exports the demangle.h header file (associated with the libiberty
 #           sources) with the binutils-devel rpm.
 # Lifetime: Permanent.  This is a RHEL/Fedora specific patch.
-Patch03: binutils-2.31-export-demangle.h.patch
+Patch03: binutils-export-demangle.h.patch
 
 # Purpose:  Disables the check in the BFD library's bfd.h header file that
 #           config.h has been included before the bfd.h header.  See BZ
@@ -83,11 +83,6 @@ Patch03: binutils-2.31-export-demangle.h.patch
 #           order.
 Patch04: binutils-2.22.52.0.4-no-config-h-check.patch
 
-# Purpose:  Import H.J.Lu's Kernel LTO patch.
-# Lifetime: Permanent, but needs continual updating.
-# FIXME:    Try removing....
-# Patch05: binutils-2.26-lto.patch
-
 # Purpose:  Include the filename concerned in readelf error messages.  This
 #           makes readelf's output more helpful when it is run on multiple
 #           input files.
@@ -95,7 +90,7 @@ Patch04: binutils-2.22.52.0.4-no-config-h-check.patch
 #           making it better (IMHO) but also potentially breaking tools that
 #           depend upon readelf's current format.  Hence it remains a local
 #           patch.
-Patch06: binutils-2.29-filename-in-error-messages.patch
+Patch05: binutils-2.29-filename-in-error-messages.patch
 
 # Purpose:  Disable an x86/x86_64 optimization that moves functions from the
 #           PLT into the GOTPLT for faster access.  This optimization is
@@ -103,7 +98,7 @@ Patch06: binutils-2.29-filename-in-error-messages.patch
 #           as ltrace and LD_AUDIT.  See BZs 1452111 and 1333481.
 # Lifetime: Permanent.  But it should not be.
 # FIXME:    Replace with a configure time option.
-Patch07: binutils-2.29-revert-PLT-elision.patch
+Patch06: binutils-2.29-revert-PLT-elision.patch
 
 # Purpose:  Changes readelf so that when it displays extra information about
 #           a symbol, this information is placed at the end of the line.
@@ -111,80 +106,106 @@ Patch07: binutils-2.29-revert-PLT-elision.patch
 # FIXME:    The proper fix would be to update the scripts that are expecting
 #           a fixed output from readelf.  But it seems that some of them are
 #           no longer being maintained.
-Patch08: binutils-readelf-other-sym-info.patch
+Patch07: binutils-readelf-other-sym-info.patch
 
 # Purpose:  Do not create PLT entries for AARCH64 IFUNC symbols referenced in
 #           debug sections.
 # Lifetime: Permanent.
 # FIXME:    Find related bug.  Decide on permanency.
-Patch09: binutils-2.27-aarch64-ifunc.patch
-
-# Purpose:  Fix linker testsuite failures
-# Lifetime: Fixed in 2.32 (probably)
-Patch10: binutils-fix-testsuite-failures.patch
-
-# Purpose:  Revert fix for PR 23161 which was placing unversioned section
-#           symbols (_edata, _end, __bss_start) into shared libraries.
-#           See also PR 23499 and BZ 1614920
-# Lifetime: Fixed in 2.32
-# Patch11: binutils-do-not-provide-shared-section-symbols.patch
-Patch11: binutils-clear-version-info.patch
-
-# Purpose:  Stop gold from complaining about relocs in the .gnu.build.attribute
-#           section that reference symbols in discarded sections.
-# Lifetime: Fixed in 2.32 (maybe)
-Patch12: binutils-gold-ignore-discarded-note-relocs.patch
-
-# Purpose:  Improve partial relro support for 64-bit s/390.
-# Lifetime: Fixed in 2.32 
-Patch13: binutils-s390-partial-relro.patch
-
-# Purpose:  Merge .gnu.build.attribute sections into a single section.
-# Lifetime: Fixed in 2.32 
-Patch14: binutils-merge-attribute-sections.patch
-
-# Purpose:  Improve objcopy's --merge-notes option.
-# Lifetime: Fixed in 2.32
-Patch15: binutils-note-merge-improvements.patch
-
-# Purpose:  Detect and report corrupt symbol version information.
-# Lifetime: Fixed in 2.32
-Patch16: binutils-detect-corrupt-sym-version-info.patch
-
-# Purpose:  Delay the evaluation of linker script constants until
-#            after the configuration options have been set.
-# Lifetime: Fixed in 2.32
-Patch17: binutils-delay-ld-script-constant-eval.patch
-
-# Purpose:  Stop readelf's reports of gaps in build notes - they are unreliable.
-# Lifetime: Unknown.
-Patch18: binutils-disable-readelf-gap-reports.patch
+Patch08: binutils-2.27-aarch64-ifunc.patch
 
 # Purpose:  Stop the binutils from statically linking with libstdc++.
 # Lifetime: Permanent.
-Patch20: binutils-do-not-link-with-static-libstdc++.patch
+Patch09: binutils-do-not-link-with-static-libstdc++.patch
 
 # Purpose:  Add a .attach_to_group pseudo-op to the assembler for
 #           use by the annobin gcc plugin.
 # Lifetime: Permanent.
-Patch21: binutils-attach-to-group.patch
+Patch10: binutils-attach-to-group.patch
 
-# Purpose:  Fix a potential buffer overrun when parsing a corrupt ELF file.
-# Lifetime: Fixed in 2.32.
-Patch22: binutils-CVE-2018-17358.patch
+# Purpose:  Stop gold from complaining about relocs in the .gnu.build.attribute
+#           section that reference symbols in discarded sections.
+# Lifetime: Fixed in 2.33 (maybe)
+Patch11: binutils-gold-ignore-discarded-note-relocs.patch
 
 # Purpose:  Allow OS specific sections in section groups.
-# Lifetime: Might be fixed in 2.32
-Patch23: binutils-special-sections-in-groups.patch
-
-# Purpose:  Stop gold from issuing warnings about dropped version
-#            information, unless explicitly requested otherwise.
-# Lifetime: Fixed in 2.32
-Patch24: binutils-gold-discard-version-info.patch
-
-# Purpose:  Fix a memory leak reading minisymbols.
-# Lifetime: Fixed in 2.32
-Patch25: binutils-CVE-2018-20002.patch
+# Lifetime: Might be fixed in 2.33
+Patch12: binutils-special-sections-in-groups.patch
+
+# Purpose:  Fix linker testsuite failures.
+# Lifetime: Fixed in 2.33 (possibly)
+Patch13: binutils-fix-testsuite-failures.patch
+
+# Purpose:  Improve objdump's handling of corrupt input files.
+# Lifetime: Fixed in 2.33
+Patch14: binutils-CVE-2019-9073.patch
+
+# Purpose:  Stop illegal memory access parsing corrupt PE files.
+# Lifetime: Fixed in 2.33
+Patch15: binutils-CVE-2019-9074.patch
+
+# Purpose:  Stop illegal memory access parsing corrupt archives.
+# Lifetime: Fixed in 2.33
+Patch16: binutils-CVE-2019-9075.patch
+
+# Purpose:  Stop illegal memory access parsing a corrupt MIPS binary.
+# Lifetime: Fixed in 2.33
+Patch17: binutils-CVE-2019-9077.patch
+
+# Purpose:  Stop a seg-fault when disassembling an EFI binary.
+# Lifetime: Fixed in 2.33
+Patch18: binutils-disassembling-efi-files.patch
+
+# Purpose:  Fix a stack exhaustion problem in libiberty's name demangling code.
+# Lifetime: Fixed in 2.33
+Patch19: binutils-CVE-2019-9071.patch
+
+# Purpose:  Have the GOLD linker for AArch64 generate PLT entries for MOVW_ABS
+#           relocations if necessary.
+# Lifetime: Fixed in 2.33
+Patch20: binutils-aarch64-gold-PLT-for-MOVW_ABS.patch
+
+# Purpose:  Stop gold from aborting when input sections with the same name
+#            have different flags.
+# Lifetime: Fixed in 2.33 (probably)
+Patch21: binutils-gold-mismatched-section-flags.patch
+
+# Purpose:  Corrcect a memory corruption when generating relocs for build
+#            notes in the assembler.
+# Lifetime: Fixed in 2.33
+Patch22: binutils-gas-build-note-relocs.patch
+
+# Purpose:  Stop the BFD library from issueing warning messages about allocated
+#            sections being found outside of loadable segments, if they are
+#            found inside debuginfo files.
+# Lifetime: Fixed in 2.33
+Patch23: binutils-do-not-warn-about-debuginfo-files.patch
+
+# Purpose:  Stops the linker from merging section groups with different exclusion flags.
+# Lifetime: Fixed in 2.33
+Patch24: binutils-do-not-merge-differing-SHF_EXCLUDE-groups.patch
+
+# Purpose: Fix -Map and property merging
+# Lifetime: Fixed in 2.33
+Patch25: binutils-rh1736114.patch
+
+# Purpose: Change objcopy/strip so that they do not complain if the
+#  first note in a sequence of build notes is not a version note.
+# Lifetime: Fixed in 2.33
+Patch26: binutils-objcopy-gnu-build-version-notes.patch
+
+# Purpose: Add a check to the GOLD linker for a corrupt input file
+#  with a fuzzed section offset.
+# Lifetime: Fixed in 2.33
+Patch27: binutils-CVE-2019-1010204.patch
+
+# Purpose: Add check to libiberty library in order to prevent an integer overflow in the gold linker.
+# Lifetime: Fixed in 2.33
+Patch28: binutils-CVE-2019-14250.patch
+
+# Purpose: Add check to readelf in order to prevent an integer overflow.
+# Lifetime: Fixed in 2.33
+Patch29: binutils-CVE-2019-14444.patch
 
 #----------------------------------------------------------------------------
 
@@ -314,18 +335,13 @@ echo target is %{binutils_target}
 export CFLAGS="$RPM_OPT_FLAGS"
 CARGS=
 
-case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*)
+case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*|aarch64*)
   CARGS="$CARGS --enable-64-bit-bfd"
   ;;
 esac
 
-case %{binutils_target} in ia64*)
-  CARGS="$CARGS --enable-targets=i386-linux"
-  ;;
-esac
-
-case %{binutils_target} in ppc*|ppc64*)
-  CARGS="$CARGS --enable-targets=spu"
+case %{binutils_target} in x86_64*|i?86*|arm*|aarch64*)
+  CARGS="$CARGS --enable-targets=x86_64-pep"
   ;;
 esac
 
@@ -346,10 +362,11 @@ CFLAGS="$CFLAGS -O0 -ggdb2"
   --build=%{_target_platform} --host=%{_target_platform} \
   --target=%{binutils_target} \
 %ifarch %gold_arches
-  --enable-gold=default --enable-ld \
+  --enable-gold=default \
 %else
   --enable-gold=no \
 %endif
+  --enable-ld \
 %if %{isnative}
   --with-sysroot=/ \
 %else
@@ -623,6 +640,12 @@ fi
 
 
 %changelog
+* Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.32-1
+- updated to 2.32.
+- dropped Patch11, 13-22, 24 and 25: fixed in upstream.
+- renumbered patches.
+- imported Patch14-29 from rawhide.
+
 * Tue Jan 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.31.1-1
 - updated to 2.31.1.
 - dropped Patch1-9.

+ 20 - 15
g/gcc/gcc-vl.spec

@@ -1,6 +1,7 @@
 %bcond_with check
 
-%global gcc_version 8.2.0
+# version of tarball
+%global gcc_version 8.3.0
 %global gcc_major 8
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
@@ -89,22 +90,22 @@
 %global multilib_32_arch i686
 %endif
 
-Summary: GNU Compiler Collection (C, C++, Objective-C, ...)
-Summary(ja): GNU コンパイラコレクション (C, C++, Objective-C, ...)
-Name: gcc
-Version: %{gcc_version}
-Release: %{gcc_release}
+Summary:       GNU Compiler Collection (C, C++, Objective-C, ...)
+Summary(ja):   GNU コンパイラコレクション (C, C++, Objective-C, ...)
+Name:          gcc
+Version:       8.3.1
+Release:       %{gcc_release}
 
-Vendor: Project Vine
-Distribution: Vine Linux
+Vendor:         Project Vine
+Distribution:   Vine Linux
 
 # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
 # GCC Runtime Exception.
-License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
-Group: Development/Languages
-Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
-URL: http://gcc.gnu.org
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+License:        GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+Group:          Development/Languages
+Source0:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{gcc_version}/%{name}-%{gcc_version}.tar.xz
+URL:            https://gcc.gnu.org
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 # Need binutils with -pie support >= 2.14.90.0.4-4
 # Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
 # Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2
@@ -205,7 +206,7 @@ Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 AutoReq: true
 
-Patch0: gcc-8.2-20190120.patch
+Patch0: gcc-8.3-20190921.patch
 
 Patch1: gcc8-hack.patch
 Patch2: gcc8-i386-libgomp.patch
@@ -911,7 +912,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
 #####################################################################
 
 %prep
-%setup -q 
+%setup -q -n gcc-%{gcc_version}
 %patch0 -p1 -b .upstream
 
 %patch1 -p0 -b .hack~
@@ -3037,6 +3038,10 @@ fi
 %doc rpm.doc/changelogs/libcc1/ChangeLog*
 
 %changelog
+* Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.3.1-1
+- updated to 8.3.0
+- imported Patch0 from upstream (8.3.1).
+
 * Sun Jan 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.0-1
 - updated to 8.2.0
 - dropped fastjar.

+ 8 - 5
g/glibc/glibc-vl.spec

@@ -1,7 +1,7 @@
 %bcond_with gcc5
 %bcond_with systemd
 
-%define glibcversion 2.28
+%define glibcversion 2.30
 %define glibcsrcdir glibc-%{glibcversion}
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 ### glibc.spec.in follows:
@@ -57,7 +57,7 @@ Source11: SUPPORTED
 Source1000: rpm-old-changelog.txt
 
 # patched form upstream
-Patch0: glibc-2.28-20190120.patch
+Patch0: glibc-2.30-20190922.patch
 
 # patches from Fedora
 Patch1: glibc-post_upgrade.patch
@@ -70,7 +70,6 @@ Patch7: glibc-fedora-nis-rh188246.patch
 Patch8: glibc-fedora-manual-dircategory.patch
 Patch9: glibc-rh827510.patch
 Patch10: glibc-fedora-locarchive.patch
-Patch11: glibc-fedora-streams-rh436349.patch
 Patch12: glibc-rh819430.patch
 Patch13: glibc-fedora-localedata-rh61908.patch
 Patch14: glibc-fedora-__libc_multiple_libcs.patch
@@ -79,8 +78,6 @@ Patch16: glibc-nscd-sysconfig.patch
 Patch17: glibc-cs-path.patch
 Patch18: glibc-c-utf8-locale.patch
 Patch23: glibc-python3.patch
-Patch24: glibc-with-nonshared-cflags.patch
-Patch25: glibc-asflags.patch
 Patch28: glibc-rh1615608.patch
 
 # patch for Vine
@@ -100,6 +97,7 @@ Requires(pre): basesystem, libgcc
 # For initial glibc bootstraps it can be commented out
 BuildRequires: gd-devel libpng-devel zlib-devel texinfo
 BuildRequires: audit-libs-devel >= 1.1.3, sed >= 3.95, libcap-devel, gettext, nss-devel
+BuildRequires: python3-devel
 BuildRequires: bison
 BuildRequires: /bin/ps, /bin/kill, /bin/awk
 # This is to ensure that __frame_state_for is exported by glibc
@@ -1780,6 +1778,11 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.30-1
+- updated to 2.30.
+- updated Patch0.
+- dropped Patch11, 24 and 25.
+
 * Sun Jan 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.28-1
 - updated to 2.28.
 - dropped Source2, 3, 10 and 11.

+ 9 - 6
lib/libt/libtool/libtool-vl.spec

@@ -1,12 +1,14 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
-%define gcc_version 8.2.0
+%define gcc_version 8.3.1
 
 Summary: The GNU Portable Library Tool
 Summary(ja): GNU ポータブルライブラリツール
 Name:    libtool
 Version: 2.4.6
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
+Vendor: Project Vine
+Distribution: Vine Linux
 License: GPLv2+ and LGPLv2+ and GFDL
 Group:   Development/Tools
 URL:     http://www.gnu.org/software/libtool/
@@ -46,9 +48,6 @@ Requires: gcc = %{gcc_version}
 Requires: autoconf >= 2.50, automake >= 1.4p1, m4, perl
 Requires: libtool-ltdl = %{version}-%{release}, mktemp
 
-Vendor: Project Vine
-Distribution: Vine Linux
-
 %description
 GNU Libtool is a set of shell scripts which automatically configure UNIX and
 UNIX-like systems to generically build shared libraries. Libtool provides a
@@ -211,7 +210,8 @@ fi
 
 %files ltdl
 %defattr(-,root,root)
-%doc libltdl/COPYING.LIB libltdl/README
+%license libltdl/COPYING.LIB
+%doc libltdl/README
 %{_libdir}/libltdl.so.*
 
 %files ltdl-devel
@@ -233,6 +233,9 @@ fi
 
 
 %changelog
+* Sun Sep 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.6-5
+- rebuilt with gcc-8.3.1.
+
 * Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.6-4
 - imported Patch1-4 from rawhide.