Browse Source

updated 10 packages

binutils-2.42-1

elfutils-0.191-1

gcc-14.1.1-1

gdb-14.2-1

glibc-2.39-1

gmp-6.3.0-2

libmpc-1.3.1-2

libtool-2.4.7-3

mpfr-4.2.1-2

vine-rpm-macros-8-1
Tomohiro "Tomo-p" KATO 9 months ago
parent
commit
744992d244

+ 36 - 13
b/binutils/binutils-vl.spec

@@ -11,6 +11,9 @@
 
 #---Start of Configure Options-----------------------------------------------
 
+# Create shared libraries.
+%define enable_shared 1
+
 # Create deterministic archives (ie ones without timestamps).
 # Default is off because of BZ 1195883.
 %define enable_deterministic_archives 0
@@ -53,7 +56,6 @@
 
 %define binutils_target %{_target_platform}
 %define isnative 1
-%define enable_shared 1
 
 %undefine _strict_symbol_defs_build
 %undefine __brp_strip_static_archive
@@ -65,7 +67,7 @@
 Summary:        A GNU collection of binary utilities.
 Summary(ja):    GNU 版バイナリユーティリティ集
 Name:           binutils
-Version:        2.41
+Version:        2.42
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -82,7 +84,7 @@ Source2:        binutils-2.19.50.0.1-output-format.sed
 
 #----------------------------------------------------------------------------
 
-Patch00: binutils-%{version}-20230920.patch
+Patch00: binutils-%{version}-20240605.patch
 
 # Purpose:  Use /lib64 and /usr/lib64 instead of /lib and /usr/lib in the
 #           default library search path of 64-bit targets.
@@ -133,12 +135,12 @@ Patch06: binutils-2.27-aarch64-ifunc.patch
 Patch07: binutils-do-not-link-with-static-libstdc++.patch
 
 # Purpose:  Allow OS specific sections in section groups.
-# Lifetime: Fixed in 2.42 (maybe)
+# Lifetime: Fixed in 2.43 (maybe)
 Patch08: binutils-special-sections-in-groups.patch
 
 # Purpose:  Stop gold from aborting when input sections with the same name
 #            have different flags.
-# Lifetime: Fixed in 2.42 (maybe)
+# Lifetime: Fixed in 2.43 (maybe)
 Patch09: binutils-gold-mismatched-section-flags.patch
 
 # Purpose:  Change the gold configuration script to only warn about
@@ -154,7 +156,7 @@ Patch11: binutils-gold-i386-gnu-property-notes.patch
 
 # Purpose:  Allow the binutils to be configured with any (recent) version of
 #            autoconf.
-# Lifetime: Fixed in 2.42 (maybe ?)
+# Lifetime: Fixed in 2.43 (maybe ?)
 Patch12: binutils-autoconf-version.patch
 
 # Purpose:  Stop libtool from inserting useless runpaths into binaries.
@@ -168,7 +170,7 @@ Patch14: binutils-update-linker-manual.patch
 %endif
 
 # Purpose:  Stop an abort when using dwp to process a file with no dwo links.
-# Lifetime: Fixed in 2.42 (maybe)
+# Lifetime: Fixed in 2.43 (maybe)
 Patch15: binutils-gold-empty-dwp.patch
 
 # Purpose:  Fix binutils testsuite failures.
@@ -179,9 +181,21 @@ Patch16: binutils-testsuite-fixes.patch
 # Lifetime: Permanent, but varies with each rebase.
 Patch17: binutils-riscv-testsuite-fixes.patch
 
-# Purpose:  Fix the GOLD linker's handling of 32-bit PowerPC binaries.
-# Lifetime: Fixed in 2.42
-#Patch18: binutils-gold-powerpc.patch
+# Purpose:  Make the GOLD linker ignore the "-z pack-relative-relocs" command line option.
+# Lifetime: Fixed in 2.43 (maybe)
+Patch18: binutils-gold-pack-relative-relocs.patch
+
+# Purpose:  Let the gold lihnker ignore --error-execstack and --error-rwx-segments.
+# Lifetime: Fixed in 2.43 (maybe)
+Patch19: binutils-gold-ignore-execstack-error.patch
+
+# Purpose:  Fix the ar test of non-deterministic archives.
+# Lifetime: Fixed in 2.43
+Patch20: binutils-fix-ar-test.patch
+
+# Purpose:  Suppress the x86 linker's p_align-1 tests due to kernel bug on CentOS-10
+# Lifetime: TEMPORARY
+Patch99: binutils-suppress-ld-align-tests.patch
 
 #----------------------------------------------------------------------------
 
@@ -195,11 +209,11 @@ Patch17: binutils-riscv-testsuite-fixes.patch
 %endif
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: texinfo >= 4.0, gettext, flex, bison, zlib-devel
+BuildRequires: texinfo >= 4.0, gettext, flex, bison, pkgconfig(zlib)
 # Required for: ld-bootstrap/bootstrap.exp bootstrap with --static
 # It should not be required for: ld-elf/elf.exp static {preinit,init,fini} array
 %if %{with testsuite}
-BuildRequires: dejagnu, zlib-static, glibc-devel, sharutils
+BuildRequires: dejagnu, glibc-devel, sharutils, bc, libstdc++
 #BuildRequires: dejagnu, zlib-static, glibc-static, sharutils
 %endif
 Conflicts: gcc-c++ < 4.0.0
@@ -250,7 +264,7 @@ strings (ファイルから表示可能な文字列を表示する)、strip (シ
 Summary: BFD and opcodes static libraries and header files
 Group: programming
 Conflicts: binutils < 2.17.50.0.3-4
-Requires: zlib-devel
+Requires: pkgconfig(zlib)
 
 %description devel
 This package contains BFD and opcodes static libraries and associated
@@ -357,6 +371,10 @@ CARGS="$CARGS --enable-targets=x86_64-pep,bpf-unknown-none"
   CARGS="$CARGS --enable-relro=no"
 %endif
 
+CARGS="$CARGS --enable-warn-execstack=yes"
+CARGS="$CARGS --enable-default-execstack=no"
+CARGS="$CARGS --enable-warn-rwx-segments=yes"
+
 # We could optimize the cross builds size by --enable-shared but the produced
 # binaries may be less convenient in the embedded environment.
 %configure \
@@ -699,6 +717,11 @@ exit 0
 
 
 %changelog
+* Sat Jun 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.42-1
+- updated to 2.42.
+- updated Patch00.
+- re-imported patches from rawhide.
+
 * Thu Sep 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.41-1
 - updated to 2.41.
 - updated Patch00.

+ 6 - 2
e/elfutils/elfutils-vl.spec

@@ -5,7 +5,7 @@
 Summary: A collection of utilities and DSOs to handle compiled objects
 Summary(ja): コンパイル済みオブジェクトを扱うためのユーティリティ集
 Name: elfutils
-Version:        0.189
+Version:        0.191
 Release:        1%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -27,7 +27,7 @@ BuildRequires: m4
 BuildRequires: bzip2-devel
 BuildRequires: libzstd-devel
 BuildRequires: xz-devel
-BuildRequires: zlib-devel
+BuildRequires: pkgconfig(zlib)
 # Need <byteswap.h> that gives unsigned bswap_16 etc.
 BuildRequires: glibc-headers >= 2.3.4-11
 BuildRequires: bzip2
@@ -247,6 +247,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_bindir}/eu-ranlib
 %{_bindir}/eu-readelf
 %{_bindir}/eu-size
+%{_bindir}/eu-srcfiles
 %{_bindir}/eu-stack
 %{_bindir}/eu-strings
 %{_bindir}/eu-strip
@@ -311,6 +312,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.191-1
+- new upstream release.
+
 * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.189-1
 - new upstream release.
 

+ 44 - 30
g/gcc/gcc-vl.spec

@@ -1,8 +1,8 @@
 %bcond_with check
 
 # version of tarball
-%global gcc_version 13.2.0
-%global gcc_major 13
+%global gcc_version 14.1.0
+%global gcc_major 14
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
 %global gcc_release 1
@@ -10,7 +10,7 @@
 Summary:        GNU Compiler Collection (C, C++, Objective-C, ...)
 Summary(ja):    GNU コンパイラコレクション (C, C++, Objective-C, ...)
 Name:           gcc
-Version:        13.2.1
+Version:        14.1.1
 Release:        %{gcc_release}%{?_dist_release}
 Group:          programming
 Vendor:         Project Vine
@@ -35,7 +35,7 @@ Source3:        https://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.ta
 %global build_java 0
 %ifarch %{ix86} x86_64 %{arm}
 %global build_go 1
-%global go_soversion 22
+%global go_soversion 23
 %else
 %global build_go 0
 %endif
@@ -127,7 +127,7 @@ BuildRequires: binutils >= 2.31
 # While gcc doesn't include statically linked binaries, during testing
 # -static is used several times.
 BuildRequires: glibc-static
-BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
+BuildRequires: pkgconfig(zlib), gettext, dejagnu, bison, flex, texinfo, sharutils
 ##VINE##TODO## BuildRequires: systemtap-sdt-devel >= 1.3
 # For VTA guality testing
 BuildRequires: gdb
@@ -210,26 +210,27 @@ Obsoletes: libcilkrts-static < %{version}
 Obsoletes: libmpx < %{version}
 Obsoletes: libmpx-static < %{version}
 %endif
-Provides: gcc4 = %{version}-%{release}
+Provides: gcc(major) = %{gcc_major}
 AutoReq: true
 
-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
+Patch0: gcc14-hack.patch
+Patch2: gcc14-sparc-config-detection.patch
+Patch3: gcc14-libgomp-omp_h-multilib.patch
+Patch4: gcc14-libtool-no-rpath.patch
+Patch5: gcc14-isl-dl.patch
+Patch6: gcc14-isl-dl2.patch
+Patch7: gcc14-libstdc++-docs.patch
+Patch8: gcc14-no-add-needed.patch
+Patch9: gcc14-Wno-format-security.patch
+Patch10: gcc14-rh1574936.patch
+Patch11: gcc14-d-shared-libphobos.patch
+Patch12: gcc14-pr101523.patch
 
 Patch50: isl-rh2155127.patch
 
-Patch100: gcc13-fortran-fdec-duplicates.patch
+Patch100: gcc14-fortran-fdec-duplicates.patch
 
-Patch10000: gcc-13.2-20230921.patch
+Patch10000: gcc-14.1-20240607.patch
 
 # On ARM EABI systems, we do want -gnueabi to be part of the
 # target triple.
@@ -1008,12 +1009,15 @@ Go dynamically linked programs.
 %patch -P9 -p0 -b .Wno-format-security~
 %patch -P10 -p0 -b .rh1574936~
 %patch -P11 -p0 -b .d-shared-libphobos~
+%patch -P12 -p1 -b .pr101523~
 
 %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~
 
+rm -f libphobos/testsuite/libphobos.gc/forkgc2.d
+
 echo 'Vine Linux %{version}-%{gcc_release}' > gcc/DEV-PHASE
 
 cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
@@ -1023,6 +1027,7 @@ cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
 LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
 
 sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt
+sed -i -e 's/context->report_bug = false;/context->report_bug = true;/' gcc/diagnostic.cc
 
 # This test causes fork failures, because it spawns way too many threads
 rm -f gcc/testsuite/go.test/test/chan/goroutines.go
@@ -1035,11 +1040,16 @@ export CONFIG_SITE=NONE
 CC=gcc
 CXX=g++
 
-OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
+OPT_FLAGS="%{optflags}"
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=[123]//g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[123]//g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/\(-Wp,\)\?-U_FORTIFY_SOURCE//g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-flto=auto//g;s/-flto//g;s/-ffat-lto-objects//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-flto=auto//g;s/-flto//g;s/-ffat-lto-objects//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fno-omit-frame-pointer//g;s/-mbackchain//g;s/-mno-omit-leaf-frame-pointer//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
 
 %ifarch %{ix86}
@@ -1121,6 +1131,7 @@ CONFIGURE_OPTS="\
 	--with-arch=i686 \
 %endif
 %ifarch x86_64
+	--with-arch_64=x86-64-v2 \
 	--with-arch_32=i686 \
 %endif
 	--build=%{gcc_target_platform} \
@@ -1471,7 +1482,6 @@ fi
 mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*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}/libgfortran.*a $FULLLPATH/
 %if %{build_objc}
@@ -1511,7 +1521,6 @@ mv -f %{buildroot}%{_prefix}/%{_lib}/libgolibbegin.*a $FULLLPATH/
 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++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/libgfortran.*a $FULLLPATH/32/
 rm -f %{buildroot}%{_prefix}/lib/libssp.a
@@ -1626,8 +1635,6 @@ ln -sf ../lib32/libstdc++fs.a 32/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 lib64/libsupc++.a libsupc++.a
 %if %{build_libquadmath}
@@ -1671,7 +1678,6 @@ ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libgfo
 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++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
 %if %{build_libquadmath}
 ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_major}/libquadmath.a 32/libquadmath.a
@@ -1717,7 +1723,7 @@ for d in . $FULLLSUBDIR; do
 		-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 libsupc++.a \
 		-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/
   done
@@ -2015,6 +2021,7 @@ fi
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stdnoreturn.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stdatomic.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/gcov.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stdckdint.h
 %ifarch %{ix86} x86_64
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/mmintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/xmmintrin.h
@@ -2120,6 +2127,12 @@ fi
 %{_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
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512bitalgvlintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxvnniint16intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/sha512intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/sm3intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/sm4intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/usermsrintrin.h
 %endif
 %ifarch ia64
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h
@@ -2347,7 +2360,6 @@ fi
 %{_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++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
 %endif
 %ifarch sparcv9 ppc %{multilib_64_archs}
@@ -2389,18 +2401,15 @@ fi
 %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++exp.a
-%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib32/libstdc++_libbacktrace.a
 %endif
 %ifarch sparc64 ppc64 ppc64p7
 %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++exp.a
-%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/lib64/libstdc++_libbacktrace.a
 %endif
 %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++exp.a
-%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/libstdc++_libbacktrace.a
 %endif
 %doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
 
@@ -3014,6 +3023,11 @@ fi
 
 
 %changelog
+* Sat Jun 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.1.1-1
+- updated tarball to 14.1.0.
+- re-imported patches from rawhide.
+- imported Patch10000 from upstream (14.1.1).
+
 * 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.

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

@@ -1,7 +1,7 @@
 Summary: A GNU source-level debugger for C, C++ and other languages.
 Summary(ja): C, C++ その他の言語用 GNU ソースレベルデバッガ
 Name: gdb
-Version: 13.2
+Version: 14.2
 Release: 1%{?_dist_release}
 Group: programming
 Vendor: Project Vine
@@ -14,8 +14,8 @@ Source: https://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: ncurses-devel glibc-devel gcc make gzip texinfo expat-devel
 BuildRequires: python3-devel python3-rpm-macros
-BuildRequires: gmp-devel
-BuildRequires: zlib-devel
+BuildRequires: gmp-devel, mpfr-devel
+BuildRequires: pkgconfig(zlib)
 
 %description
 GDB, the GNU debugger, allows you to debug programs written in C, C++,
@@ -104,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.2-1
+- new upstream release.
+
 * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 13.2-1
 - new upstream release.
 

+ 189 - 113
g/glibc/glibc-vl.spec

@@ -5,21 +5,19 @@
 %if "%{_target_cpu}" != "%(arch)"
 %global _sourcedir %{_topdir}/SOURCES/glibc
 %define build_compat32 1
-%define compat32_prefix compat32-
-%define compat32_group ,legacy
 %else
 %define build_compat32 0
 %endif
 
-%define glibcversion 2.38
+%define glibcversion 2.39
 %define glibcsrcdir glibc-%{glibcversion}
 
 Summary: The GNU libc libraries
 Summary(ja): GNU libc ライブラリ
-Name: %{?compat32_prefix}glibc
+Name: glibc
 Version: %{glibcversion}
-Release: 3%{?_dist_release}%{?with_systemd:.systemd}
-Group: system%{?compat32_group}
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
+Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
@@ -65,7 +63,7 @@ rpm.define("__debug_install_post bash " .. wrapper
 %undefine _unique_build_ids
 
 # patch from upstream
-Patch0: glibc-2.38-20231006.patch
+Patch0: glibc-%{version}-20240605.patch
 
 # patches from Fedora
 Patch4: glibc-fedora-linux-tcsetattr.patch
@@ -75,7 +73,7 @@ Patch13: glibc-fedora-localedata-rh61908.patch
 # remove /bin from CS_PATH
 #Patch17: glibc-cs-path.patch
 Patch23: glibc-python3.patch
-Patch24: glibc-disable-werror-tst-realloc.patch
+Patch78: glibc-RHEL-22226.patch
 
 # patch for Vine
 Patch1000: glibc-fedora-locarchive.patch
@@ -133,7 +131,7 @@ Obsoletes: glibc-profile < 2.4
 Requires(pre): basesystem, libgcc
 # This is for building auxiliary programs like memusage, nscd
 # For initial glibc bootstraps it can be commented out
-BuildRequires: gd-devel libpng-devel zlib-devel texinfo
+BuildRequires: gd-devel libpng-devel pkgconfig(zlib) texinfo
 BuildRequires: audit-libs-devel >= 1.1.3, sed >= 3.95, libcap-devel, gettext, nss-devel
 BuildRequires: python3-devel
 BuildRequires: bison
@@ -225,7 +223,7 @@ Install glibc-xen if you might run your system under the Xen hypervisor.
 %package devel
 Summary: Object files for development using standard C libraries.
 Summary(ja): 標準 C ライブラリで使われるオブジェクトファイル
-Group: programming{?compat32_group}
+Group: programming
 Requires: %{name} = %{version}-%{release}
 %if %{build_compat32}
 Requires: glibc-devel >= %{version}-%{release}
@@ -258,7 +256,7 @@ glibc-devel パッケージには (ほとんどすべてのプログラムで使
 %package static
 Summary: C library static libraries for -static linking.
 Summary(ja): -static リンクのための静的 C ライブラリ
-Group: programming{?compat32_group}
+Group: programming
 Requires: %{name}-devel = %{version}-%{release}
 
 %description static
@@ -401,6 +399,46 @@ xtrace (関数呼出しトレーサ)。
 これらが必要かどうか分からない場合は、インストールする必要はありません。
 
 
+%if %{build_compat32}
+%package -n compat32-glibc
+Summary: The GNU libc libraries (32bit)
+Summary(ja): GNU libc ライブラリ (32ビット)
+Group: system,legacy
+
+%description -n compat32-glibc
+This package contains the GNU libc for 32bit.
+
+%description -n compat32-glibc -l ja
+このパッケージはGNU libcの32bit版を収録しています。
+
+
+%package -n compat32-glibc-devel
+Summary: Object files for development using standard C libraries (32bit).
+Summary(ja): 標準 C ライブラリで使われるオブジェクトファイル (32ビット)
+Group: programming,legacy
+Requires: compat32-glibc = %{version}-%{release}
+
+%description -n compat32-glibc-devel
+This package contains the 32bit version of development files for GNU libc.
+
+%description -n compat32-glibc-devel -l ja
+このパッケージはGNU libcを用いた開発に必要なファイルの32bit版を収録しています。
+
+
+%package -n compat32-glibc-static
+Summary: C library static libraries for -static linking (32bit).
+Summary(ja): -static リンクのための静的 C ライブラリ (32ビット)
+Group: programming,legacy
+Requires: compat32-glibc-devel = %{version}-%{release}
+
+%description -n compat32-glibc-static
+This package contains the 32bit version of static library for GNU libc.
+
+%description -n compat32-glibc-devel -l ja
+このパッケージはGNU libcの静的ライブラリの32bit版を収録しています。
+%endif
+
+
 %debug_package
 
 
@@ -440,73 +478,97 @@ cp -f %{SOURCE1000} ./
 GCC=gcc
 GXX=g++
 
-# Part of rpm_inherit_flags.  Is overridden below.
-rpm_append_flag ()
-{
-    BuildFlags="$BuildFlags $*"
-}
-
-# Propagates the listed flags to rpm_append_flag if supplied by
-# redhat-rpm-config.
-BuildFlags="-O2 -g"
-rpm_inherit_flags ()
-{
-	local reference=" $* "
-	local flag
-	for flag in $RPM_OPT_FLAGS $RPM_LD_FLAGS ; do
-		if echo "$reference" | grep -q -F " $flag " ; then
-			rpm_append_flag "$flag"
-		fi
-	done
-}
-
 # Propgate select compiler flags from redhat-rpm-config.  These flags
 # are target-dependent, so we use only those which are specified in
 # redhat-rpm-config.  We keep the -m32/-m32/-m64 flags to support
 # multilib builds.
-#
-# Note: For building alternative run-times, care is required to avoid
-# overriding the architecture flags which go into CC/CXX.  The flags
-# below are passed in CFLAGS.
-
-rpm_inherit_flags \
-	"-Wp,-D_GLIBCXX_ASSERTIONS" \
-	"-fasynchronous-unwind-tables" \
-	"-fstack-clash-protection" \
-	"-fno-omit-frame-pointer" \
-	"-funwind-tables" \
-	"-m31" \
-	"-m32" \
-	"-m64" \
-	"-march=armv8-a+lse" \
-	"-march=armv8.1-a" \
-	"-march=haswell" \
-	"-march=i686" \
-	"-march=x86-64" \
-	"-march=x86-64-v2" \
-	"-march=x86-64-v3" \
-	"-march=x86-64-v4" \
-	"-march=z13" \
-	"-march=z14" \
-	"-march=z15" \
-	"-march=zEC12" \
-	"-mbranch-protection=standard" \
-	"-mcpu=power10" \
-	"-mcpu=power8" \
-	"-mcpu=power9" \
-	"-mfpmath=sse" \
-	"-mno-omit-leaf-frame-pointer" \
-	"-msse2" \
-	"-mstackrealign" \
-	"-mtune=generic" \
-	"-mtune=power10" \
-	"-mtune=power8" \
-	"-mtune=power9" \
-	"-mtune=z13" \
-	"-mtune=z14" \
-	"-mtune=z15" \
-	"-mtune=zEC12" \
-	"-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" \
+
+%{lua:
+-- Split the string argument into keys of an associate array.
+-- The values are set to true.
+local function string_to_array(s)
+    local result = {}
+    for e in string.gmatch(s, "%S+") do
+        result[e] = true
+    end
+    return result
+end
+
+local inherit_flags = {}
+
+-- These flags are put into the CC and CXX arguments to configure.
+-- Alternate builds do not use the flags listed here, only the main build does.
+inherit_flags.cc_main = string_to_array [[
+-march=armv8-a+lse
+-march=armv8.1-a
+-march=haswell
+-march=i686
+-march=x86-64
+-march=x86-64-v2
+-march=x86-64-v3
+-march=x86-64-v4
+-march=z13
+-march=z14
+-march=z15
+-march=zEC12
+-mcpu=power10
+-mcpu=power8
+-mcpu=power9
+-mtune=generic
+-mtune=power10
+-mtune=power8
+-mtune=power9
+-mtune=z13
+-mtune=z14
+-mtune=z15
+-mtune=zEC12
+]]
+
+-- Like inherit_flags_cc_main, but also used for alternate builds.
+inherit_flags.cc = string_to_array [[
+-m31
+-m32
+-m64
+]]
+
+-- These flags are passed through CFLAGS and CXXFLAGS.
+inherit_flags.cflags = string_to_array [[
+-O2
+-O3
+-Wall
+-Wp,-D_GLIBCXX_ASSERTIONS
+-fasynchronous-unwind-tables
+-fno-omit-frame-pointer
+-fstack-clash-protection
+-funwind-tables
+-g
+-mbackchain
+-mbranch-protection=standard
+-mfpmath=sse
+-mno-omit-leaf-frame-pointer
+-msse2
+-mstackrealign
+-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
+]]
+
+-- Iterate over the build_cflags RPM variable and emit a shell
+-- variable that contains the inherited flags of the indicated variant.
+local function shell_build_flags(variant)
+    local result = {}
+    local inherit = assert(inherit_flags[variant])
+    for f in string.gmatch(rpm.expand("%build_cflags"), "%S+") do
+        if inherit[f] then
+	    result[#result + 1] = f
+	end
+    end
+    print("glibc_flags_" .. variant .. "=\"" .. table.concat(result, " ")
+          .. "\"\n")
+end
+
+shell_build_flags('cc_main') -- Set $glibc_flags_cc_main.
+shell_build_flags('cc') -- Set $glibc_flags_cc.
+shell_build_flags('cflags') -- Set $glibc_flags_cflags.
+}
 
 # libc_nonshared.a cannot be built with the default hardening flags
 # because the glibc build system is incompatible with
@@ -536,24 +598,17 @@ EnableKernel="--enable-kernel=%{enablekernel}"
 ##############################################################################
 build()
 {
-	local builddir=build-%{target}${1:+-$1}
-	${1+shift}
-	local build_triplet=$(LANG=C gcc -v 2>&1 | grep "Target: " | cut -d " " -f 2)
+	local builddir=$1
+	shift
 	rm -rf $builddir
 	mkdir $builddir
 	pushd $builddir
-	../configure \
-		CC="$GCC" CFLAGS="$BuildFlags $*" \
-		CXX="$GXX" CXXFLAGS="$BuildFlags $*" \
+	../configure "$@" \
 		--prefix=%{_prefix} \
 		--with-headers=%{_prefix}/include $EnableKernel \
 		--with-nonshared-cflags="$BuildFlagsNonshared" \
 		--enable-bind-now \
 		--build=${build_triplet} \
-%if %{build_compat32}
-		--host=%{target} \
-		--target=%{target} \
-%endif
 		--enable-stack-protector=strong \
 %ifarch %{pie_arches}
 		--enable-static-pie \
@@ -563,9 +618,6 @@ build()
 		--enable-systemtap \
 %endif
 		${core_with_options} \
-%ifarch x86_64 %{ix86}
-		--enable-cet \
-%endif
 %ifarch %{ix86}
 		--disable-multi-arch \
 %endif
@@ -591,19 +643,30 @@ build()
 	popd
 }
 
-%if %{build_compat32}
-GCC="gcc -m32"
-GXX="g++ -m32"
+%if 0
+# Build for the glibc32 package.
+build build-%{target}-32 \
+  CC="gcc -m32" \
+  CXX="g++ -m32" \
+  CFLAGS="${glibc_flags_cflags/-m64/-m32}" \
+  --host=i686-linux-gnu \
+#
 %endif
 
-# Save the used compiler and options into the file "Gcc" for use later
-# by %%install.
-
-echo "$GCC" > Gcc
-echo "$GXX" > Gxx
-
 # Default set of compiler options.
-build
+build build-%{target} \
+  CC="gcc $glibc_flags_cc $glibc_flags_cc_main" \
+  CXX="g++ $glibc_flags_cc $glibc_flags_cc_main" \
+  CFLAGS="$glibc_flags_cflags" \
+%if %{build_compat32}
+  --build=i686-linux-gnu \
+  --host=i686-linux-gnu \
+  --target=i686-linux-gnu \
+%else
+%ifarch x86_64
+  --enable-cet=permissive \
+%endif
+%endif
 
 
 %install
@@ -617,24 +680,33 @@ rm -rf %{buildroot}
 # Remove existing file lists.
 find . -type f -name '*.filelist' -exec rm -rf {} \;
 
-# Reload compiler and build options that were used during %%build.
-GCC=`cat Gcc`
-GXX=`cat Gxx`
+%if 0
+# Install for the glibc32 package.
+pushd build-%{target}-32
+%make_build install_root=%{glibc_sysroot} install
+popd
+pushd %{glibc_sysroot}
+rm -rf etc sbin var usr/bin usr/lib/gconv usr/libexec usr/sbin usr/share
+#rm -f lib/libnss_db* lib/libnss_hesiod* lib/libnsl* usr/lib/libnsl* usr/lib/libnss*
+#rm usr/lib/libc_malloc_debug.so
+strip -g usr/lib/*.o
+mv lib/{libmemusage,libpcprofile}.so usr/lib/
+popd
+%endif
 
 # Build and install:
-%make_build install_root=%{glibc_sysroot} install -C build-%{target}
-
-# If we are not building an auxiliary arch then install all of the supported
-# locales.
-%ifnarch %{auxarches}
 pushd build-%{target}
-# Do not use a parallel make here because the hardlink optimization in
-# localedef is not fully reproducible when running concurrently.
+%make_build install_root=%{glibc_sysroot} install
+%if !%{build_compat32}
 %make_build install_root=%{glibc_sysroot} \
 	install-locale-files -C ../localedata objdir=`pwd`
+%else
+	%{nil}
+%endif
 popd
 # Locale creation via install-locale-files does not group identical files
 # via hardlinks, so we must group them ourselves.
+%if !%{build_compat32}
 hardlink -c %{glibc_sysroot}/usr/lib/locale
 %endif
 
@@ -772,7 +844,7 @@ $olddir/build-%{target}/elf/ld.so \
 mv locale-archive{,.tmpl}
 cp -a locale-archive{.tmpl,-ja.tmpl}
 # Create the file lists for the language specific sub-packages:
-for i in eo syr *_*
+for i in eo syr tok *_*
 do
     lang=${i%%_*}
 #    if [ ! -e langpack-${lang}.filelist ]; then
@@ -843,7 +915,7 @@ touch -r inet/etc.rpc %{glibc_sysroot}/etc/rpc
 
 %ifnarch %{auxarches}
 pushd build-%{target}
-$GCC -Os -g -static -o build-locale-archive %{SOURCE1} \
+gcc -Os -g -static -o build-locale-archive %{SOURCE1} \
 	../build-%{target}/locale/locarchive.o \
 	../build-%{target}/locale/md5.o \
 	../build-%{target}/locale/record-status.o \
@@ -1680,6 +1752,7 @@ rm -rf "$RPM_BUILD_ROOT"
 rm -f *.filelist*
 
 
+%if !%{build_compat32}
 %ifnarch %{auxarches}
 %files -f glibc.filelist
 %defattr(-,root,root)
@@ -1768,20 +1841,23 @@ rm -f *.filelist*
 %ghost %config(missingok,noreplace) /etc/sysconfig/nscd
 %endif
 
-%if %{build_compat32}
-%files -f compat32-glibc.filelist
+%else
+%files -n compat32-glibc -f compat32-glibc.filelist
 /%{_lib}/libnsl.so.*
 
-%files devel -f compat32-devel.filelist
+%files -n compat32-glibc-devel -f compat32-devel.filelist
 %defattr(-,root,root)
 %exclude %{_prefix}/share
 
-%files static -f compat32-static.filelist
+%files -n compat32-glibc-static -f compat32-static.filelist
 %defattr(-,root,root)
 %endif
 
 
 %changelog
+* Sat Jun 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.39-1
+- updated to 2.39.
+
 * Fri Oct 06 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-3
 - updated Patch0.
 

+ 20 - 69
g/gmp/gmp-vl.spec

@@ -1,16 +1,5 @@
 %bcond_without test
 
-# Important for %{ix86}:
-# This rpm has to be build on a CPU with sse2 support like Pentium 4 !
-%ifarch %{ix86}
-%define              SSE2       1
-%else
-%define              SSE2       0
-%endif
-
-# Don't you want to build a libraries using SSE2? 
-%{?_without_sse2%define SSE2 	0}
-
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 # to disable "Provides: pkgconfig(foo)" in compat32-*
 %global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$
@@ -19,7 +8,7 @@ Summary: A GNU arbitrary precision library.
 Summary(ja): GNU 多倍長演算ライブラリ
 Name: gmp
 Version: 6.3.0
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -31,6 +20,7 @@ Source: https://gmplib.org/download/gmp/gmp-%{version}.tar.xz
 Source2: gmp.h
 Source3: gmp-mparam.h
 Patch2: gmp-6.0.0-debuginfo.patch
+Patch3: gmp-intel-cet.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: autoconf libtool
@@ -133,58 +123,35 @@ if as --help | grep -q execstack; then
   # the object files do not require an executable stack
   export CCAS="gcc -c -Wa,--noexecstack"
 fi
-mkdir base
-cd base
-ln -s ../configure .
-#%configure --enable-mpbsd --enable-cxx
-%configure --enable-cxx
-perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=\"-L\\\$libdir\"|g;' libtool
-export LD_LIBRARY_PATH=`pwd`/.libs
-make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
-cd ..
-
-%if %{SSE2}
-%define _host pentium4-vine-linux
-mkdir build-sse2
-cd build-sse2
-ln -s ../configure .
-CFLAGS="%{optflags} -march=pentium4"
-#%configure --enable-mpbsd --enable-cxx
-%configure --enable-cxx
+
+%ifarch %{ix86}
+  export CFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*/-march=i686/g")
+  export CXXFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*/-march=i686/g")
+%endif
+
+%configure --enable-cxx --enable-fat
 
 perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=\"-L\\\$libdir\"|g;' libtool
+sed \
+	-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+	-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
+	-e 's|-lstdc++ -lm|-lstdc++|' \
+	-i libtool
 export LD_LIBRARY_PATH=`pwd`/.libs
-make %{?_smp_mflags}
-unset CFLAGS
-cd ..
-%endif
+%make_build
 
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-cd base
+	
 export LD_LIBRARY_PATH=`pwd`/.libs
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install 
 install -m 644 gmp-mparam.h ${RPM_BUILD_ROOT}%{_includedir}
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/lib{gmp,mp,gmpxx}.la
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
 ln -sf libgmpxx.so.4 $RPM_BUILD_ROOT%{_libdir}/libgmpxx.so
-cd ..
-
-%if %{SSE2}
-cd build-sse2
-export LD_LIBRARY_PATH=`pwd`/.libs
-mkdir $RPM_BUILD_ROOT%{_libdir}/sse2
-install -m 755 .libs/libgmp.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
-cp -a .libs/libgmp.so.[^.]* $RPM_BUILD_ROOT%{_libdir}/sse2
-chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmp.so.[^.]*
-install -m 755 .libs/libgmpxx.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
-cp -a .libs/libgmpxx.so.? $RPM_BUILD_ROOT%{_libdir}/sse2
-chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmpxx.so.?
-cd ..
-%endif
 
 # Rename gmp.h to gmp-<arch>.h and gmp-mparam.h to gmp-mparam-<arch>.h to 
 # avoid file conflicts on multilib systems and install wrapper include files
@@ -209,34 +176,18 @@ install -m644 %{SOURCE3} %{buildroot}/%{_includedir}/gmp-mparam.h
 %if %{with test}
 %check
 %ifnarch ppc
-cd base
-export LD_LIBRARY_PATH=`pwd`/.libs
-make %{?_smp_mflags} check
-cd ..
-%endif
-
-%if %{SSE2}
-cd build-sse2
 export LD_LIBRARY_PATH=`pwd`/.libs
 make %{?_smp_mflags} check
-cd ..
 %endif
 %endif
 
 
-%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
-
 %files
 %defattr(-,root,root,-)
 %license COPYING*
 %doc NEWS README
 %{_libdir}/libgmp.so.*
 %{_libdir}/libgmpxx.so.*
-%if %{SSE2}
-%{_libdir}/sse2/*
-%endif
 
 %files devel
 %defattr(-,root,root,-)
@@ -260,9 +211,6 @@ cd ..
 %defattr(-,root,root,-)
 %{_libdir}/libgmp.so.*
 %{_libdir}/libgmpxx.so.*
-%if %{SSE2}
-%{_libdir}/sse2/*
-%endif
 
 %files -n compat32-%{name}-devel
 %defattr(-,root,root,-)
@@ -280,6 +228,9 @@ cd ..
 
 
 %changelog
+* Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.3.0-2
+- rebuilt with gcc-14.1.1.
+
 * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.3.0-1
 - new upstream release.
 

+ 4 - 1
lib/libm/libmpc/libmpc-vl.spec

@@ -1,7 +1,7 @@
 Summary: C library for multiple precision complex arithmetic
 Name: libmpc
 Version: 1.3.1
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: system
 Vendor: Project Vine 
 Distribution: Vine Linux
@@ -77,6 +77,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-2
+- rebuilt with gcc-14.1.1.
+
 * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.1-1
 - new upstream release.
 

+ 8 - 5
lib/libt/libtool/libtool-vl.spec

@@ -1,19 +1,19 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
-%define gcc_version 13.2.1
+%global gcc_major  %(gcc -dumpversion || echo "666")
 
 Summary: The GNU Portable Library Tool
 Summary(ja): GNU ポータブルライブラリツール
 Name:    libtool
 Version: 2.4.7
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 Group: programming
 Vendor: Project Vine
 Distribution: Vine Linux
 
 License: GPLv2+ and LGPLv2+ and GFDL
-URL:     http://www.gnu.org/software/libtool/
-Source:  http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
+URL:     https://www.gnu.org/software/libtool/
+Source:  https://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
 
 # ~> downstream
 # ~> remove possibly once #1158915 gets fixed somehow
@@ -54,7 +54,7 @@ BuildRequires: gcc, gcc-c++, libstdc++-devel, gcc-gfortran
 #BuildRequires: gcc-java
 # /usr/bin/libtool includes paths within gcc's versioned directories
 # Libtool must be rebuilt whenever a new upstream gcc is built
-Requires: gcc = %{gcc_version}
+Requires: gcc(major) = %{gcc_major}
 
 Requires: autoconf >= 2.50, automake >= 1.4p1, m4, perl
 Requires: libtool-ltdl = %{version}-%{release}, mktemp
@@ -218,6 +218,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-3
+- rebuilt with gcc-14.1.1.
+
 * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-2
 - rebuilt with gcc-13.2.1.
 

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

@@ -1,7 +1,7 @@
 Summary: A C library for multiple-precision floating-point computations
 Name: mpfr
 Version: 4.2.1
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: system
 Vendor: Project Vine 
 Distribution: Vine Linux
@@ -28,8 +28,6 @@ Summary: Development tools A C library for mpfr library
 Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: gmp-devel >= 4.2.3
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
 
 %description devel
 The static libraries, header files and documentation for using the MPFR 
@@ -95,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-2
+- rebuilt with gcc-14.1.1.
+
 * Fri Sep 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.1-1
 - new upstream release.
 

+ 10 - 1
v/vine-rpm-macros/vine-rpm-macros-vl.spec

@@ -1,7 +1,7 @@
 Summary:        rpm macros for Vine Linux
 Summary(ja):    Vine Linux用rpmマクロ
 Name:           vine-rpm-macros
-Version:        6
+Version:        8
 Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
@@ -10,6 +10,7 @@ Distribution:   Vine Linux
 License:        GPL2
 Source0:        rpmrc
 Source1:        macros.vine
+Source2:        macros.dwz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildArch:      noarch
@@ -29,6 +30,7 @@ Requires:       rpm-build
 Requires:       perl-generators
 Requires:       python-rpm-macros
 Requires:       python3-rpm-macros
+Requires:       debugedit
 
 %description -n vine-rpm-build-macros
 This package contains rpm macros to build packages for Vine Linux.
@@ -51,6 +53,7 @@ This package contains rpm macros to build packages for Vine Linux.
 %{__rm} -rf %{buildroot}
 install -Dpm644 %{SOURCE0} %{buildroot}/usr/lib/rpm/vine/rpmrc
 install -Dpm644 %{SOURCE1} %{buildroot}/usr/lib/rpm/macros.d/macros.vine
+install -Dpm644 %{SOURCE2} %{buildroot}/usr/lib/rpm/macros.d/macros.dwz
 
 
 %clean
@@ -69,6 +72,12 @@ install -Dpm644 %{SOURCE1} %{buildroot}/usr/lib/rpm/macros.d/macros.vine
 
 
 %changelog
+* Fri Jun 07 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8-1
+- added "-march=x86-64-v2" to %%optflags on x86_64.
+
+* Wed May 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7-1
+- added macros.dwz.
+
 * Sat Mar 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6-1
 - added %%_docdir_fmt.