|
@@ -1,8 +1,8 @@
|
|
%bcond_with check
|
|
%bcond_with check
|
|
|
|
|
|
# version of tarball
|
|
# version of tarball
|
|
-%global gcc_version 9.3.0
|
|
|
|
-%global gcc_major 9
|
|
|
|
|
|
+%global gcc_version 10.2.0
|
|
|
|
+%global gcc_major 10
|
|
# 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%{?_dist_release}
|
|
%global gcc_release 1%{?_dist_release}
|
|
@@ -18,7 +18,7 @@
|
|
%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 14
|
|
|
|
|
|
+%global go_soversion 16
|
|
%else
|
|
%else
|
|
%global build_go 0
|
|
%global build_go 0
|
|
%endif
|
|
%endif
|
|
@@ -58,6 +58,7 @@
|
|
%global build_libitm 0
|
|
%global build_libitm 0
|
|
%endif
|
|
%endif
|
|
%global build_isl 1
|
|
%global build_isl 1
|
|
|
|
+%global isl_soversion 23
|
|
%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
|
|
@@ -89,10 +90,9 @@
|
|
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: 9.3.1
|
|
|
|
|
|
+Version: 10.2.1
|
|
Release: %{gcc_release}
|
|
Release: %{gcc_release}
|
|
-Group: Development/Languages
|
|
|
|
-
|
|
|
|
|
|
+Group: programming
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
@@ -152,8 +152,14 @@ BuildRequires: ppl >= 0.10, ppl-devel >= 0.10
|
|
BuildRequires: cloog-ppl >= 0.15, cloog-ppl-devel >= 0.15
|
|
BuildRequires: cloog-ppl >= 0.15, cloog-ppl-devel >= 0.15
|
|
%endif
|
|
%endif
|
|
%if %{build_isl}
|
|
%if %{build_isl}
|
|
-BuildRequires: isl-devel >= 0.14
|
|
|
|
-Requires: isl >= 0.14
|
|
|
|
|
|
+BuildRequires: isl-devel >= 0.23
|
|
|
|
+Requires: isl >= 0.23
|
|
|
|
+%else
|
|
|
|
+%if 0%{?__isa_bits} == 64
|
|
|
|
+Requires: libisl.so.%{isl_soversion}()(64bit)
|
|
|
|
+%else
|
|
|
|
+Requires: libisl.so.%{isl_soversion}
|
|
|
|
+%endif
|
|
%endif
|
|
%endif
|
|
%if %{build_libstdcxx_docs}
|
|
%if %{build_libstdcxx_docs}
|
|
BuildRequires: doxygen >= 1.7.1
|
|
BuildRequires: doxygen >= 1.7.1
|
|
@@ -208,20 +214,20 @@ Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
AutoReq: true
|
|
AutoReq: true
|
|
|
|
|
|
-Patch0: gcc9-hack.patch
|
|
|
|
-Patch1: gcc9-i386-libgomp.patch
|
|
|
|
-Patch2: gcc9-sparc-config-detection.patch
|
|
|
|
-Patch3: gcc9-libgomp-omp_h-multilib.patch
|
|
|
|
-Patch4: gcc9-libtool-no-rpath.patch
|
|
|
|
-Patch5: gcc9-isl-dl.patch
|
|
|
|
-Patch6: gcc9-libstdc++-docs.patch
|
|
|
|
-Patch7: gcc9-no-add-needed.patch
|
|
|
|
-Patch8: gcc9-foffload-default.patch
|
|
|
|
-Patch9: gcc9-Wno-format-security.patch
|
|
|
|
-Patch10: gcc9-rh1574936.patch
|
|
|
|
-Patch11: gcc9-d-shared-libphobos.patch
|
|
|
|
-
|
|
|
|
-Patch10000: gcc-9.3-20200320.patch
|
|
|
|
|
|
+Patch0: gcc10-hack.patch
|
|
|
|
+Patch1: gcc10-i386-libgomp.patch
|
|
|
|
+Patch2: gcc10-sparc-config-detection.patch
|
|
|
|
+Patch3: gcc10-libgomp-omp_h-multilib.patch
|
|
|
|
+Patch4: gcc10-libtool-no-rpath.patch
|
|
|
|
+Patch5: gcc10-isl-dl.patch
|
|
|
|
+Patch6: gcc10-libstdc++-docs.patch
|
|
|
|
+Patch7: gcc10-no-add-needed.patch
|
|
|
|
+Patch8: gcc10-foffload-default.patch
|
|
|
|
+Patch9: gcc10-Wno-format-security.patch
|
|
|
|
+Patch10: gcc10-rh1574936.patch
|
|
|
|
+Patch11: gcc10-d-shared-libphobos.patch
|
|
|
|
+
|
|
|
|
+Patch10000: gcc-10.2-20210209.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.
|
|
@@ -254,7 +260,7 @@ gcc パッケージには、GNU Compiler Collection バージョン %{version}
|
|
%package -n libgcc
|
|
%package -n libgcc
|
|
Summary: GCC version %{version} shared support library
|
|
Summary: GCC version %{version} shared support library
|
|
Summary(ja): GCC バージョン %{version} 共有サポートライブラリ
|
|
Summary(ja): GCC バージョン %{version} 共有サポートライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Autoreq: false
|
|
Autoreq: false
|
|
Obsoletes: libmudflap
|
|
Obsoletes: libmudflap
|
|
Obsoletes: libmudflap-devel
|
|
Obsoletes: libmudflap-devel
|
|
@@ -273,7 +279,7 @@ e.g. for exception handling support.
|
|
%package c++
|
|
%package c++
|
|
Summary: C++ support for GCC
|
|
Summary: C++ support for GCC
|
|
Summary(ja): GNU コンパイラ集 - C++ サポート
|
|
Summary(ja): GNU コンパイラ集 - C++ サポート
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: libstdc++ = %{version}-%{release}
|
|
Requires: libstdc++ = %{version}-%{release}
|
|
Requires: libstdc++-devel = %{version}-%{release}
|
|
Requires: libstdc++-devel = %{version}-%{release}
|
|
@@ -298,7 +304,7 @@ including templates and exception handling.
|
|
%package -n libstdc++
|
|
%package -n libstdc++
|
|
Summary: GNU Standard C++ Library
|
|
Summary: GNU Standard C++ Library
|
|
Summary(ja): GNU 標準 C++ ライブラリ
|
|
Summary(ja): GNU 標準 C++ ライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Obsoletes: libstdc++34
|
|
Obsoletes: libstdc++34
|
|
Provides: libstdc++34 = %{version}-%{release}
|
|
Provides: libstdc++34 = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
@@ -319,7 +325,7 @@ GCC 標準 C++ ライブラリが収録されています。
|
|
%package -n libstdc++-devel
|
|
%package -n libstdc++-devel
|
|
Summary: Header files and libraries for C++ development
|
|
Summary: Header files and libraries for C++ development
|
|
Summary(ja): C++ 開発用ヘッダ/ライブラリ
|
|
Summary(ja): C++ 開発用ヘッダ/ライブラリ
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libstdc++ = %{version}-%{release}
|
|
Requires: libstdc++ = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
@@ -338,7 +344,7 @@ development. This includes rewritten implementation of STL.
|
|
%package -n libstdc++-static
|
|
%package -n libstdc++-static
|
|
Summary: Static libraries for the GNU standard C++ library
|
|
Summary: Static libraries for the GNU standard C++ library
|
|
Summary(ja): GNU 標準 C++ ライブラリの静的リンクライブラリ
|
|
Summary(ja): GNU 標準 C++ ライブラリの静的リンクライブラリ
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libstdc++-devel = %{version}-%{release}
|
|
Requires: libstdc++-devel = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
@@ -353,7 +359,7 @@ GNU 標準 C++ ライブラリの静的リンクライブラリ
|
|
%package -n libstdc++-docs
|
|
%package -n libstdc++-docs
|
|
Summary: Documentation for the GNU standard C++ library
|
|
Summary: Documentation for the GNU standard C++ library
|
|
Summary(ja): GNU 標準 C++ ライブラリのドキュメント
|
|
Summary(ja): GNU 標準 C++ ライブラリのドキュメント
|
|
-Group: Development/Documentation
|
|
|
|
|
|
+Group: documentation
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
%description -n libstdc++-docs
|
|
%description -n libstdc++-docs
|
|
@@ -368,7 +374,7 @@ GNU 標準 C++ ライブラリのマニュアル、Doxygenで生成した API情
|
|
%package objc
|
|
%package objc
|
|
Summary: Objective-C support for GCC
|
|
Summary: Objective-C support for GCC
|
|
Summary(ja): GNU コンパイラ集 - Objective C サポート
|
|
Summary(ja): GNU コンパイラ集 - Objective C サポート
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: libobjc = %{version}-%{release}
|
|
Requires: libobjc = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
@@ -388,7 +394,7 @@ Objective-C は C 言語から派生したオブジェクト指向言語で、
|
|
%package objc++
|
|
%package objc++
|
|
Summary: Objective-C++ support for GCC
|
|
Summary: Objective-C++ support for GCC
|
|
Summary(ja): GNU コンパイラ集 - Objective C++ サポート
|
|
Summary(ja): GNU コンパイラ集 - Objective C++ サポート
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc-c++ = %{version}-%{release}
|
|
Requires: gcc-c++ = %{version}-%{release}
|
|
Requires: gcc-objc = %{version}-%{release}
|
|
Requires: gcc-objc = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
@@ -404,7 +410,7 @@ gcc-objc++ パッケージは GCC に Objective-C++ サポートを追加しま
|
|
%package -n libobjc
|
|
%package -n libobjc
|
|
Summary: Objective-C runtime
|
|
Summary: Objective-C runtime
|
|
Summary(ja): Objective C ランタイムライブラリ
|
|
Summary(ja): Objective C ランタイムライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
%description -n libobjc
|
|
%description -n libobjc
|
|
@@ -421,7 +427,7 @@ Objective-C dynamically linked programs.
|
|
%package gfortran
|
|
%package gfortran
|
|
Summary: Fortran support
|
|
Summary: Fortran support
|
|
Summary(ja): GNU コンパイラ集 - Fortran サポート
|
|
Summary(ja): GNU コンパイラ集 - Fortran サポート
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: libgfortran = %{version}-%{release}
|
|
Requires: libgfortran = %{version}-%{release}
|
|
%if %{build_libquadmath}
|
|
%if %{build_libquadmath}
|
|
@@ -449,7 +455,7 @@ Fortran プログラムをコンパイルする機能を追加するものです
|
|
%package -n libgfortran
|
|
%package -n libgfortran
|
|
Summary: Fortran runtime
|
|
Summary: Fortran runtime
|
|
Summary(ja): Fortran ランタイム
|
|
Summary(ja): Fortran ランタイム
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Autoreq: true
|
|
Autoreq: true
|
|
%if %{build_libquadmath}
|
|
%if %{build_libquadmath}
|
|
Requires: libquadmath = %{version}-%{release}
|
|
Requires: libquadmath = %{version}-%{release}
|
|
@@ -469,7 +475,7 @@ Fortran dynamically linked programs.
|
|
%package -n libgfortran-static
|
|
%package -n libgfortran-static
|
|
Summary: Static Fortran libraries
|
|
Summary: Static Fortran libraries
|
|
Summary(ja): Fortranの静的リンクライブラリ
|
|
Summary(ja): Fortranの静的リンクライブラリ
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libgfortran = %{version}-%{release}
|
|
Requires: libgfortran = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
%if %{build_libquadmath}
|
|
%if %{build_libquadmath}
|
|
@@ -487,7 +493,7 @@ This package contains static Fortran libraries.
|
|
%package -n libgomp
|
|
%package -n libgomp
|
|
Summary: GCC OpenMP v3.0 shared support library
|
|
Summary: GCC OpenMP v3.0 shared support library
|
|
Summary(ja): GCC OpenMP v3.0 共有ライブラリ
|
|
Summary(ja): GCC OpenMP v3.0 共有ライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -503,7 +509,7 @@ for OpenMP v3.0 support.
|
|
|
|
|
|
%package gdb-plugin
|
|
%package gdb-plugin
|
|
Summary: GCC plugin for GDB
|
|
Summary: GCC plugin for GDB
|
|
-Group: Development/Debuggers
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
|
|
|
|
%description gdb-plugin
|
|
%description gdb-plugin
|
|
@@ -513,7 +519,7 @@ This package contains GCC plugin for GDB C expression evaluation.
|
|
|
|
|
|
%package -n libgccjit
|
|
%package -n libgccjit
|
|
Summary: Library for embedding GCC inside programs and libraries
|
|
Summary: Library for embedding GCC inside programs and libraries
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
|
|
|
|
%description -n libgccjit
|
|
%description -n libgccjit
|
|
@@ -523,8 +529,8 @@ This package contains shared library with GCC JIT front-end.
|
|
|
|
|
|
%package -n libgccjit-devel
|
|
%package -n libgccjit-devel
|
|
Summary: Support for embedding GCC inside programs and libraries
|
|
Summary: Support for embedding GCC inside programs and libraries
|
|
-Group: Development/Libraries
|
|
|
|
-BuildRequires: python-sphinx
|
|
|
|
|
|
+Group: programming
|
|
|
|
+BuildRequires: python3-sphinx
|
|
Requires: libgccjit = %{version}-%{release}
|
|
Requires: libgccjit = %{version}-%{release}
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
@@ -537,7 +543,7 @@ This package contains header files and documentation for GCC JIT front-end.
|
|
%package -n libquadmath
|
|
%package -n libquadmath
|
|
Summary: GCC __float128 shared support library
|
|
Summary: GCC __float128 shared support library
|
|
Summary(ja): GCC __float128 サポートのための共有ライブラリ
|
|
Summary(ja): GCC __float128 サポートのための共有ライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -554,7 +560,7 @@ for __float128 math support and for Fortran REAL*16 support.
|
|
%package -n libquadmath-devel
|
|
%package -n libquadmath-devel
|
|
Summary: GCC __float128 support
|
|
Summary: GCC __float128 support
|
|
Summary(ja): GCC __float128 サポート
|
|
Summary(ja): GCC __float128 サポート
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libquadmath = %{version}-%{release}
|
|
Requires: libquadmath = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
|
|
|
|
@@ -571,7 +577,7 @@ REAL*16 and programs using __float128 math.
|
|
%package -n libquadmath-static
|
|
%package -n libquadmath-static
|
|
Summary: Static libraries for __float128 support
|
|
Summary: Static libraries for __float128 support
|
|
Summary(ja): __float128 サポートのための静的リンクライブラリ
|
|
Summary(ja): __float128 サポートのための静的リンクライブラリ
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libquadmath-devel = %{version}-%{release}
|
|
Requires: libquadmath-devel = %{version}-%{release}
|
|
|
|
|
|
%description -n libquadmath-static
|
|
%description -n libquadmath-static
|
|
@@ -587,7 +593,7 @@ using REAL*16 and programs using __float128 math.
|
|
|
|
|
|
%package -n libitm
|
|
%package -n libitm
|
|
Summary: The GNU Transactional Memory library
|
|
Summary: The GNU Transactional Memory library
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -599,7 +605,7 @@ which is a GCC transactional memory support runtime library.
|
|
|
|
|
|
%package -n libitm-devel
|
|
%package -n libitm-devel
|
|
Summary: The GNU Transactional Memory support
|
|
Summary: The GNU Transactional Memory support
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libitm = %{version}-%{release}
|
|
Requires: libitm = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
|
|
|
|
@@ -611,7 +617,7 @@ GNU Transactional Memory library.
|
|
|
|
|
|
%package -n libitm-static
|
|
%package -n libitm-static
|
|
Summary: The GNU Transactional Memory static library
|
|
Summary: The GNU Transactional Memory static library
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libitm-devel = %{version}-%{release}
|
|
Requires: libitm-devel = %{version}-%{release}
|
|
|
|
|
|
%description -n libitm-static
|
|
%description -n libitm-static
|
|
@@ -621,7 +627,7 @@ This package contains GNU Transactional Memory static libraries.
|
|
|
|
|
|
%package -n libatomic
|
|
%package -n libatomic
|
|
Summary: The GNU Atomic library
|
|
Summary: The GNU Atomic library
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -634,7 +640,7 @@ by hardware.
|
|
|
|
|
|
%package -n libatomic-static
|
|
%package -n libatomic-static
|
|
Summary: The GNU Atomic static library
|
|
Summary: The GNU Atomic static library
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libatomic = %{version}-%{release}
|
|
Requires: libatomic = %{version}-%{release}
|
|
|
|
|
|
%description -n libatomic-static
|
|
%description -n libatomic-static
|
|
@@ -644,7 +650,7 @@ This package contains GNU Atomic static libraries.
|
|
|
|
|
|
%package -n libasan
|
|
%package -n libasan
|
|
Summary: The Address Sanitizer runtime library
|
|
Summary: The Address Sanitizer runtime library
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -656,7 +662,7 @@ which is used for -fsanitize=address instrumented programs.
|
|
|
|
|
|
%package -n libasan-static
|
|
%package -n libasan-static
|
|
Summary: The Address Sanitizer static library
|
|
Summary: The Address Sanitizer static library
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libasan = %{version}-%{release}
|
|
Requires: libasan = %{version}-%{release}
|
|
|
|
|
|
%description -n libasan-static
|
|
%description -n libasan-static
|
|
@@ -666,7 +672,7 @@ This package contains Address Sanitizer static runtime library.
|
|
|
|
|
|
%package -n libtsan
|
|
%package -n libtsan
|
|
Summary: The Thread Sanitizer runtime library
|
|
Summary: The Thread Sanitizer runtime library
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -678,7 +684,7 @@ which is used for -fsanitize=thread instrumented programs.
|
|
|
|
|
|
%package -n libtsan-static
|
|
%package -n libtsan-static
|
|
Summary: The Thread Sanitizer static library
|
|
Summary: The Thread Sanitizer static library
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libtsan = %{version}-%{release}
|
|
Requires: libtsan = %{version}-%{release}
|
|
|
|
|
|
%description -n libtsan-static
|
|
%description -n libtsan-static
|
|
@@ -688,7 +694,7 @@ This package contains Thread Sanitizer static runtime library.
|
|
|
|
|
|
%package -n libubsan
|
|
%package -n libubsan
|
|
Summary: The Undefined Behavior Sanitizer runtime library
|
|
Summary: The Undefined Behavior Sanitizer runtime library
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -700,7 +706,7 @@ which is used for -fsanitize=undefined instrumented programs.
|
|
|
|
|
|
%package -n libubsan-static
|
|
%package -n libubsan-static
|
|
Summary: The Undefined Behavior Sanitizer static library
|
|
Summary: The Undefined Behavior Sanitizer static library
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libubsan = %{version}-%{release}
|
|
Requires: libubsan = %{version}-%{release}
|
|
|
|
|
|
%description -n libubsan-static
|
|
%description -n libubsan-static
|
|
@@ -710,7 +716,7 @@ This package contains Undefined Behavior Sanitizer static runtime library.
|
|
|
|
|
|
%package -n liblsan
|
|
%package -n liblsan
|
|
Summary: The Leak Sanitizer runtime library
|
|
Summary: The Leak Sanitizer runtime library
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
@@ -722,7 +728,7 @@ which is used for -fsanitize=leak instrumented programs.
|
|
|
|
|
|
%package -n liblsan-static
|
|
%package -n liblsan-static
|
|
Summary: The Leak Sanitizer static library
|
|
Summary: The Leak Sanitizer static library
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: liblsan = %{version}-%{release}
|
|
Requires: liblsan = %{version}-%{release}
|
|
|
|
|
|
%description -n liblsan-static
|
|
%description -n liblsan-static
|
|
@@ -733,7 +739,7 @@ This package contains Leak Sanitizer static runtime library.
|
|
%package cpp
|
|
%package cpp
|
|
Summary: The C Preprocessor
|
|
Summary: The C Preprocessor
|
|
Summary(ja): C プリプロセッサ
|
|
Summary(ja): C プリプロセッサ
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Provides: cpp = %{version}-%{release}
|
|
Provides: cpp = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
Requires(post): /sbin/install-info
|
|
Requires(post): /sbin/install-info
|
|
@@ -766,7 +772,7 @@ macros.
|
|
%package gnat
|
|
%package gnat
|
|
Summary: Ada 95 support for GCC
|
|
Summary: Ada 95 support for GCC
|
|
Summary(ja): GNU コンパイラ集 - Ada 95 サポート
|
|
Summary(ja): GNU コンパイラ集 - Ada 95 サポート
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: libgnat = %{version}-%{release}
|
|
Requires: libgnat = %{version}-%{release}
|
|
Requires: libgnat-devel = %{version}-%{release}
|
|
Requires: libgnat-devel = %{version}-%{release}
|
|
@@ -789,7 +795,7 @@ GNAT は GCC 用の GNU Ada 95 フロントエンドです。
|
|
%package -n libgnat
|
|
%package -n libgnat
|
|
Summary: GNU Ada 95 runtime shared libraries
|
|
Summary: GNU Ada 95 runtime shared libraries
|
|
Summary(ja): GNU コンパイラ集 - Ada 95 ランタイム共有ライブラリ
|
|
Summary(ja): GNU コンパイラ集 - Ada 95 ランタイム共有ライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Obsoletes: gnat libgnat3
|
|
Obsoletes: gnat libgnat3
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
@@ -806,7 +812,7 @@ GNAT は GCC 用の GNU Ada 95 フロントエンドです。
|
|
|
|
|
|
%package -n libgnat-devel
|
|
%package -n libgnat-devel
|
|
Summary: GNU Ada 95 libraries
|
|
Summary: GNU Ada 95 libraries
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
%description -n libgnat-devel
|
|
%description -n libgnat-devel
|
|
@@ -817,7 +823,7 @@ which are required to compile with the GNAT.
|
|
|
|
|
|
%package -n libgnat-static
|
|
%package -n libgnat-static
|
|
Summary: GNU Ada 95 static libraries
|
|
Summary: GNU Ada 95 static libraries
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: libgnat-devel = %{version}-%{release}
|
|
Requires: libgnat-devel = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
@@ -828,7 +834,7 @@ GNAT is a GNU Ada 95 front-end to GCC. This package includes static libraries.
|
|
|
|
|
|
%package go
|
|
%package go
|
|
Summary: Go support
|
|
Summary: Go support
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: libgo = %{version}-%{release}
|
|
Requires: libgo = %{version}-%{release}
|
|
Requires: libgo-devel = %{version}-%{release}
|
|
Requires: libgo-devel = %{version}-%{release}
|
|
@@ -844,7 +850,7 @@ with the GNU Compiler Collection.
|
|
|
|
|
|
%package -n libgo
|
|
%package -n libgo
|
|
Summary: Go runtime
|
|
Summary: Go runtime
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
%description -n libgo
|
|
%description -n libgo
|
|
@@ -855,7 +861,7 @@ Go dynamically linked programs.
|
|
|
|
|
|
%package -n libgo-devel
|
|
%package -n libgo-devel
|
|
Summary: Go development libraries
|
|
Summary: Go development libraries
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: libgo = %{version}-%{release}
|
|
Requires: libgo = %{version}-%{release}
|
|
Autoreq: true
|
|
Autoreq: true
|
|
|
|
|
|
@@ -867,7 +873,7 @@ Go programs.
|
|
|
|
|
|
%package -n libgo-static
|
|
%package -n libgo-static
|
|
Summary: Static Go libraries
|
|
Summary: Static Go libraries
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: libgo = %{version}-%{release}
|
|
Requires: libgo = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
|
|
|
|
@@ -878,7 +884,7 @@ This package contains static Go libraries.
|
|
|
|
|
|
%package plugin-devel
|
|
%package plugin-devel
|
|
Summary: Support for compiling GCC plugins
|
|
Summary: Support for compiling GCC plugins
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Group: programming
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gcc = %{version}-%{release}
|
|
Requires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
|
|
Requires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
|
|
|
|
|
|
@@ -889,6 +895,9 @@ not stable, so plugins must be rebuilt any time GCC is updated.
|
|
|
|
|
|
#####################################################################
|
|
#####################################################################
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q -n gcc-%{gcc_version}
|
|
%setup -q -n gcc-%{gcc_version}
|
|
%patch10000 -p1 -b .upstream
|
|
%patch10000 -p1 -b .upstream
|
|
@@ -899,7 +908,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
|
|
%patch3 -p0 -b .libgomp-omp_h-multilib~
|
|
%patch3 -p0 -b .libgomp-omp_h-multilib~
|
|
%patch4 -p0 -b .libtool-no-rpath~
|
|
%patch4 -p0 -b .libtool-no-rpath~
|
|
%if %{build_isl}
|
|
%if %{build_isl}
|
|
-%patch5 -p0 -b .isl-dl~
|
|
|
|
|
|
+#patch5 -p0 -b .isl-dl~
|
|
%endif
|
|
%endif
|
|
%if %{build_libstdcxx_docs}
|
|
%if %{build_libstdcxx_docs}
|
|
%patch6 -p0 -b .libstdc++-docs~
|
|
%patch6 -p0 -b .libstdc++-docs~
|
|
@@ -1279,7 +1288,7 @@ ln -sf ../../../libitm.so.1.* libitm.so
|
|
ln -sf ../../../libatomic.so.1.* libatomic.so
|
|
ln -sf ../../../libatomic.so.1.* libatomic.so
|
|
%endif
|
|
%endif
|
|
%if %{build_libasan}
|
|
%if %{build_libasan}
|
|
-ln -sf ../../../libasan.so.5.* libasan.so
|
|
|
|
|
|
+ln -sf ../../../libasan.so.6.* libasan.so
|
|
mv ../../../libasan_preinit.o libasan_preinit.o
|
|
mv ../../../libasan_preinit.o libasan_preinit.o
|
|
%endif
|
|
%endif
|
|
%if %{build_libubsan}
|
|
%if %{build_libubsan}
|
|
@@ -1305,7 +1314,7 @@ ln -sf ../../../../%{_lib}/libitm.so.1.* libitm.so
|
|
ln -sf ../../../../%{_lib}/libatomic.so.1.* libatomic.so
|
|
ln -sf ../../../../%{_lib}/libatomic.so.1.* libatomic.so
|
|
%endif
|
|
%endif
|
|
%if %{build_libasan}
|
|
%if %{build_libasan}
|
|
-ln -sf ../../../../%{_lib}/libasan.so.5.* libasan.so
|
|
|
|
|
|
+ln -sf ../../../../%{_lib}/libasan.so.6.* libasan.so
|
|
mv ../../../../%{_lib}/libasan_preinit.o libasan_preinit.o
|
|
mv ../../../../%{_lib}/libasan_preinit.o libasan_preinit.o
|
|
%endif
|
|
%endif
|
|
%if %{build_libubsan}
|
|
%if %{build_libubsan}
|
|
@@ -1450,8 +1459,8 @@ echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libatomic.so.1.* | sed 's,
|
|
%endif
|
|
%endif
|
|
%if %{build_libasan}
|
|
%if %{build_libasan}
|
|
rm -f libasan.so
|
|
rm -f libasan.so
|
|
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libasan.so.5.* | sed 's,^.*liba,liba,'`' )' > libasan.so
|
|
|
|
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libasan.so.5.* | sed 's,^.*liba,liba,'`' )' > 32/libasan.so
|
|
|
|
|
|
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libasan.so.6.* | sed 's,^.*liba,liba,'`' )' > libasan.so
|
|
|
|
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libasan.so.6.* | sed 's,^.*liba,liba,'`' )' > 32/libasan.so
|
|
mv ../../../../lib/libasan_preinit.o 32/libasan_preinit.o
|
|
mv ../../../../lib/libasan_preinit.o 32/libasan_preinit.o
|
|
%endif
|
|
%endif
|
|
%if %{build_libubsan}
|
|
%if %{build_libubsan}
|
|
@@ -1586,7 +1595,7 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libitm.so.1.*
|
|
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libatomic.so.1.*
|
|
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libatomic.so.1.*
|
|
%endif
|
|
%endif
|
|
%if %{build_libasan}
|
|
%if %{build_libasan}
|
|
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libasan.so.5.*
|
|
|
|
|
|
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libasan.so.6.*
|
|
%endif
|
|
%endif
|
|
%if %{build_libubsan}
|
|
%if %{build_libubsan}
|
|
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libubsan.so.1.*
|
|
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libubsan.so.1.*
|
|
@@ -1939,6 +1948,7 @@ fi
|
|
%{_prefix}/bin/gcc-ar
|
|
%{_prefix}/bin/gcc-ar
|
|
%{_prefix}/bin/gcc-nm
|
|
%{_prefix}/bin/gcc-nm
|
|
%{_prefix}/bin/gcc-ranlib
|
|
%{_prefix}/bin/gcc-ranlib
|
|
|
|
+%{_prefix}/bin/lto-dump
|
|
%ifarch ppc
|
|
%ifarch ppc
|
|
%{_prefix}/bin/%{_target_platform}-gcc
|
|
%{_prefix}/bin/%{_target_platform}-gcc
|
|
%endif
|
|
%endif
|
|
@@ -1954,6 +1964,7 @@ fi
|
|
%{_mandir}/man1/gcov.1*
|
|
%{_mandir}/man1/gcov.1*
|
|
%{_mandir}/man1/gcov-tool.1*
|
|
%{_mandir}/man1/gcov-tool.1*
|
|
%{_mandir}/man1/gcov-dump.1*
|
|
%{_mandir}/man1/gcov-dump.1*
|
|
|
|
+%{_mandir}/man1/lto-dump.1*
|
|
%{_infodir}/gcc*
|
|
%{_infodir}/gcc*
|
|
%dir %{_prefix}/lib/gcc
|
|
%dir %{_prefix}/lib/gcc
|
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
|
@@ -1984,6 +1995,12 @@ fi
|
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stdnoreturn.h
|
|
%{_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/stdatomic.h
|
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/gcov.h
|
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/gcov.h
|
|
|
|
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/acc_prof.h
|
|
|
|
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512bf16intrin.h
|
|
|
|
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512bf16vlintrin.h
|
|
|
|
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512vp2intersectintrin.h
|
|
|
|
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512vp2intersectvlintrin.h
|
|
|
|
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/enqcmdintrin.h
|
|
%ifarch %{ix86} x86_64
|
|
%ifarch %{ix86} x86_64
|
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/mmintrin.h
|
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/mmintrin.h
|
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/xmmintrin.h
|
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/xmmintrin.h
|
|
@@ -2682,9 +2699,9 @@ fi
|
|
%if %{build_libasan}
|
|
%if %{build_libasan}
|
|
%files -n libasan
|
|
%files -n libasan
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_prefix}/%{_lib}/libasan.so.5*
|
|
|
|
|
|
+%{_prefix}/%{_lib}/libasan.so.6*
|
|
%ifarch %{multilib_64_archs}
|
|
%ifarch %{multilib_64_archs}
|
|
-%{_prefix}/lib/libasan.so.5*
|
|
|
|
|
|
+%{_prefix}/lib/libasan.so.6*
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%files -n libasan-static
|
|
%files -n libasan-static
|
|
@@ -2908,8 +2925,13 @@ fi
|
|
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
|
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Feb 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.2.1-1
|
|
|
|
+- updated tarball to 10.2.0.
|
|
|
|
+- imported Patch10000 from upstream (10.2.1).
|
|
|
|
+- refreshed all patches.
|
|
|
|
+
|
|
* Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.1-1
|
|
* Fri Mar 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.1-1
|
|
-- updated tarball to 9.3.0
|
|
|
|
|
|
+- updated tarball to 9.3.0.
|
|
- dropped Patch 0 and 11-12.
|
|
- dropped Patch 0 and 11-12.
|
|
- imported Patch10000 from upstream (9.3.1).
|
|
- imported Patch10000 from upstream (9.3.1).
|
|
- renumbered and updated all patches.
|
|
- renumbered and updated all patches.
|