Browse Source

updated 12 packages

binutils-2.41-1

elfutils-0.189-1

gcc-13.2.1-1

gdb-13.2-1

glibc-2.38-3

gmp-6.3.0-1

libmpc-1.3.1-1

libnsl2-2.0.1-1

libtool-2.4.7-2

libxcrypt-4.4.36-1

mpfr-4.2.1-1

valgrind-3.21.0-1
Tomohiro "Tomo-p" KATO 6 months ago
parent
commit
5d95a95687

+ 66 - 72
b/binutils/binutils-vl.spec

@@ -65,7 +65,7 @@
 Summary:        A GNU collection of binary utilities.
 Summary:        A GNU collection of binary utilities.
 Summary(ja):    GNU 版バイナリユーティリティ集
 Summary(ja):    GNU 版バイナリユーティリティ集
 Name:           binutils
 Name:           binutils
-Version:        2.39
+Version:        2.41
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          programming
 Group:          programming
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -82,7 +82,7 @@ Source2:        binutils-2.19.50.0.1-output-format.sed
 
 
 #----------------------------------------------------------------------------
 #----------------------------------------------------------------------------
 
 
-Patch00: binutils-%{version}-20220908.patch
+Patch00: binutils-%{version}-20230920.patch
 
 
 # Purpose:  Use /lib64 and /usr/lib64 instead of /lib and /usr/lib in the
 # Purpose:  Use /lib64 and /usr/lib64 instead of /lib and /usr/lib in the
 #           default library search path of 64-bit targets.
 #           default library search path of 64-bit targets.
@@ -114,95 +114,74 @@ Patch03: binutils-export-demangle.h.patch
 #           order.
 #           order.
 Patch04: binutils-no-config-h-check.patch
 Patch04: binutils-no-config-h-check.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.
-# Lifetime: Permanent.  This patch changes the format of readelf's output,
-#           making it better (IMHO) but also potentially breaking tools that
-#           depend upon readelf's current format.  Hence it remains a local
-#           patch.
-Patch05: binutils-filename-in-error-messages.patch
-
 # Purpose:  Disable an x86/x86_64 optimization that moves functions from the
 # Purpose:  Disable an x86/x86_64 optimization that moves functions from the
 #           PLT into the GOTPLT for faster access.  This optimization is
 #           PLT into the GOTPLT for faster access.  This optimization is
 #           problematic for tools that want to intercept PLT entries, such
 #           problematic for tools that want to intercept PLT entries, such
 #           as ltrace and LD_AUDIT.  See BZs 1452111 and 1333481.
 #           as ltrace and LD_AUDIT.  See BZs 1452111 and 1333481.
 # Lifetime: Permanent.  But it should not be.
 # Lifetime: Permanent.  But it should not be.
 # FIXME:    Replace with a configure time option.
 # FIXME:    Replace with a configure time option.
-Patch06: binutils-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.
-# Lifetime: Permanent.
-# 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.
-Patch07: binutils-readelf-other-sym-info.patch
+Patch05: binutils-revert-PLT-elision.patch
 
 
 # Purpose:  Do not create PLT entries for AARCH64 IFUNC symbols referenced in
 # Purpose:  Do not create PLT entries for AARCH64 IFUNC symbols referenced in
 #           debug sections.
 #           debug sections.
 # Lifetime: Permanent.
 # Lifetime: Permanent.
 # FIXME:    Find related bug.  Decide on permanency.
 # FIXME:    Find related bug.  Decide on permanency.
-Patch08: binutils-2.27-aarch64-ifunc.patch
+Patch06: binutils-2.27-aarch64-ifunc.patch
 
 
 # Purpose:  Stop the binutils from statically linking with libstdc++.
 # Purpose:  Stop the binutils from statically linking with libstdc++.
 # Lifetime: Permanent.
 # Lifetime: Permanent.
-Patch09: binutils-do-not-link-with-static-libstdc++.patch
+Patch07: binutils-do-not-link-with-static-libstdc++.patch
 
 
 # Purpose:  Allow OS specific sections in section groups.
 # Purpose:  Allow OS specific sections in section groups.
-# Lifetime: Fixed in 2.39 (maybe)
-Patch10: binutils-special-sections-in-groups.patch
-
-# Purpose:  Fix linker testsuite failures.
-# Lifetime: Fixed in 2.39 (maybe)
-Patch11: binutils-fix-testsuite-failures.patch
+# Lifetime: Fixed in 2.42 (maybe)
+Patch08: binutils-special-sections-in-groups.patch
 
 
 # Purpose:  Stop gold from aborting when input sections with the same name
 # Purpose:  Stop gold from aborting when input sections with the same name
 #            have different flags.
 #            have different flags.
-# Lifetime: Fixed in 2.39 (maybe)
-Patch12: binutils-gold-mismatched-section-flags.patch
+# Lifetime: Fixed in 2.42 (maybe)
+Patch09: binutils-gold-mismatched-section-flags.patch
 
 
 # Purpose:  Change the gold configuration script to only warn about
 # Purpose:  Change the gold configuration script to only warn about
 #            unsupported targets.  This allows the binutils to be built with
 #            unsupported targets.  This allows the binutils to be built with
 #            BPF support enabled.
 #            BPF support enabled.
 # Lifetime: Permanent.
 # Lifetime: Permanent.
-Patch13: binutils-gold-warn-unsupported.patch
-
-# Purpose:  Fix testsuite failures due to the patches applied here.
-# Lifetime: Permanent, but varying with each new rebase.
-Patch14: binutils-testsuite-fixes.patch
+Patch10: binutils-gold-warn-unsupported.patch
 
 
 # Purpose:  Enable the creation of .note.gnu.property sections by the GOLD
 # Purpose:  Enable the creation of .note.gnu.property sections by the GOLD
 #            linker for x86 binaries.
 #            linker for x86 binaries.
-# Lifetime: Fixed in 2.38 maybe
-Patch15: binutils-gold-i386-gnu-property-notes.patch
+# Lifetime: Permanent.
+Patch11: binutils-gold-i386-gnu-property-notes.patch
 
 
 # Purpose:  Allow the binutils to be configured with any (recent) version of
 # Purpose:  Allow the binutils to be configured with any (recent) version of
 #            autoconf.
 #            autoconf.
-# Lifetime: Fixed in 2.39 (maybe ?)
-Patch16: binutils-autoconf-version.patch
+# Lifetime: Fixed in 2.42 (maybe ?)
+Patch12: binutils-autoconf-version.patch
 
 
 # Purpose:  Stop libtool from inserting useless runpaths into binaries.
 # Purpose:  Stop libtool from inserting useless runpaths into binaries.
 # Lifetime: Who knows.
 # Lifetime: Who knows.
-Patch17: binutils-libtool-no-rpath.patch
+Patch13: binutils-libtool-no-rpath.patch
 
 
 %if %{enable_new_dtags}
 %if %{enable_new_dtags}
 # Purpose:  Change ld man page so that it says that --enable-new-dtags is the default.
 # Purpose:  Change ld man page so that it says that --enable-new-dtags is the default.
 # Lifetime: Permanent
 # Lifetime: Permanent
-Patch18: binutils-update-linker-manual.patch
+Patch14: binutils-update-linker-manual.patch
 %endif
 %endif
 
 
-# Purpose:  Add a --package-metadata option to the linkers.
-# Lifetime: Fixed in 2.40
-Patch19: binutils-package-metadata.patch
+# Purpose:  Stop an abort when using dwp to process a file with no dwo links.
+# Lifetime: Fixed in 2.42 (maybe)
+Patch15: binutils-gold-empty-dwp.patch
+
+# Purpose:  Fix binutils testsuite failures.
+# Lifetime: Permanent, but varies with each rebase.
+Patch16: binutils-testsuite-fixes.patch
 
 
-# Purpose:  Stop the assembler from generating DIE information for zero-sized functions.
-# Lifetime: Fixed in 2.40
-#Patch20: binutils-gas-dwarf-skip-empty-functions.patch
+# Purpose:  Fix binutils testsuite failures for the RISCV-64 target.
+# Lifetime: Permanent, but varies with each rebase.
+Patch17: binutils-riscv-testsuite-fixes.patch
 
 
-# Purpose:  Stop an infinite loop in the binutils DWARF decoder.  (CVE 2022-38128)
-# Lifetime: Fixed in 2.40
-Patch21: binutils-CVE-38128-dwarf-abbrev-parsing.patch
+# Purpose:  Fix the GOLD linker's handling of 32-bit PowerPC binaries.
+# Lifetime: Fixed in 2.42
+#Patch18: binutils-gold-powerpc.patch
 
 
 #----------------------------------------------------------------------------
 #----------------------------------------------------------------------------
 
 
@@ -305,32 +284,36 @@ sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
 sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*aarch64.c
 sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*aarch64.c
 sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc
 sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc
 sed -i -e '/pagesize/s/0x1000,/0x10000,/' gold/aarch64.cc
 sed -i -e '/pagesize/s/0x1000,/0x10000,/' gold/aarch64.cc
+
 # LTP sucks
 # LTP sucks
 perl -pi -e 's/i\[3-7\]86/i[34567]86/g' */conf*
 perl -pi -e 's/i\[3-7\]86/i[34567]86/g' */conf*
 sed -i -e 's/%''{release}/%{release}/g' bfd/Makefile{.am,.in}
 sed -i -e 's/%''{release}/%{release}/g' bfd/Makefile{.am,.in}
 sed -i -e '/^libopcodes_la_\(DEPENDENCIES\|LIBADD\)/s,$, ../bfd/libbfd.la,' opcodes/Makefile.{am,in}
 sed -i -e '/^libopcodes_la_\(DEPENDENCIES\|LIBADD\)/s,$, ../bfd/libbfd.la,' opcodes/Makefile.{am,in}
+
 # Build libbfd.so and libopcodes.so with -Bsymbolic-functions if possible.
 # Build libbfd.so and libopcodes.so with -Bsymbolic-functions if possible.
 if gcc %{optflags} -v --help 2>&1 | grep -q -- -Bsymbolic-functions; then
 if gcc %{optflags} -v --help 2>&1 | grep -q -- -Bsymbolic-functions; then
 sed -i -e 's/^libbfd_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' bfd/Makefile.{am,in}
 sed -i -e 's/^libbfd_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' bfd/Makefile.{am,in}
 sed -i -e 's/^libopcodes_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' opcodes/Makefile.{am,in}
 sed -i -e 's/^libopcodes_la_LDFLAGS = /&-Wl,-Bsymbolic-functions /' opcodes/Makefile.{am,in}
 fi
 fi
+
 # $PACKAGE is used for the gettext catalog name.
 # $PACKAGE is used for the gettext catalog name.
 sed -i -e 's/^ PACKAGE=/ PACKAGE=%{?cross}/' */configure
 sed -i -e 's/^ PACKAGE=/ PACKAGE=%{?cross}/' */configure
+
 # Undo the name change to run the testsuite.
 # Undo the name change to run the testsuite.
 for tool in binutils gas ld
 for tool in binutils gas ld
 do
 do
   sed -i -e "2aDEJATOOL = $tool" $tool/Makefile.am
   sed -i -e "2aDEJATOOL = $tool" $tool/Makefile.am
   sed -i -e "s/^DEJATOOL = .*/DEJATOOL = $tool/" $tool/Makefile.in
   sed -i -e "s/^DEJATOOL = .*/DEJATOOL = $tool/" $tool/Makefile.in
 done
 done
+
 # Touch the .info files so that they are newer then the .texi files and
 # Touch the .info files so that they are newer then the .texi files and
 # hence do not need to be rebuilt.  This eliminates the need for makeinfo.
 # hence do not need to be rebuilt.  This eliminates the need for makeinfo.
 # The -print is there just to confirm that the command is working.
 # The -print is there just to confirm that the command is working.
 %if %{without docs}
 %if %{without docs}
   find . -name *.info -print -exec touch {} \;
   find . -name *.info -print -exec touch {} \;
-%endif
+%else
 # If we are creating the docs, touch the texi files so that the info and
 # If we are creating the docs, touch the texi files so that the info and
 # man pages will be rebuilt.
 # man pages will be rebuilt.
-%if %{with docs}
   find . -name *.texi -print -exec touch {} \;
   find . -name *.texi -print -exec touch {} \;
 %endif
 %endif
 
 
@@ -494,38 +477,42 @@ rm -rf $RPM_BUILD_ROOT
 make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} install-info
 make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} install-info
 %endif
 %endif
 
 
-# Rebuild libiberty.a with -fPIC.
-# Future: Remove it together with its header file, projects should bundle it.
-%make_build -C libiberty clean
-%set_build_flags
-%make_build CFLAGS="-g -fPIC $CFLAGS" -C libiberty
-
-# Rebuild libbfd.a with -fPIC.
-# Without the hidden visibility the 3rd party shared libraries would export
-# the bfd non-stable ABI.
-make -C bfd clean
-make CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd
-
 %if %{enable_new_dtags}
 %if %{enable_new_dtags}
 export LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
 export LDFLAGS="$LDFLAGS -Wl,--enable-new-dtags"
 %endif
 %endif
 
 
-# Rebuild libbfd.a with -fPIC.
+	# Rebuild the static libiaries with -fPIC.
+	# It would be nice to build the static libraries with -fno-lto so that
+	# they can be used by programs that are built with a different version
+	# of GCC from the one used to build the libraries, but this will trigger
+	# warnings from annocheck.
+
+# Future: Remove it together with its header file, projects should bundle it.
+%make_build -s -C libiberty clean
+%set_build_flags
+%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
+
 # Without the hidden visibility the 3rd party shared libraries would export
 # Without the hidden visibility the 3rd party shared libraries would export
 # the bfd non-stable ABI.
 # the bfd non-stable ABI.
-%make_build -C bfd clean
+%make_build -s -C bfd clean
 %set_build_flags
 %set_build_flags
-%make_build CFLAGS="-g -fPIC $CFLAGS -fvisibility=hidden" -C bfd
+%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd
 
 
 # Rebuild libopcodes.a with -fPIC.
 # Rebuild libopcodes.a with -fPIC.
-%make_build -C opcodes clean
+%make_build -s -C opcodes clean
 %set_build_flags
 %set_build_flags
-%make_build CFLAGS="-g -fPIC $CFLAGS" -C opcodes
+%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C opcodes
 
 
-install -m 644 bfd/libbfd.a %{buildroot}%{_libdir}
+%make_build -s -C libsframe clean
+%set_build_flags
+%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libsframe
+
+install -m 644 bfd/.libs/libbfd.a %{buildroot}%{_libdir}
 install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir}
 install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir}
 install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
 install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
 install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir}
 install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir}
+install -m 644 libsframe/.libs/libsframe.a  %{buildroot}%{_libdir}
+
 # Remove Windows/Novell only man pages
 # Remove Windows/Novell only man pages
 rm -f %{buildroot}%{_mandir}/man1/{dlltool,nlmconv,windres,windmc}*
 rm -f %{buildroot}%{_mandir}/man1/{dlltool,nlmconv,windres,windmc}*
 %if %{without docs}
 %if %{without docs}
@@ -669,16 +656,18 @@ exit 0
 %if %{isnative}
 %if %{isnative}
 %{_infodir}/as.info.*
 %{_infodir}/as.info.*
 %{_infodir}/binutils.info.*
 %{_infodir}/binutils.info.*
-%{_infodir}/gprof.info.*
 %{_infodir}/ld.info.*
 %{_infodir}/ld.info.*
+%{_infodir}/ldint.info.*
 %{_infodir}/bfd.info.*
 %{_infodir}/bfd.info.*
 %{_infodir}/ctf-spec.info.*
 %{_infodir}/ctf-spec.info.*
+%{_infodir}/gprof.info.*
+%{_infodir}/sframe-spec.info.*
 %endif
 %endif
 %endif
 %endif
 
 
 %if %{enable_shared}
 %if %{enable_shared}
 %{_libdir}/lib*.so
 %{_libdir}/lib*.so
-%{_libdir}/libctf*
+%{_libdir}/lib*.so.*
 %exclude %{_libdir}/libbfd.so
 %exclude %{_libdir}/libbfd.so
 %exclude %{_libdir}/libopcodes.so
 %exclude %{_libdir}/libopcodes.so
 %exclude %{_libdir}/libctf.a
 %exclude %{_libdir}/libctf.a
@@ -710,6 +699,11 @@ exit 0
 
 
 
 
 %changelog
 %changelog
+* Thu Sep 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.41-1
+- updated to 2.41.
+- updated Patch00.
+- re-imported patches from rawhide.
+
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.39-1
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.39-1
 - updated to 2.39.
 - updated to 2.39.
 - updated Patch00.
 - updated Patch00.

+ 4 - 1
e/elfutils/elfutils-vl.spec

@@ -5,7 +5,7 @@
 Summary: A collection of utilities and DSOs to handle compiled objects
 Summary: A collection of utilities and DSOs to handle compiled objects
 Summary(ja): コンパイル済みオブジェクトを扱うためのユーティリティ集
 Summary(ja): コンパイル済みオブジェクトを扱うためのユーティリティ集
 Name: elfutils
 Name: elfutils
-Version:        0.187
+Version:        0.189
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          programming
 Group:          programming
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -311,6 +311,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 
 
 %changelog
 %changelog
+* Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.189-1
+- new upstream release.
+
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.187-1
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.187-1
 - new upstream release.
 - new upstream release.
 
 

+ 135 - 46
g/gcc/gcc-vl.spec

@@ -1,8 +1,8 @@
 %bcond_with check
 %bcond_with check
 
 
 # version of tarball
 # version of tarball
-%global gcc_version 12.2.0
-%global gcc_major 12
+%global gcc_version 13.2.0
+%global gcc_major 13
 # Note, gcc_release must be integer, if you want to add suffixes to
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
 # %{release}, append them after %{gcc_release} on Release: line.
 %global gcc_release 1
 %global gcc_release 1
@@ -10,7 +10,7 @@
 Summary:        GNU Compiler Collection (C, C++, Objective-C, ...)
 Summary:        GNU Compiler Collection (C, C++, Objective-C, ...)
 Summary(ja):    GNU コンパイラコレクション (C, C++, Objective-C, ...)
 Summary(ja):    GNU コンパイラコレクション (C, C++, Objective-C, ...)
 Name:           gcc
 Name:           gcc
-Version:        12.2.1
+Version:        13.2.1
 Release:        %{gcc_release}%{?_dist_release}
 Release:        %{gcc_release}%{?_dist_release}
 Group:          programming
 Group:          programming
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -21,7 +21,7 @@ Distribution:   Vine Linux
 License:        GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
 License:        GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
 URL:            https://gcc.gnu.org
 URL:            https://gcc.gnu.org
 Source0:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{gcc_version}/%{name}-%{gcc_version}.tar.xz
 Source0:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{gcc_version}/%{name}-%{gcc_version}.tar.xz
-%global isl_version 0.18
+%global isl_version 0.24
 Source3:        https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
 Source3:        https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
 
 
 %{?!_fmoddir: %global _fmoddir %{_libdir}/gfortran/modules}
 %{?!_fmoddir: %global _fmoddir %{_libdir}/gfortran/modules}
@@ -35,7 +35,7 @@ Source3:        https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.ta
 %global build_java 0
 %global build_java 0
 %ifarch %{ix86} x86_64 %{arm}
 %ifarch %{ix86} x86_64 %{arm}
 %global build_go 1
 %global build_go 1
-%global go_soversion 21
+%global go_soversion 22
 %else
 %else
 %global build_go 0
 %global build_go 0
 %endif
 %endif
@@ -51,6 +51,11 @@ Source3:        https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.ta
 %global build_libasan 0
 %global build_libasan 0
 %endif
 %endif
 %ifarch x86_64
 %ifarch x86_64
+%global build_libhwasan 1
+%else
+%global build_libhwasan 0
+%endif
+%ifarch x86_64
 %global build_libtsan 1
 %global build_libtsan 1
 %else
 %else
 %global build_libtsan 0
 %global build_libtsan 0
@@ -75,7 +80,7 @@ Source3:        https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.ta
 %else
 %else
 %global build_libitm 0
 %global build_libitm 0
 %endif
 %endif
-%global build_isl 1
+%global build_isl 0
 %ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
 %ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
 %global attr_ifunc 1
 %global attr_ifunc 1
 %else
 %else
@@ -208,21 +213,23 @@ Obsoletes: libmpx-static < %{version}
 Provides: gcc4 = %{version}-%{release}
 Provides: gcc4 = %{version}-%{release}
 AutoReq: true
 AutoReq: true
 
 
-Patch0: gcc12-hack.patch
-Patch2: gcc12-sparc-config-detection.patch
-Patch3: gcc12-libgomp-omp_h-multilib.patch
-Patch4: gcc12-libtool-no-rpath.patch
-Patch5: gcc12-isl-dl.patch
-Patch6: gcc12-isl-dl2.patch
-Patch7: gcc12-libstdc++-docs.patch
-Patch8: gcc12-no-add-needed.patch
-Patch9: gcc12-Wno-format-security.patch
-Patch10: gcc12-rh1574936.patch
-Patch11: gcc12-d-shared-libphobos.patch
-Patch12: gcc12-p2327r1.patch
-Patch13: gcc12-pr106590.patch
-
-Patch10000: gcc-12.2-20220908.patch
+Patch0: gcc13-hack.patch
+Patch2: gcc13-sparc-config-detection.patch
+Patch3: gcc13-libgomp-omp_h-multilib.patch
+Patch4: gcc13-libtool-no-rpath.patch
+Patch5: gcc13-isl-dl.patch
+Patch6: gcc13-isl-dl2.patch
+Patch7: gcc13-libstdc++-docs.patch
+Patch8: gcc13-no-add-needed.patch
+Patch9: gcc13-Wno-format-security.patch
+Patch10: gcc13-rh1574936.patch
+Patch11: gcc13-d-shared-libphobos.patch
+
+Patch50: isl-rh2155127.patch
+
+Patch100: gcc13-fortran-fdec-duplicates.patch
+
+Patch10000: gcc-13.2-20230921.patch
 
 
 # On ARM EABI systems, we do want -gnueabi to be part of the
 # On ARM EABI systems, we do want -gnueabi to be part of the
 # target triple.
 # target triple.
@@ -622,6 +629,23 @@ Requires: libasan = %{version}-%{release}
 %description -n libasan-static
 %description -n libasan-static
 This package contains Address Sanitizer static runtime library.
 This package contains Address Sanitizer static runtime library.
 
 
+%package -n libhwasan
+Summary: The Hardware-assisted Address Sanitizer runtime library
+
+%description -n libhwasan
+This package contains the Hardware-assisted Address Sanitizer library
+which is used for -fsanitize=hwaddress instrumented programs.
+
+################################################# libhwasan
+
+%package -n libhwasan-static
+Summary: The Hardware-assisted Address Sanitizer static library
+Requires: libhwasan = %{version}-%{release}
+
+%description -n libhwasan-static
+This package contains Hardware-assisted Address Sanitizer static runtime
+library.
+
 ################################################# libtsan
 ################################################# libtsan
 %package -n libtsan
 %package -n libtsan
 Summary: The Thread Sanitizer runtime library
 Summary: The Thread Sanitizer runtime library
@@ -969,24 +993,26 @@ Go dynamically linked programs.
 %setup -q -n gcc-%{gcc_version} -a 3
 %setup -q -n gcc-%{gcc_version} -a 3
 %patch10000 -p1 -b .upstream
 %patch10000 -p1 -b .upstream
 
 
-%patch0 -p0 -b .hack~
-%patch2 -p0 -b .sparc-config-detection~
-%patch3 -p0 -b .libgomp-omp_h-multilib~
-%patch4 -p0 -b .libtool-no-rpath~
+%patch -P0 -p0 -b .hack~
+%patch -P2 -p0 -b .sparc-config-detection~
+%patch -P3 -p0 -b .libgomp-omp_h-multilib~
+%patch -P4 -p0 -b .libtool-no-rpath~
 %if %{build_isl}
 %if %{build_isl}
-%patch5 -p0 -b .isl-dl~
-%patch6 -p0 -b .isl-dl2~
+%patch -P5 -p0 -b .isl-dl~
+%patch -P6 -p0 -b .isl-dl2~
 %endif
 %endif
 %if %{build_libstdcxx_docs}
 %if %{build_libstdcxx_docs}
-%patch7 -p0 -b .libstdc++-docs~
+%patch -P7 -p0 -b .libstdc++-docs~
 %endif
 %endif
-%patch8 -p0 -b .no-add-needed~
-%patch9 -p0 -b .Wno-format-security~
-%patch10 -p0 -b .rh1574936~
-%patch11 -p0 -b .d-shared-libphobos~
-# fixed in upstream
-#patch12 -p0 -b .p2327r1~
-#patch13 -p0 -b .pr106590~
+%patch -P8 -p0 -b .no-add-needed~
+%patch -P9 -p0 -b .Wno-format-security~
+%patch -P10 -p0 -b .rh1574936~
+%patch -P11 -p0 -b .d-shared-libphobos~
+
+%patch -P50 -p0 -b .rh2155127~
+touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4
+
+%patch -P100 -p1 -b .fortran-fdec-duplicates~
 
 
 echo 'Vine Linux %{version}-%{gcc_release}' > gcc/DEV-PHASE
 echo 'Vine Linux %{version}-%{gcc_release}' > gcc/DEV-PHASE
 
 
@@ -1039,7 +1065,7 @@ ISL_FLAG_PIC=-fPIC
 ISL_FLAG_PIC=-fpic
 ISL_FLAG_PIC=-fpic
 %endif
 %endif
 cd isl-build
 cd isl-build
-sed -i 's|libisl|libgcc12privateisl|g' \
+sed -i 's|libisl|libgcc13privateisl|g' \
   ../../isl-%{isl_version}/Makefile.{am,in}
   ../../isl-%{isl_version}/Makefile.{am,in}
 ../../isl-%{isl_version}/configure \
 ../../isl-%{isl_version}/configure \
   CC=/usr/bin/gcc CXX=/usr/bin/g++ \
   CC=/usr/bin/gcc CXX=/usr/bin/g++ \
@@ -1047,9 +1073,9 @@ sed -i 's|libisl|libgcc12privateisl|g' \
 make %{?_smp_mflags}
 make %{?_smp_mflags}
 make install
 make install
 cd ../isl-install/lib
 cd ../isl-install/lib
-rm libgcc12privateisl.so{,.15}
-mv libgcc12privateisl.so.15.3.0 libisl.so.15
-ln -sf libisl.so.15 libisl.so
+rm libgcc13privateisl.so{,.23}
+mv libgcc13privateisl.so.23.1.0 libisl.so.23
+ln -sf libisl.so.23 libisl.so
 cd ../..
 cd ../..
 %endif
 %endif
 
 
@@ -1077,6 +1103,7 @@ CONFIGURE_OPTS="\
 	--enable-multilib \
 	--enable-multilib \
 	--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
 	--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
 	--enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only \
 	--enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only \
+	--enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=%{_datadir}/zoneinfo \
 	--enable-plugin --enable-initfini-array \
 	--enable-plugin --enable-initfini-array \
 %if %{build_isl}
 %if %{build_isl}
 	--with-isl=`pwd`/isl-install \
 	--with-isl=`pwd`/isl-install \
@@ -1136,7 +1163,7 @@ make jit.sphinx.install-html jit_htmldir=`pwd`/../../rpm.doc/libgccjit-devel/htm
 cd ..
 cd ..
 
 
 %if %{build_isl}
 %if %{build_isl}
-cp -a isl-install/lib/libisl.so.15 gcc/
+cp -a isl-install/lib/libisl.so.23 gcc/
 %endif
 %endif
 
 
 # Make generated man pages even if Pod::Man is not new enough
 # Make generated man pages even if Pod::Man is not new enough
@@ -1220,7 +1247,7 @@ FULLPATH=%{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}
 FULLEPATH=%{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
 FULLEPATH=%{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
 
 
 %if %{build_isl}
 %if %{build_isl}
-cp -a isl-install/lib/libisl.so.15 $FULLPATH/
+cp -a isl-install/lib/libisl.so.23 $FULLPATH/
 %endif
 %endif
 
 
 # fix some things
 # fix some things
@@ -1429,6 +1456,12 @@ rm -f libtsan.so
 echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libtsan.so.?.* | sed 's,^.*libt,libt,'`' )' > libtsan.so
 echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libtsan.so.?.* | sed 's,^.*libt,libt,'`' )' > libtsan.so
 mv ../../../../%{_lib}/libtsan_preinit.o libtsan_preinit.o
 mv ../../../../%{_lib}/libtsan_preinit.o libtsan_preinit.o
 %endif
 %endif
+%if %{build_libhwasan}
+rm -f libhwasan.so
+rm -f %{buildroot}%{_prefix}/%{_lib}/libhwasan.so
+echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libhwasan.so.0.* | sed 's,^.*libh,libh,'`' )' > libhwasan.so
+mv ../../../../%{_lib}/libhwasan_preinit.o libhwasan_preinit.o
+%endif
 %if %{build_liblsan}
 %if %{build_liblsan}
 rm -f liblsan.so
 rm -f liblsan.so
 echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/liblsan.so.?.* | sed 's,^.*libl,libl,'`' )' > liblsan.so
 echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/liblsan.so.?.* | sed 's,^.*libl,libl,'`' )' > liblsan.so
@@ -1437,6 +1470,8 @@ mv ../../../../%{_lib}/liblsan_preinit.o liblsan_preinit.o
 fi
 fi
 mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++fs.*a $FULLLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++fs.*a $FULLLPATH/
+mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++exp.*a $FULLLPATH/
+mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++_libbacktrace.*a $FULLLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a $FULLLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a $FULLLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a $FULLLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a $FULLLPATH/
 %if %{build_objc}
 %if %{build_objc}
@@ -1461,6 +1496,9 @@ mv -f %{buildroot}%{_prefix}/%{_lib}/libubsan.*a $FULLLPATH/
 %if %{build_libtsan}
 %if %{build_libtsan}
 mv -f %{buildroot}%{_prefix}/%{_lib}/libtsan.*a $FULLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/libtsan.*a $FULLPATH/
 %endif
 %endif
+%if %{build_libhwasan}
+mv -f %{buildroot}%{_prefix}/%{_lib}/libhwasan.*a $FULLPATH/
+%endif
 %if %{build_liblsan}
 %if %{build_liblsan}
 mv -f %{buildroot}%{_prefix}/%{_lib}/liblsan.*a $FULLPATH/
 mv -f %{buildroot}%{_prefix}/%{_lib}/liblsan.*a $FULLPATH/
 %endif
 %endif
@@ -1472,6 +1510,8 @@ mv -f %{buildroot}%{_prefix}/%{_lib}/libgolibbegin.*a $FULLLPATH/
 %ifarch %{multilib_64_archs}
 %ifarch %{multilib_64_archs}
 mv -f %{buildroot}%{_prefix}/lib/libstdc++.*a $FULLLPATH/32/
 mv -f %{buildroot}%{_prefix}/lib/libstdc++.*a $FULLLPATH/32/
 mv -f %{buildroot}%{_prefix}/lib/libstdc++fs.*a $FULLLPATH/32/
 mv -f %{buildroot}%{_prefix}/lib/libstdc++fs.*a $FULLLPATH/32/
+mv -f %{buildroot}%{_prefix}/lib/libstdc++exp.*a $FULLLPATH/32/
+mv -f %{buildroot}%{_prefix}/lib/libstdc++_libbacktrace.*a $FULLLPATH/32/
 mv -f %{buildroot}%{_prefix}/lib/libsupc++.*a $FULLLPATH/32/
 mv -f %{buildroot}%{_prefix}/lib/libsupc++.*a $FULLLPATH/32/
 mv -f %{buildroot}%{_prefix}/lib/libgfortran.*a $FULLLPATH/32/
 mv -f %{buildroot}%{_prefix}/lib/libgfortran.*a $FULLLPATH/32/
 rm -f %{buildroot}%{_prefix}/lib/libssp.a
 rm -f %{buildroot}%{_prefix}/lib/libssp.a
@@ -1584,6 +1624,10 @@ ln -sf ../lib32/libstdc++.a 32/libstdc++.a
 ln -sf lib64/libstdc++.a libstdc++.a
 ln -sf lib64/libstdc++.a libstdc++.a
 ln -sf ../lib32/libstdc++fs.a 32/libstdc++fs.a
 ln -sf ../lib32/libstdc++fs.a 32/libstdc++fs.a
 ln -sf lib64/libstdc++fs.a libstdc++fs.a
 ln -sf lib64/libstdc++fs.a libstdc++fs.a
+ln -sf lib32/libstdc++exp.a libstdc++exp.a
+ln -sf ../lib64/libstdc++exp.a 64/libstdc++exp.a
+ln -sf lib32/libstdc++_libbacktrace.a libstdc++_libbacktrace.a
+ln -sf ../lib64/libstdc++_libbacktrace.a 64/libstdc++_libbacktrace.a
 ln -sf ../lib32/libsupc++.a 32/libsupc++.a
 ln -sf ../lib32/libsupc++.a 32/libsupc++.a
 ln -sf lib64/libsupc++.a libsupc++.a
 ln -sf lib64/libsupc++.a libsupc++.a
 %if %{build_libquadmath}
 %if %{build_libquadmath}
@@ -1626,6 +1670,8 @@ ln -sf lib64/adalib adalib
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libgfortran.a 32/libgfortran.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libgfortran.a 32/libgfortran.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++.a 32/libstdc++.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++.a 32/libstdc++.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++fs.a 32/libstdc++fs.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++fs.a 32/libstdc++fs.a
+ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++exp.a 32/libstdc++exp.a
+ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libstdc++_libbacktrace.a 32/libstdc++_libbacktrace.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libsupc++.a 32/libsupc++.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libsupc++.a 32/libsupc++.a
 %if %{build_libquadmath}
 %if %{build_libquadmath}
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libquadmath.a 32/libquadmath.a
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libquadmath.a 32/libquadmath.a
@@ -1668,9 +1714,10 @@ for d in . $FULLLSUBDIR; do
 		-o -name libgo.a -o -name libgobegin.a \
 		-o -name libgo.a -o -name libgobegin.a \
 		-o -name libgolibbegin.a -o -name libgomp.a \
 		-o -name libgolibbegin.a -o -name libgomp.a \
 		-o -name libitm.a -o -name liblsan.a \
 		-o -name libitm.a -o -name liblsan.a \
-		-o -name libobjc.a \
-		-o -name libquadmath.a -o -name libstdc++.a \
-		-o -name libstdc++fs.a -o -name libsupc++.a \
+		-o -name libobjc.a -o -name libgdruntime.a -o -name libgphobos.a \
+		-o -name libm2\*.a -o -name libquadmath.a -o -name libstdc++.a \
+		-o -name libstdc++fs.a -o -name libstdc++exp.a \
+		-o -name libstdc++_libbacktrace.a -o -name libsupc++.a \
 		-o -name libtsan.a -o -name libubsan.a \) -a -type f`; do
 		-o -name libtsan.a -o -name libubsan.a \) -a -type f`; do
     cp -a $f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/$d/
     cp -a $f $RPM_BUILD_ROOT%{_prefix}/lib/debug%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/$d/
   done
   done
@@ -1707,6 +1754,9 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libubsan.so.?.*
 %if %{build_libtsan}
 %if %{build_libtsan}
 chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.?.*
 chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.?.*
 %endif
 %endif
+%if %{build_libhwasan}
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libhwasan.so.0.*
+%endif
 %if %{build_liblsan}
 %if %{build_liblsan}
 chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.?.*
 chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.?.*
 %endif
 %endif
@@ -1729,8 +1779,6 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgnarl*so*
 chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgnat*so*
 chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgnat*so*
 %endif
 %endif
 
 
-mv $FULLPATH/include-fixed/syslimits.h $FULLPATH/include/syslimits.h
-mv $FULLPATH/include-fixed/limits.h $FULLPATH/include/limits.h
 for h in `find $FULLPATH/include -name \*.h`; do
 for h in `find $FULLPATH/include -name \*.h`; do
   if grep -q 'It has been auto-edited by fixincludes from' $h; then
   if grep -q 'It has been auto-edited by fixincludes from' $h; then
     rh=`grep -A2 'It has been auto-edited by fixincludes from' $h | tail -1 | sed 's|^.*"\(.*\)".*$|\1|'`
     rh=`grep -A2 'It has been auto-edited by fixincludes from' $h | tail -1 | sed 's|^.*"\(.*\)".*$|\1|'`
@@ -2064,6 +2112,14 @@ fi
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/mwaitintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/mwaitintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16intrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16intrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16vlintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512fp16vlintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxifmaintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxvnniint8intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxneconvertintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/cmpccxaddintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxfp16intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/prfchiintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/raointintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxcomplexintrin.h
 %endif
 %endif
 %ifarch ia64
 %ifarch ia64
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h
@@ -2230,6 +2286,10 @@ fi
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libtsan.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libtsan.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libtsan_preinit.o
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libtsan_preinit.o
 %endif
 %endif
+%if %{build_libhwasan}
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libhwasan.so
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libhwasan_preinit.o
+%endif
 %if %{build_liblsan}
 %if %{build_liblsan}
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/liblsan.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/liblsan.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/liblsan_preinit.o
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/liblsan_preinit.o
@@ -2278,6 +2338,7 @@ fi
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++fs.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libstdc++exp.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libsupc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/64/libsupc++.a
 %endif
 %endif
 %ifarch %{multilib_64_archs}
 %ifarch %{multilib_64_archs}
@@ -2285,6 +2346,8 @@ fi
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++.so
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++fs.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++exp.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libstdc++_libbacktrace.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libsupc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/32/libsupc++.a
 %endif
 %endif
 %ifarch sparcv9 ppc %{multilib_64_archs}
 %ifarch sparcv9 ppc %{multilib_64_archs}
@@ -2293,6 +2356,7 @@ fi
 %ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
 %ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++fs.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++exp.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libsupc++.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libsupc++.a
 %endif
 %endif
 %doc rpm.doc/changelogs/gcc/cp/ChangeLog*
 %doc rpm.doc/changelogs/gcc/cp/ChangeLog*
@@ -2324,13 +2388,19 @@ fi
 %ifarch sparcv9 ppc
 %ifarch sparcv9 ppc
 %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32
 %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++fs.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++exp.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++_libbacktrace.a
 %endif
 %endif
 %ifarch sparc64 ppc64 ppc64p7
 %ifarch sparc64 ppc64 ppc64p7
 %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64
 %dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++fs.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++exp.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++_libbacktrace.a
 %endif
 %endif
 %ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
 %ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++fs.a
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++fs.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++exp.a
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++_libbacktrace.a
 %endif
 %endif
 %doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
 %doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
 
 
@@ -2659,6 +2729,20 @@ fi
 %doc rpm.doc/changelogs/libatomic/ChangeLog*
 %doc rpm.doc/changelogs/libatomic/ChangeLog*
 %endif
 %endif
 
 
+%if %{build_libhwasan}
+%files -n libhwasan
+%{_prefix}/%{_lib}/libhwasan.so.0*
+
+%files -n libhwasan-static
+%dir %{_prefix}/lib/gcc
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
+%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libhwasan.a
+%doc rpm.doc/changelogs/libsanitizer/ChangeLog*
+%{!?_licensedir:%global license %%doc}
+%license libsanitizer/LICENSE.TXT
+%endif
+
 %if %{build_libasan}
 %if %{build_libasan}
 %files -n libasan
 %files -n libasan
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
@@ -2930,6 +3014,11 @@ fi
 
 
 
 
 %changelog
 %changelog
+* Thu Sep 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.2.1-1
+- updated tarball to 13.2.0.
+- re-imported patches from rawhide.
+- imported Patch10000 from upstream (13.2.1).
+
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.2.1-1
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.2.1-1
 - updated tarball to 12.2.0.
 - updated tarball to 12.2.0.
 - re-imported patches from rawhide.
 - re-imported patches from rawhide.

+ 6 - 2
g/gdb/gdb-vl.spec

@@ -1,8 +1,8 @@
 Summary: A GNU source-level debugger for C, C++ and other languages.
 Summary: A GNU source-level debugger for C, C++ and other languages.
 Summary(ja): C, C++ その他の言語用 GNU ソースレベルデバッガ
 Summary(ja): C, C++ その他の言語用 GNU ソースレベルデバッガ
 Name: gdb
 Name: gdb
-Version: 12.1
-Release: 2%{?_dist_release}
+Version: 13.2
+Release: 1%{?_dist_release}
 Group: programming
 Group: programming
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
@@ -62,6 +62,7 @@ cd build
 #rm -f $RPM_BUILD_ROOT%{_infodir}/dir.info* 
 #rm -f $RPM_BUILD_ROOT%{_infodir}/dir.info* 
 rm -f $RPM_BUILD_ROOT%{_infodir}/bfd*
 rm -f $RPM_BUILD_ROOT%{_infodir}/bfd*
 rm -f $RPM_BUILD_ROOT%{_infodir}/configure*
 rm -f $RPM_BUILD_ROOT%{_infodir}/configure*
+rm -r $RPM_BUILD_ROOT%{_infodir}/sframe-spec.info*
 rm -f $RPM_BUILD_ROOT%{_infodir}/standard*
 rm -f $RPM_BUILD_ROOT%{_infodir}/standard*
 rm -r $RPM_BUILD_ROOT%{_libdir}/lib{bfd*,opcodes*}
 rm -r $RPM_BUILD_ROOT%{_libdir}/lib{bfd*,opcodes*}
 rm -f $RPM_BUILD_ROOT%{_localedir}/*/LC_MESSAGES/{bfd.mo,opcodes.mo}
 rm -f $RPM_BUILD_ROOT%{_localedir}/*/LC_MESSAGES/{bfd.mo,opcodes.mo}
@@ -103,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 
 
 %changelog
 %changelog
+* Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.2-1
+- new upstream release.
+
 * Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.1-2
 * Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.1-2
 - rebuilt with python3-3.11.
 - rebuilt with python3-3.11.
 
 

+ 13 - 3
g/glibc/glibc-vl.spec

@@ -2,7 +2,7 @@
 %bcond_with systemd
 %bcond_with systemd
 
 
 # To build compat32-glibc, pass "--target i686" to rpmbuild on x86_64.
 # To build compat32-glibc, pass "--target i686" to rpmbuild on x86_64.
-%if "%{_target_cpu}" != "%(uname -p)"
+%if "%{_target_cpu}" != "%(arch)"
 %global _sourcedir %{_topdir}/SOURCES/glibc
 %global _sourcedir %{_topdir}/SOURCES/glibc
 %define build_compat32 1
 %define build_compat32 1
 %define compat32_prefix compat32-
 %define compat32_prefix compat32-
@@ -11,7 +11,7 @@
 %define build_compat32 0
 %define build_compat32 0
 %endif
 %endif
 
 
-%define glibcversion 2.36
+%define glibcversion 2.38
 %define glibcsrcdir glibc-%{glibcversion}
 %define glibcsrcdir glibc-%{glibcversion}
 
 
 Summary: The GNU libc libraries
 Summary: The GNU libc libraries
@@ -65,7 +65,7 @@ rpm.define("__debug_install_post bash " .. wrapper
 %undefine _unique_build_ids
 %undefine _unique_build_ids
 
 
 # patch from upstream
 # patch from upstream
-Patch0: glibc-2.36-20221206.patch
+Patch0: glibc-2.38-20231006.patch
 
 
 # patches from Fedora
 # patches from Fedora
 Patch4: glibc-fedora-linux-tcsetattr.patch
 Patch4: glibc-fedora-linux-tcsetattr.patch
@@ -75,6 +75,7 @@ Patch13: glibc-fedora-localedata-rh61908.patch
 # remove /bin from CS_PATH
 # remove /bin from CS_PATH
 #Patch17: glibc-cs-path.patch
 #Patch17: glibc-cs-path.patch
 Patch23: glibc-python3.patch
 Patch23: glibc-python3.patch
+Patch24: glibc-disable-werror-tst-realloc.patch
 
 
 # patch for Vine
 # patch for Vine
 Patch1000: glibc-fedora-locarchive.patch
 Patch1000: glibc-fedora-locarchive.patch
@@ -1781,6 +1782,15 @@ rm -f *.filelist*
 
 
 
 
 %changelog
 %changelog
+* Fri Oct 06 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-3
+- updated Patch0.
+
+* Thu Sep 28 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-2
+- updated Patch0.
+
+* Thu Sep 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-1
+- updated to 2.38.
+
 * Tue Dec 06 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.36-3
 * Tue Dec 06 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.36-3
 - updated Patch0.
 - updated Patch0.
 - added "--hash-style=both".
 - added "--hash-style=both".

+ 5 - 4
g/gmp/gmp-vl.spec

@@ -18,8 +18,8 @@
 Summary: A GNU arbitrary precision library.
 Summary: A GNU arbitrary precision library.
 Summary(ja): GNU 多倍長演算ライブラリ
 Summary(ja): GNU 多倍長演算ライブラリ
 Name: gmp
 Name: gmp
-Version: 6.2.1
-Release: 3%{?_dist_release}
+Version: 6.3.0
+Release: 1%{?_dist_release}
 Group: system
 Group: system
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
@@ -31,7 +31,6 @@ Source: https://gmplib.org/download/gmp/gmp-%{version}.tar.xz
 Source2: gmp.h
 Source2: gmp.h
 Source3: gmp-mparam.h
 Source3: gmp-mparam.h
 Patch2: gmp-6.0.0-debuginfo.patch
 Patch2: gmp-6.0.0-debuginfo.patch
-Patch1000: CVE-2021-43618.patch
 
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: autoconf libtool
 BuildRequires: autoconf libtool
@@ -126,7 +125,6 @@ in applications.
 %prep
 %prep
 %setup -q
 %setup -q
 %patch2 -p1 -b .debuginfo
 %patch2 -p1 -b .debuginfo
-%patch1000 -p1
 
 
 
 
 %build
 %build
@@ -282,6 +280,9 @@ cd ..
 
 
 
 
 %changelog
 %changelog
+* Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.3.0-1
+- new upstream release.
+
 * Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.2.1-3
 * Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.2.1-3
 - rebuilt with current environment.
 - rebuilt with current environment.
 
 

+ 16 - 21
lib/libm/libmpc/libmpc-vl.spec

@@ -1,15 +1,14 @@
 Summary: C library for multiple precision complex arithmetic
 Summary: C library for multiple precision complex arithmetic
 Name: libmpc
 Name: libmpc
-Version: 1.1.0
+Version: 1.3.1
 Release: 1%{?_dist_release}
 Release: 1%{?_dist_release}
-Group: System Environment/Libraries
-
+Group: system
 Vendor: Project Vine 
 Vendor: Project Vine 
 Distribution: Vine Linux
 Distribution: Vine Linux
 
 
 License: LGPLv3+
 License: LGPLv3+
 URL: http://www.multiprecision.org/
 URL: http://www.multiprecision.org/
-Source0: https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz
+Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gmp-devel >= 4.3.2
 BuildRequires: gmp-devel >= 4.3.2
 BuildRequires: mpfr-devel >= 2.4.2
 BuildRequires: mpfr-devel >= 2.4.2
@@ -21,21 +20,25 @@ MPC is a C library for the arithmetic of complex numbers with
 arbitrarily high precision and correct rounding of the result. It is
 arbitrarily high precision and correct rounding of the result. It is
 built upon and follows the same principles as Mpfr.
 built upon and follows the same principles as Mpfr.
 
 
+
 %package devel
 %package devel
 Summary: Header and shared development libraries for MPC
 Summary: Header and shared development libraries for MPC
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: %{name} = %{version}-%{release}
 Requires: gmp-devel
 Requires: gmp-devel
 Requires: mpfr-devel
 Requires: mpfr-devel
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
 
 
 %description devel
 %description devel
 Header files and shared object symlinks for MPC is a C library.
 Header files and shared object symlinks for MPC is a C library.
 
 
+
+%debug_package
+
+
 %prep
 %prep
 %setup -q -n mpc-%{version}
 %setup -q -n mpc-%{version}
 
 
+
 %build
 %build
 export CPPFLAGS="%{optflags} -std=gnu99"
 export CPPFLAGS="%{optflags} -std=gnu99"
 export CFLAGS="%{optflags} -std=gnu99"
 export CFLAGS="%{optflags} -std=gnu99"
@@ -44,9 +47,11 @@ export EGREP=egrep
 %configure --disable-static
 %configure --disable-static
 make %{?_smp_mflags}
 make %{?_smp_mflags}
 
 
+
 %check
 %check
 make check
 make check
 
 
+
 %install
 %install
 rm -rf %{buildroot}
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 make install DESTDIR=%{buildroot}
@@ -57,20 +62,6 @@ rm -f %{buildroot}/%{_infodir}/dir
 %clean
 %clean
 rm -rf %{buildroot}
 rm -rf %{buildroot}
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%post devel
-if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
-   /sbin/install-info %{_infodir}/mpc.info.gz %{_infodir}/dir || :
-fi
-
-%preun devel
-if [ $1 = 0 ]; then
-   if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
-      /sbin/install-info --delete %{_infodir}/mpc.info.gz %{_infodir}/dir || :
-   fi
-fi
 
 
 %files
 %files
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
@@ -84,7 +75,11 @@ fi
 %{_includedir}/mpc.h
 %{_includedir}/mpc.h
 %{_infodir}/*.info*
 %{_infodir}/*.info*
 
 
+
 %changelog
 %changelog
+* Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-1
+- new upstream release.
+
 * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.0-1
 * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.0-1
 - new upstream release.
 - new upstream release.
 
 

+ 6 - 1
lib/libn/libnsl2/libnsl2-vl.spec

@@ -2,7 +2,7 @@
 
 
 Summary:      Public client interface library for NIS(YP) and NIS+
 Summary:      Public client interface library for NIS(YP) and NIS+
 Name:         libnsl2
 Name:         libnsl2
-Version:      2.0.0
+Version:      2.0.1
 Release:      1%{?_dist_release}
 Release:      1%{?_dist_release}
 Group:        system
 Group:        system
 Vendor:       Project Vine
 Vendor:       Project Vine
@@ -88,6 +88,11 @@ rm %{buildroot}/%{_libdir}/libnsl.la
 
 
 
 
 %changelog
 %changelog
+* Mon Oct 16 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.1-1
+
+* Sat Sep 23 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-2
+- rebuilt with current toolchain.
+
 * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
 * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
 - new upstream release.
 - new upstream release.
 
 

+ 11 - 2
lib/libt/libtool/libtool-vl.spec

@@ -1,12 +1,12 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
 
-%define gcc_version 12.2.1
+%define gcc_version 13.2.1
 
 
 Summary: The GNU Portable Library Tool
 Summary: The GNU Portable Library Tool
 Summary(ja): GNU ポータブルライブラリツール
 Summary(ja): GNU ポータブルライブラリツール
 Name:    libtool
 Name:    libtool
 Version: 2.4.7
 Version: 2.4.7
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: programming
 Group: programming
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
@@ -39,6 +39,12 @@ Patch3: libtool-2.4.6-disable_non-pic_arm.patch
 # https://lists.gnu.org/archive/html/libtool-patches/2022-02/msg00000.html
 # https://lists.gnu.org/archive/html/libtool-patches/2022-02/msg00000.html
 Patch4: libtool-2.4.6-keep-compiler-deps.patch
 Patch4: libtool-2.4.6-keep-compiler-deps.patch
 
 
+# Patch sent upstream
+# https://lists.gnu.org/archive/html/libtool-patches/2022-12/msg00004.html
+Patch5: 0001-tests-Fix-grep-warning-about-stray-before.patch
+
+Patch101: libtool-c99.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 
 BuildRequires: autoconf >= 2.59, automake >= 1.9.2, texinfo, help2man
 BuildRequires: autoconf >= 2.59, automake >= 1.9.2, texinfo, help2man
@@ -212,6 +218,9 @@ rm -rf %{buildroot}
 
 
 
 
 %changelog
 %changelog
+* Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-2
+- rebuilt with gcc-13.2.1.
+
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1
 - new upstream release.
 - new upstream release.
 - dropped install-info scriptltes.
 - dropped install-info scriptltes.

+ 4 - 1
lib/libx/libxcrypt/libxcrypt-vl.spec

@@ -7,7 +7,7 @@
 
 
 Name:           libxcrypt
 Name:           libxcrypt
 Summary:        Extended crypt library for descrypt, md5crypt, bcrypt, and others
 Summary:        Extended crypt library for descrypt, md5crypt, bcrypt, and others
-Version:        4.4.24
+Version:        4.4.36
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          system
 Group:          system
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -384,6 +384,9 @@ done
 
 
 
 
 %changelog
 %changelog
+* Sat Sep 23 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.36-1
+- new upstream release.
+
 * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.24-1
 * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.4.24-1
 - new upstream release.
 - new upstream release.
 
 

+ 4 - 13
m/mpfr/mpfr-vl.spec

@@ -1,6 +1,6 @@
 Summary: A C library for multiple-precision floating-point computations
 Summary: A C library for multiple-precision floating-point computations
 Name: mpfr
 Name: mpfr
-Version: 4.1.0
+Version: 4.2.1
 Release: 1%{?_dist_release}
 Release: 1%{?_dist_release}
 Group: system
 Group: system
 Vendor: Project Vine 
 Vendor: Project Vine 
@@ -75,18 +75,6 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
 make %{?_smp_mflags} check
 make %{?_smp_mflags} check
 
 
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-%post devel
-/sbin/install-info %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
-
-%preun devel
-if [ "$1" = 0 ]; then
-   /sbin/install-info --delete %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
-fi
-
-
 %clean
 %clean
 rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
@@ -107,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 
 
 %changelog
 %changelog
+* Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-1
+- new upstream release.
+
 * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.0-1
 * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.0-1
 - new upstream release.
 - new upstream release.
 - dropped Patch0: fixed in upstream.
 - dropped Patch0: fixed in upstream.

+ 42 - 5
v/valgrind/valgrind-vl.spec

@@ -29,7 +29,7 @@
 Summary:        Tool for finding memory management bugs in programs
 Summary:        Tool for finding memory management bugs in programs
 Summary(ja):    プログラムのメモリ管理バグを発見するためのツール
 Summary(ja):    プログラムのメモリ管理バグを発見するためのツール
 Name:           valgrind
 Name:           valgrind
-Version:        3.19.0
+Version:        3.21.0
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          programming
 Group:          programming
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -51,11 +51,44 @@ Patch3: valgrind-3.16.0-some-stack-protector.patch
 # Add some -Wl,z,now.
 # Add some -Wl,z,now.
 Patch4: valgrind-3.16.0-some-Wl-z-now.patch
 Patch4: valgrind-3.16.0-some-Wl-z-now.patch
 
 
-# KDE#434764 # iconv_open causes ld.so v2.28+ to execute optimised strncmp
-Patch5: valgrind-3.19.0-ld-so-strncmp.patch
+# Workaround https://bugs.kde.org/show_bug.cgi?id=402833
+# by disabling overlap checking for memcpy
+Patch5: valgrind-3.21.0-no-memcpy-replace-check.patch
 
 
-# KDE#454040 s390x: False-positive memcheck:cond in memmem on arch13 systems
-Patch6: valgrind-3.19.0-s390x-memmem.patch
+# Add --with-gdbscripts-dir=PATH configure option
+# https://bugs.kde.org/show_bug.cgi?id=469768
+Patch6: valgrind-3.21.0-Add-with-gdbscripts-dir.patch
+
+# Add epoll_pwait2
+# https://bugs.kde.org/show_bug.cgi?id=460192
+Patch7: valgrind-3.21.0-epoll_pwait2.patch
+
+# Can't run callgrind_control with valgrind 3.21.0 because of perl errors
+# https://bugs.kde.org/show_bug.cgi?id=470121
+Patch8: valgrind-3.21.0-callgrind_control-no-strict.patch
+
+# Multiple realloc zero errors crash in MC_(eq_Error)
+# https://bugs.kde.org/show_bug.cgi?id=470520
+Patch9: valgrind-3.21.0-realloc-again.patch
+
+# s390x: Assertion failure on VGM instruction
+# https://bugs.kde.org/show_bug.cgi?id=470132
+Patch10: valgrind-3.21.0-vgm.patch
+Patch11: valgrind-3.21.0-vgm-tests.patch
+
+# s390x: Valgrind cannot start qemu-kvm when "sysctl vm.allocate_pgste=0"
+# https://bugs.kde.org/show_bug.cgi?id=470978
+Patch12: valgrind-3.21.0-pgste.patch
+
+# gdb --multi mode stdout redirecting to stderr
+# https://bugs.kde.org/show_bug.cgi?id=471311
+Patch13: valgrind-3.21.0-gdb-multi-mode-stdout-redirecting-to-stderr.patch
+
+# Add support for lazy reading and downloading of DWARF debuginfo
+# https://bugs.kde.org/show_bug.cgi?id=471807
+# Plus fixup commit a0d555a0dfe078ef04ea49d991a8090ab14bd4a5
+Patch14: valgrind-3.21.0-lazy-debuginfo.patch
+Patch15: valgrind-3.21.0-cleanup-read_elf_object.patch
 
 
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
 %if %{build_multilib}
 %if %{build_multilib}
@@ -368,6 +401,10 @@ echo ===============END TESTING===============
 
 
 
 
 %changelog
 %changelog
+* Sat Sep 23 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.21.0-1
+- new upstream release.
+- re-imported all patches from rawhide.
+
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.19.0-1
 * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.19.0-1
 - new upstream release.
 - new upstream release.
 - re-imported all patches from rawhide.
 - re-imported all patches from rawhide.