2024-07-22 17:56:30 +02:00
|
|
|
#
|
|
|
|
# spec file for package gcc${version}
|
|
|
|
#
|
|
|
|
# Copyright (c) 2021 SUSE LLC
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# nospeccleaner
|
|
|
|
|
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
%define _slibdir /%{_lib}
|
|
|
|
%define slibdir /lib
|
|
|
|
%define slibdir64 /lib64
|
|
|
|
%else
|
|
|
|
%define _slibdir %{_libdir}
|
|
|
|
%define slibdir %{_prefix}/lib
|
|
|
|
%define slibdir64 %{_prefix}/lib64
|
|
|
|
%define usrmerged 1
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%bcond_without bootstrap
|
|
|
|
|
|
|
|
# Ada currently fails to build on a few platforms, enable it only
|
|
|
|
# on those that work
|
|
|
|
%if %{suse_version} >= 1330
|
|
|
|
%define ada_arch %ix86 x86_64 ppc ppc64 ppc64le s390 s390x ia64 aarch64 riscv64
|
|
|
|
%else
|
|
|
|
%define ada_arch %ix86 x86_64 ppc ppc64 s390 ia64
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch %ada_arch
|
|
|
|
%define build_ada 1
|
|
|
|
%else
|
|
|
|
%define build_ada 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%define quadmath_arch %ix86 x86_64 ia64 ppc64le
|
|
|
|
%define tsan_arch x86_64 aarch64 ppc ppc64 ppc64le s390 s390x riscv64
|
|
|
|
%define asan_arch x86_64 %ix86 ppc ppc64 ppc64le s390 s390x %sparc %arm aarch64 riscv64
|
|
|
|
%define hwasan_arch aarch64 x86_64
|
|
|
|
%define itm_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le riscv64 s390 s390x %sparc
|
|
|
|
%define atomic_arch x86_64 %ix86 %arm aarch64 ppc ppc64 ppc64le s390 s390x %sparc m68k ia64 riscv64
|
|
|
|
%define lsan_arch x86_64 aarch64 ppc ppc64 ppc64le s390 s390x riscv64
|
|
|
|
%define ubsan_arch x86_64 %ix86 ppc ppc64 ppc64le s390 s390x %arm aarch64 riscv64
|
|
|
|
%if 0%{?build_libvtv:1}
|
|
|
|
%define vtv_arch x86_64 %ix86
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%define build_cp 1
|
|
|
|
%define build_fortran 1
|
|
|
|
%define build_objc 1
|
|
|
|
%define build_objcp 1
|
|
|
|
%define build_go 1
|
|
|
|
%ifarch x86_64 %ix86 %arm aarch64 riscv64 s390x
|
|
|
|
%define build_d 1
|
|
|
|
%else
|
|
|
|
%define build_d 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%define build_m2 1
|
|
|
|
|
|
|
|
%if %{build_objcp}
|
|
|
|
%define build_cp 1
|
|
|
|
%define build_objc 1
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%define build_rust 0
|
|
|
|
%if %{suse_version} >= 1699
|
|
|
|
# rust is still experimental, only build it for factory
|
|
|
|
%ifarch %ix86 x86_64 aarch64 riscv64
|
|
|
|
%define build_rust 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# For optional compilers only build C, C++, Fortran, Ada and Go
|
|
|
|
%if 0%{?build_optional_compiler_languages:1}
|
|
|
|
%define build_objc 0
|
|
|
|
%define build_objcp 0
|
|
|
|
%define build_d 0
|
|
|
|
%define build_rust 0
|
|
|
|
%define build_m2 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
%define build_nvptx 1
|
|
|
|
%else
|
|
|
|
%define build_nvptx 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
# SLE12 does not fulfil build requirements for GCN, SLE15 SP1 does
|
|
|
|
# technically also SLE12 SP5 but do not bother there
|
|
|
|
%if %{suse_version} >= 1550 || 0%{?sle_version:%sle_version} >= 150100
|
|
|
|
%define build_gcn 1
|
|
|
|
%else
|
|
|
|
%define build_gcn 0
|
|
|
|
%endif
|
|
|
|
%else
|
|
|
|
%define build_gcn 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%define use_lto_bootstrap 0
|
|
|
|
%ifarch x86_64 ppc64le s390x aarch64
|
|
|
|
%if %{suse_version} > 1500
|
|
|
|
%define use_lto_bootstrap %{with bootstrap}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Enable plugins just for Tumbleweed, not for SLES
|
|
|
|
%if 0%{!?sle_version:1}
|
|
|
|
%define enable_plugins 1
|
|
|
|
%define build_jit 1
|
|
|
|
%else
|
|
|
|
%define enable_plugins 0
|
|
|
|
%define build_jit 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Limit the number of parallel jobs to avoid OOM
|
|
|
|
%bcond_without limitbuild
|
|
|
|
|
|
|
|
# Shared library SONAME versions
|
|
|
|
%ifarch hppa
|
|
|
|
%define libgcc_s 4
|
|
|
|
%else
|
|
|
|
%ifarch m68k
|
|
|
|
%define libgcc_s 2
|
|
|
|
%else
|
|
|
|
%define libgcc_s 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%define libgomp_sover 1
|
|
|
|
%define libstdcxx_sover 6
|
|
|
|
%define libobjc_sover 4
|
|
|
|
%define libgfortran_sover 5
|
|
|
|
%define libquadmath_sover 0
|
|
|
|
%define libasan_sover 8
|
|
|
|
%define libtsan_sover 2
|
|
|
|
%define libhwasan_sover 0
|
|
|
|
%define libatomic_sover 1
|
|
|
|
%define libitm_sover 1
|
|
|
|
%define libubsan_sover 1
|
|
|
|
%define liblsan_sover 0
|
|
|
|
%define libvtv_sover 0
|
|
|
|
%define libgo_sover 23
|
|
|
|
%define libgphobos_sover 5
|
|
|
|
%define libgdruntime_sover 5
|
|
|
|
%define libgccjit_sover 0
|
|
|
|
%define libm2_sover 19
|
|
|
|
|
|
|
|
# Shared library package suffix
|
|
|
|
# This is used for the "non-standard" set of libraries, the standard
|
|
|
|
# being defined by %%product_libs_gcc_ver, the GCC version that should
|
|
|
|
# provide un-suffixed shared library packages following the shared-library
|
|
|
|
# policy. Even suffixed variants should provide the shared-library policy
|
|
|
|
# mandated names and ensure they conflict with each other.
|
|
|
|
# Individual shared libraries can be directed to be built from individual
|
|
|
|
# gcc versions by defining %%product_libs_gcc_ver_libgcc_s1 for example,
|
|
|
|
# generally %%product_libs_gcc_ver_%%name%%sover, similarly.
|
|
|
|
|
|
|
|
%define itsme@base_ver@ 1
|
|
|
|
%define plv_ %{!?product_libs_gcc_ver:@base_ver@}%{?product_libs_gcc_ver}
|
|
|
|
%define plv() %{expand:%%{!?itsme%{expand:%%{!?product_libs_gcc_ver_%{1}%{2}:%%{plv_}}%%{?product_libs_gcc_ver_%{1}%{2}}}:-gcc@base_ver@}}
|
|
|
|
|
|
|
|
%define libgcc_s_suffix %{plv libgcc_s %{libgcc_s}}
|
|
|
|
%define libgomp_suffix %{plv libgomp %{libgomp_sover}}
|
|
|
|
%define libstdcxx_suffix %{plv libstdcxx %{libstdcxx_sover}}
|
|
|
|
%define libobjc_suffix %{plv libobjc %{libobjc_sover}}
|
|
|
|
%define libgfortran_suffix %{plv libgfortran %{libgfortran_sover}}
|
|
|
|
%define libquadmath_suffix %{plv libquadmath %{libquadmath_sover}}
|
|
|
|
%define libasan_suffix %{plv libasan %{libasan_sover}}
|
|
|
|
%define libtsan_suffix %{plv libtsan %{libtsan_sover}}
|
|
|
|
%define libhwasan_suffix %{plv libhwasan %{libhwasan_sover}}
|
|
|
|
%define libatomic_suffix %{plv libatomic %{libatomic_sover}}
|
|
|
|
%define libitm_suffix %{plv libitm %{libitm_sover}}
|
|
|
|
%define libubsan_suffix %{plv libubsan %{libubsan_sover}}
|
|
|
|
%define liblsan_suffix %{plv liblsan %{liblsan_sover}}
|
|
|
|
%define libvtv_suffix %{plv libvtv %{libvtv_sover}}
|
|
|
|
%define libgo_suffix %{plv libgo %{libgo_sover}}
|
|
|
|
%define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
|
|
|
|
%define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
|
|
|
|
%define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
|
|
|
|
%define libm2_suffix %{plv libm2 %{libm2_sover}}
|
|
|
|
|
|
|
|
|
|
|
|
# libFOO-devel package suffix
|
|
|
|
%define libdevel_suffix -gcc@base_ver@
|
|
|
|
|
|
|
|
|
|
|
|
# SRC-COMMON-BEGIN
|
|
|
|
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
|
|
|
|
|
|
|
URL: https://gcc.gnu.org/
|
2024-08-08 17:26:31 +02:00
|
|
|
Version: 14.2.0+git10526
|
2024-07-22 17:56:30 +02:00
|
|
|
Release: 1
|
|
|
|
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
|
|
|
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
|
|
|
%define binsuffix -@base_ver@
|
|
|
|
# SRC-COMMON-END
|
|
|
|
|
|
|
|
Name: gcc@base_ver@
|
|
|
|
BuildRequires: xz
|
|
|
|
%if %{suse_version} > 1500
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
%endif
|
|
|
|
# With generated files in src we could drop the following
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: makeinfo
|
|
|
|
# until here, but at least renaming and patching info files breaks this
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glibc-devel-32bit
|
|
|
|
%if %{with limitbuild}
|
|
|
|
BuildRequires: memory-constraints
|
|
|
|
%endif
|
|
|
|
BuildRequires: mpc-devel
|
|
|
|
BuildRequires: mpfr-devel
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
%if %{suse_version} >= 1500
|
|
|
|
# for SDT markers in the C++ unwinder and gdb breakpoints on exceptions
|
|
|
|
BuildRequires: systemtap-headers
|
|
|
|
%endif
|
|
|
|
BuildRequires: isl-devel
|
|
|
|
%define hostsuffix %{nil}
|
|
|
|
%if %{build_ada}
|
|
|
|
%if 0%{?gcc_version:%{gcc_version}} > @base_ver@
|
|
|
|
%define hostsuffix %{binsuffix}
|
|
|
|
BuildRequires: gcc@base_ver@-ada
|
|
|
|
BuildRequires: gcc@base_ver@-c++
|
|
|
|
%else
|
|
|
|
%if %{suse_version} <= 1315
|
|
|
|
%define hostsuffix -7
|
|
|
|
BuildRequires: gcc7-ada
|
|
|
|
BuildRequires: gcc7-c++
|
|
|
|
%else
|
|
|
|
%define hostsuffix %{nil}
|
|
|
|
BuildRequires: gcc-ada
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if %{build_d}
|
|
|
|
%if %{suse_version} < 1550
|
|
|
|
BuildRequires: gcc11-d
|
|
|
|
BuildRequires: libstdc++6-devel-gcc11
|
|
|
|
%else
|
|
|
|
BuildRequires: gcc-d
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch ia64
|
|
|
|
BuildRequires: libunwind-devel
|
|
|
|
%endif
|
|
|
|
%if 0%{?run_tests:1}
|
|
|
|
BuildRequires: dejagnu
|
|
|
|
BuildRequires: expect
|
|
|
|
BuildRequires: gdb
|
|
|
|
BuildRequires: timezone
|
|
|
|
%if %{build_go}
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: netcfg
|
|
|
|
%endif
|
|
|
|
%if %{build_nvptx}
|
|
|
|
BuildRequires: cross-nvptx-gcc@base_ver@
|
|
|
|
BuildRequires: cross-nvptx-newlib@base_ver@-devel
|
|
|
|
%endif
|
|
|
|
%if %{build_gcn}
|
|
|
|
BuildRequires: cross-amdgcn-gcc@base_ver@
|
|
|
|
BuildRequires: cross-amdgcn-newlib@base_ver@-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
#!BuildIgnore: gcc-PIE
|
|
|
|
|
|
|
|
%define separate_bi32 0
|
|
|
|
%define separate_bi64 0
|
|
|
|
%if 0%{!?disable_32bit:1}
|
|
|
|
%ifarch ppc sparcv9
|
|
|
|
%define separate_bi64 1
|
|
|
|
%endif
|
|
|
|
%ifarch x86_64 s390x ppc64 sparc64
|
|
|
|
%define separate_bi32 1
|
|
|
|
%endif
|
|
|
|
%define disable_multilib_arch %{nil}
|
|
|
|
%else
|
|
|
|
%define disable_multilib_arch ppc sparcv9 x86_64 s390x ppc64 sparc64
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Define two macros to trigger -32bit or -64bit package variants
|
|
|
|
%define separate_biarch 0
|
|
|
|
%if %{separate_bi32}
|
|
|
|
%define separate_biarch 1
|
|
|
|
%define separate_biarch_suffix -32bit
|
|
|
|
%endif
|
|
|
|
%if %{separate_bi64}
|
|
|
|
%define separate_biarch 1
|
|
|
|
%define separate_biarch_suffix -64bit
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch aarch64 x86_64 ia64 s390x alpha ppc64 ppc64le sparc64 riscv64
|
|
|
|
# 64-bit is primary build target
|
|
|
|
%define build_primary_64bit 1
|
|
|
|
%else
|
|
|
|
%define build_primary_64bit 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if !0%{?building_testsuite:1}
|
|
|
|
Requires: binutils glibc-devel
|
|
|
|
Requires: cpp@base_ver@ = %{version}-%{release}
|
|
|
|
Requires: libgcc_s%{libgcc_s} >= %{version}-%{release}
|
|
|
|
Requires: libgomp%{libgomp_sover} >= %{version}-%{release}
|
|
|
|
%ifarch %asan_arch
|
|
|
|
Requires: libasan%{libasan_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %tsan_arch
|
|
|
|
%if %{build_primary_64bit}
|
|
|
|
Requires: libtsan%{libtsan_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch %hwasan_arch
|
|
|
|
Requires: libhwasan%{libhwasan_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %atomic_arch
|
|
|
|
Requires: libatomic%{libatomic_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %itm_arch
|
|
|
|
Requires: libitm%{libitm_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %lsan_arch
|
|
|
|
%if %{build_primary_64bit}
|
|
|
|
Requires: liblsan%{liblsan_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch %ubsan_arch
|
|
|
|
Requires: libubsan%{libubsan_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %vtv_arch
|
|
|
|
Requires: libvtv%{libvtv_sover} >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
Suggests: gcc@base_ver@-info gcc@base_ver@-locale
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# SRC-COMMON-BEGIN
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Source: gcc-%{version}.tar.xz
|
|
|
|
Source1: change_spec
|
|
|
|
Source2: gcc14-rpmlintrc
|
|
|
|
Source3: gcc14-testresults-rpmlintrc
|
|
|
|
Source4: README.First-for.SuSE.packagers
|
|
|
|
Source5: newlib-4.4.0.20231231.tar.xz
|
|
|
|
Patch2: gcc-add-defaultsspec.diff
|
|
|
|
Patch5: tls-no-direct.diff
|
|
|
|
Patch6: gcc43-no-unwind-tables.diff
|
|
|
|
Patch7: gcc48-libstdc++-api-reference.patch
|
|
|
|
Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
|
|
|
|
Patch15: gcc7-avoid-fixinc-error.diff
|
|
|
|
Patch16: gcc9-reproducible-builds.patch
|
|
|
|
Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
|
|
|
|
Patch19: gcc11-gdwarf-4-default.patch
|
|
|
|
Patch20: gcc13-pr101523.patch
|
2024-10-23 09:56:45 +02:00
|
|
|
Patch21: gcc14-pr116657.patch
|
2024-07-22 17:56:30 +02:00
|
|
|
# A set of patches from the RH srpm
|
|
|
|
Patch51: gcc41-ppc32-retaddr.patch
|
|
|
|
# Some patches taken from Debian
|
|
|
|
Patch60: gcc44-textdomain.patch
|
|
|
|
Patch61: gcc44-rename-info-files.patch
|
|
|
|
# Patches for embedded newlib
|
|
|
|
Patch100: newlib-gcn-iolock.diff
|
|
|
|
|
|
|
|
# GCC-TESTSUITE-DELETE-BEGIN
|
|
|
|
# SRC-COMMON-END
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Summary: The GNU C Compiler and Support Files
|
|
|
|
|
|
|
|
%description
|
|
|
|
Core package for the GNU Compiler Collection, including the C language
|
|
|
|
frontend.
|
|
|
|
|
|
|
|
Language frontends other than C are split to different sub-packages,
|
|
|
|
namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++, gcc-go,
|
|
|
|
gcc-rust and gcc-m2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n gcc@base_ver@-32bit
|
|
|
|
Summary: The GNU C Compiler 32bit support
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: gcc@base_ver@ = %{version}-%{release}
|
|
|
|
Requires: libgcc_s%{libgcc_s}-32bit >= %{version}-%{release}
|
|
|
|
Requires: libgomp%{libgomp_sover}-32bit >= %{version}-%{release}
|
|
|
|
%ifarch %asan_arch
|
|
|
|
Requires: libasan%{libasan_sover}-32bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %atomic_arch
|
|
|
|
Requires: libatomic%{libatomic_sover}-32bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %itm_arch
|
|
|
|
Requires: libitm%{libitm_sover}-32bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %ubsan_arch
|
|
|
|
Requires: libubsan%{libubsan_sover}-32bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %vtv_arch
|
|
|
|
Requires: libvtv%{libvtv_sover}-32bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
Requires: glibc-devel-32bit
|
|
|
|
|
|
|
|
%description -n gcc@base_ver@-32bit
|
|
|
|
This package contains 32bit support for the GNU Compiler Collection.
|
|
|
|
|
|
|
|
%package -n gcc@base_ver@-64bit
|
|
|
|
Summary: The GNU C Compiler 64bit support
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: gcc@base_ver@ = %{version}-%{release}
|
|
|
|
Requires: libgcc_s%{libgcc_s}-64bit >= %{version}-%{release}
|
|
|
|
Requires: libgomp%{libgomp_sover}-64bit >= %{version}-%{release}
|
|
|
|
%ifarch %asan_arch
|
|
|
|
Requires: libasan%{libasan_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %tsan_arch
|
|
|
|
Requires: libtsan%{libtsan_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %hwasan_arch
|
|
|
|
Requires: libhwasan%{libhwasan_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %atomic_arch
|
|
|
|
Requires: libatomic%{libatomic_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %itm_arch
|
|
|
|
Requires: libitm%{libitm_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %lsan_arch
|
|
|
|
Requires: liblsan%{liblsan_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %ubsan_arch
|
|
|
|
Requires: libubsan%{libubsan_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
%ifarch %vtv_arch
|
|
|
|
Requires: libvtv%{libvtv_sover}-64bit >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
Requires: glibc-devel-64bit
|
|
|
|
|
|
|
|
%description -n gcc@base_ver@-64bit
|
|
|
|
This package contains 64bit support for the GNU Compiler Collection.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: GCC plugins development enviroment
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: gcc@base_ver@ = %{version}-%{release}
|
|
|
|
Requires: gmp-devel
|
|
|
|
Requires: mpc-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Files required for developing and compiling GCC plugins.
|
|
|
|
|
|
|
|
|
|
|
|
%package locale
|
|
|
|
Summary: Locale Data for the GNU Compiler Collection
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: gcc@base_ver@ = %{version}-%{release}
|
|
|
|
|
|
|
|
%description locale
|
|
|
|
Locale data for the GNU Compiler Collection (GCC) to give error message
|
|
|
|
in the current locale.
|
|
|
|
|
|
|
|
|
|
|
|
%package PIE
|
|
|
|
Summary: A default configuration to build all binaries in PIE mode
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@ = %{version}-%{release}
|
|
|
|
|
|
|
|
%description PIE
|
|
|
|
This package contains a configuration file (spec) that changes the
|
|
|
|
compilers default setting to build all ELF binaries in the Position
|
|
|
|
Independend Executable (PIE) variant. This enables better address
|
|
|
|
space randomization (ASLR).
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package c++@variant@
|
|
|
|
Summary: The GNU C++ Compiler
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-c++ = %{version}-%{release}
|
|
|
|
Requires: libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}@variant@ = %{version}-%{release}
|
|
|
|
|
|
|
|
%description c++@variant@
|
|
|
|
This package contains the GNU compiler for C++.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}@variant@
|
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: libstdc++%{libstdcxx_sover}@variant@ >= %{version}-%{release}
|
|
|
|
Requires: glibc-devel@variant@
|
|
|
|
%ifarch ia64
|
|
|
|
Requires: libunwind-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}@variant@
|
|
|
|
This package contains all the headers and libraries of the standard C++
|
|
|
|
library. It is needed for compiling C++ code.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libstdc++%{libstdcxx_sover}-pp%{libstdcxx_suffix}@variant@
|
|
|
|
Summary: GDB pretty printers for the C++ standard library
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
# The -pp packages are tied to a specific shared library
|
|
|
|
Requires: libstdc++%{libstdcxx_sover}@variant@ = %{version}-%{release}
|
|
|
|
Requires: libstdc++%{libstdcxx_sover}-pp%{libstdcxx_suffix} = %{version}-%{release}
|
|
|
|
Provides: libstdc++%{libstdcxx_sover}-pp@variant@ = %{version}-%{release}
|
|
|
|
# To allow updates from libstdc++6-pp-gccM to libstdc++6-pp we need
|
|
|
|
# enumerates Obsoletes, the separate -pp package was introduced with GCC9
|
|
|
|
# and dropped somewhen during the GCC11 to GCC12 transition
|
|
|
|
Obsoletes: libstdc++6-pp-gcc9@variant@ libstdc++6-pp-gcc10@variant@
|
|
|
|
Obsoletes: libstdc++6-pp-gcc11@variant@
|
|
|
|
Provides: libstdc++6-pp-gcc9@variant@ libstdc++6-pp-gcc10@variant@
|
|
|
|
Provides: libstdc++6-pp-gcc11@variant@
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libstdc++%{libstdcxx_sover}-pp@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
# packageand() does not work with versioned specifications so the fallback
|
|
|
|
# is a Requires from libstdc++-devel to preserve previous behavior.
|
|
|
|
%if %{suse_version} >= 1500
|
|
|
|
Supplements: (gdb and libstdc++%{libstdcxx_sover}@variant@ = %{version}-%{release})
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description -n libstdc++%{libstdcxx_sover}-pp%{libstdcxx_suffix}@variant@
|
|
|
|
This package contains pretty printers for the C++ standard library usable
|
|
|
|
from GDB.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@
|
|
|
|
Summary: C compiler runtime library
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: System/Base
|
|
|
|
Provides: libgcc_s%{libgcc_s}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgcc_s%{libgcc_s}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@
|
|
|
|
Libgcc is needed for dynamically linked C programs.
|
|
|
|
|
|
|
|
%post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@
|
|
|
|
Summary: The GNU compiler collection OpenMP runtime library
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: System/Base
|
|
|
|
Provides: libgomp%{libgomp_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgomp%{libgomp_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@
|
|
|
|
This is the OpenMP runtime library needed by OpenMP enabled programs
|
|
|
|
that were built with the -fopenmp compiler option and by programs that
|
|
|
|
were auto-parallelized via the -ftree-parallelize-loops compiler
|
|
|
|
option.
|
|
|
|
|
|
|
|
|
|
|
|
%post -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgomp%{libgomp_sover}%{libgomp_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@
|
|
|
|
Summary: The standard C++ shared library
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: System/Libraries
|
|
|
|
Suggests: libstdc++%{libstdcxx_sover}-locale
|
|
|
|
Provides: libstdc++%{libstdcxx_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libstdc++%{libstdcxx_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
# Fallback for non-existing Supplements support
|
|
|
|
%if %{suse_version} < 1500
|
|
|
|
Recommends: libstdc++%{libstdcxx_sover}-pp@variant@ = %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
# The std::chrono timezone database is provided by timezone
|
|
|
|
# (/usr/share/zoneinfo/tzdata.zi), without that the tzdb is empty and
|
|
|
|
# will only provide UTC. We don't want a Requires here though, instead
|
|
|
|
# the overall product needs to decide what to provide, see boo#1221601
|
|
|
|
|
|
|
|
%description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@
|
|
|
|
The standard C++ library, needed for dynamically linked C++ programs.
|
|
|
|
|
|
|
|
|
|
|
|
%post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
%package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale
|
|
|
|
Summary: Standard C++ Library Locales
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: libstdc++%{libstdcxx_sover}-locale = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libstdc++%{libstdcxx_sover}-locale
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale
|
|
|
|
The standard C++ library locale data.
|
|
|
|
|
|
|
|
|
|
|
|
%package info
|
|
|
|
Summary: Documentation for the GNU compiler collection
|
|
|
|
License: GFDL-1.2-only
|
|
|
|
Group: Documentation/Other
|
|
|
|
PreReq: %{install_info_prereq}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description info
|
|
|
|
GNU info-pages for the GNU compiler collection covering both user-level
|
|
|
|
and internals documentation.
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package objc@variant@
|
|
|
|
Summary: GNU Objective C Compiler
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-objc = %{version}-%{release}
|
|
|
|
Requires: libobjc%{libobjc_sover}@variant@ >= %{version}-%{release}
|
|
|
|
|
|
|
|
%description objc@variant@
|
|
|
|
This package contains the GNU Objective C compiler. Objective C is an
|
|
|
|
object oriented language, created by Next Inc. and used in their
|
|
|
|
Nextstep OS. The source code is available in the gcc package.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@
|
|
|
|
Summary: Library for the GNU Objective C Compiler
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Provides: libobjc%{libobjc_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libobjc%{libobjc_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@
|
|
|
|
The library for the GNU Objective C compiler.
|
|
|
|
|
|
|
|
%post -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libobjc%{libobjc_sover}%{libobjc_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package obj-c++@variant@
|
|
|
|
Summary: GNU Objective C++ Compiler
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@-objc@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-c++@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-obj-c++ = %{version}-%{release}
|
|
|
|
|
|
|
|
%description obj-c++@variant@
|
|
|
|
This package contains the GNU Objective C++ compiler. Objective C++ is an
|
|
|
|
object oriented language, created by Next Inc. and used in their
|
|
|
|
Nextstep OS. The source code is available in the gcc package.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
|
|
|
|
%package -n cpp@base_ver@
|
|
|
|
Summary: The GCC Preprocessor
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
|
|
|
|
%description -n cpp@base_ver@
|
|
|
|
This Package contains just the preprocessor that is used by the X11
|
|
|
|
packages.
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package ada@variant@
|
|
|
|
Summary: GNU Ada Compiler Based on GCC (GNAT)
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-ada = %{version}-%{release}
|
|
|
|
Requires: libada@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
|
|
|
|
%description ada@variant@
|
|
|
|
This package contains an Ada compiler and associated development
|
|
|
|
tools based on the GNU GCC technology.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libada@base_ver@@variant@
|
|
|
|
Summary: GNU Ada Runtime Libraries
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: libgnarl-@base_ver@@variant@ = %{version}-%{release}
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgnarl-@base_ver@@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
Provides: libgnat-@base_ver@@variant@ = %{version}-%{release}
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgnat-@base_ver@@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libada@base_ver@@variant@
|
|
|
|
This package contains the shared libraries required to run programs
|
|
|
|
compiled with the GNU Ada compiler (GNAT) if they are compiled to use
|
|
|
|
shared libraries. It also contains the shared libraries for the
|
|
|
|
Implementation of the Ada Semantic Interface Specification (ASIS), the
|
|
|
|
implementation of Distributed Systems Programming (GLADE) and the Posix
|
|
|
|
1003.5 Binding (Florist).
|
|
|
|
|
|
|
|
%post -n libada@base_ver@@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libada@base_ver@@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package fortran@variant@
|
|
|
|
Summary: The GNU Fortran Compiler and Support Files
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Fortran
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-fortran = %{version}-%{release}
|
|
|
|
Requires: libgfortran%{libgfortran_sover}@variant@ >= %{version}-%{release}
|
|
|
|
%ifarch %quadmath_arch
|
2024-08-08 17:26:31 +02:00
|
|
|
Requires: libquadmath%{libquadmath_sover}-devel%{libdevel_suffix}@variant@ = %{version}-%{release}
|
2024-07-22 17:56:30 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description fortran@variant@
|
|
|
|
This is the Fortran compiler of the GNU Compiler Collection (GCC).
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@
|
|
|
|
Summary: The GNU Fortran Compiler Runtime Library
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: Development/Languages/Fortran
|
|
|
|
%ifarch %quadmath_arch
|
|
|
|
Requires: libquadmath%{libquadmath_sover}@variant@ >= %{version}-%{release}
|
|
|
|
%endif
|
|
|
|
Provides: libgfortran%{libgfortran_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgfortran%{libgfortran_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the Fortran compiler
|
|
|
|
of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@
|
|
|
|
Summary: The GNU Fortran Compiler Quadmath Runtime Library
|
|
|
|
License: LGPL-2.1-only
|
|
|
|
Group: Development/Languages/Fortran
|
|
|
|
Provides: libquadmath%{libquadmath_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libquadmath%{libquadmath_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the Fortran compiler
|
|
|
|
of the GNU Compiler Collection (GCC) and quadruple precision floating point
|
|
|
|
operations.
|
|
|
|
|
|
|
|
%post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
2024-08-08 17:26:31 +02:00
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libquadmath%{libquadmath_sover}-devel%{libdevel_suffix}@variant@
|
|
|
|
Summary: The GNU Fortran Compiler Quadmath Runtime Library Development Files
|
|
|
|
License: LGPL-2.1-only
|
|
|
|
Group: Development/Languages/Fortran
|
|
|
|
Requires: libquadmath%{libquadmath_sover}@variant@ >= %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libquadmath%{libquadmath_sover}-devel%{libdevel_suffix}@variant@
|
|
|
|
The libquadmatah runtime library development files.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
2024-07-22 17:56:30 +02:00
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libitm%{libitm_sover}%{libitm_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Transactional Memory Runtime Library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libitm%{libitm_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libitm%{libitm_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libitm%{libitm_sover}%{libitm_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the
|
|
|
|
-fgnu-tm option of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libitm%{libitm_sover}%{libitm_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libitm%{libitm_sover}%{libitm_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libasan%{libasan_sover}%{libasan_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Address Sanitizer Runtime Library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libasan%{libasan_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libasan%{libasan_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libasan%{libasan_sover}%{libasan_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the
|
|
|
|
-fsanitize=address option of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libasan%{libasan_sover}%{libasan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libasan%{libasan_sover}%{libasan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libtsan%{libtsan_sover}%{libtsan_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Thread Sanitizer Runtime Library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libtsan%{libtsan_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libtsan%{libtsan_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libtsan%{libtsan_sover}%{libtsan_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the
|
|
|
|
-fsanitize=thread option of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libtsan%{libtsan_sover}%{libtsan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libtsan%{libtsan_sover}%{libtsan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Hardware-assisted Address Sanitizer Runtime Library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libhwasan%{libhwasan_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libhwasan%{libhwasan_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the
|
|
|
|
-fsanitize=hwaddress option of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libatomic%{libatomic_sover}%{libatomic_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Atomic Operations Runtime Library
|
|
|
|
License: GPL-3.0-or-later WITH GCC-exception-3.1
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libatomic%{libatomic_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libatomic%{libatomic_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libatomic%{libatomic_sover}%{libatomic_suffix}@variant@
|
|
|
|
The runtime library for atomic operations of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libatomic%{libatomic_sover}%{libatomic_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libatomic%{libatomic_sover}%{libatomic_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n liblsan%{liblsan_sover}%{liblsan_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Leak Sanitizer Runtime Library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: liblsan%{liblsan_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: liblsan%{liblsan_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n liblsan%{liblsan_sover}%{liblsan_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the
|
|
|
|
-fsanitize=leak option of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n liblsan%{liblsan_sover}%{liblsan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n liblsan%{liblsan_sover}%{liblsan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libubsan%{libubsan_sover}%{libubsan_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Undefined Sanitizer Runtime Library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libubsan%{libubsan_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libubsan%{libubsan_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libubsan%{libubsan_sover}%{libubsan_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the
|
|
|
|
-fsanitize=undefined option of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libubsan%{libubsan_sover}%{libubsan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libubsan%{libubsan_sover}%{libubsan_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libvtv%{libvtv_sover}%{libvtv_suffix}@variant@
|
|
|
|
Summary: The GNU Compiler Vtable Verifier Runtime Library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libvtv%{libvtv_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libvtv%{libvtv_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libvtv%{libvtv_sover}%{libvtv_suffix}@variant@
|
|
|
|
The runtime library needed to run programs compiled with the
|
|
|
|
-fvtable-verify option of the GNU Compiler Collection (GCC).
|
|
|
|
|
|
|
|
%post -n libvtv%{libvtv_sover}%{libvtv_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libvtv%{libvtv_sover}%{libvtv_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package go@variant@
|
|
|
|
Summary: GNU Go Compiler
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-go = %{version}-%{release}
|
|
|
|
Requires: libgo%{libgo_sover}@variant@ >= %{version}-%{release}
|
|
|
|
|
|
|
|
%description go@variant@
|
|
|
|
This package contains a Go compiler and associated development
|
|
|
|
files based on the GNU GCC technology.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libgo%{libgo_sover}%{libgo_suffix}@variant@
|
|
|
|
Summary: GNU Go compiler runtime library
|
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Provides: libgo%{libgo_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgo%{libgo_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libgo%{libgo_sover}%{libgo_suffix}@variant@
|
|
|
|
Runtime library for the GNU Go language.
|
|
|
|
|
|
|
|
%post -n libgo%{libgo_sover}%{libgo_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgo%{libgo_sover}%{libgo_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package d@variant@
|
|
|
|
Summary: GNU D Compiler
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-d = %{version}-%{release}
|
|
|
|
Requires: libgphobos%{libgphobos_sover}@variant@ >= %{version}-%{release}
|
|
|
|
Requires: libgdruntime%{libgdruntime_sover}@variant@ >= %{version}-%{release}
|
|
|
|
|
|
|
|
%description d@variant@
|
|
|
|
This package contains a D compiler and associated development
|
|
|
|
files based on the GNU GCC technology.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}@variant@
|
|
|
|
Summary: GNU D compiler runtime library
|
|
|
|
License: BSL-1.0
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Provides: libgphobos%{libgphobos_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgphobos%{libgphobos_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}@variant@
|
|
|
|
Runtime library for the GNU D language.
|
|
|
|
|
|
|
|
%post -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}@variant@
|
|
|
|
Summary: GNU D compiler runtime library
|
|
|
|
License: BSL-1.0
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Provides: libgdruntime%{libgdruntime_sover}@variant@ = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgdruntime%{libgdruntime_sover}@variant@
|
2024-07-22 17:56:30 +02:00
|
|
|
|
|
|
|
%description -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}@variant@
|
|
|
|
Runtime library for the GNU D language.
|
|
|
|
|
|
|
|
%post -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}@variant@ -p /sbin/ldconfig
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
%package -n libgccjit%{libgccjit_sover}%{libgccjit_suffix}
|
|
|
|
Summary: The GNU Compiler Collection JIT library
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libgccjit%{libgccjit_sover} = %{version}-%{release}
|
|
|
|
# Only one package may provide this - allows multiple gcc versions
|
|
|
|
# to co-exist without an overly large list of provides/obsoletes
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgccjit%{libgccjit_sover}
|
2024-07-22 17:56:30 +02:00
|
|
|
# At runtime the JIT needs to be able to invoke the assembler and
|
|
|
|
# linker and find startfiles and libgcc. The built-in driver knows
|
|
|
|
# the compilers version install directory only so we require the
|
|
|
|
# respective compiler libgccjit was built from.
|
|
|
|
Requires: gcc@base_ver@
|
|
|
|
|
|
|
|
%description -n libgccjit%{libgccjit_sover}%{libgccjit_suffix}
|
|
|
|
Support for embedding GCC inside programs and libraries
|
|
|
|
|
|
|
|
%post -n libgccjit%{libgccjit_sover}%{libgccjit_suffix} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgccjit%{libgccjit_sover}%{libgccjit_suffix} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%package -n libgccjit%{libgccjit_sover}-devel%{libdevel_suffix}
|
|
|
|
Summary: Support for embedding GCC inside programs and libraries
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Provides: libgccjit%{libgccjit_sover}-devel = %{version}-%{release}
|
|
|
|
# Only one gccjit package can be installed at the same time since
|
|
|
|
# header files conflict
|
2024-08-08 17:26:31 +02:00
|
|
|
Conflicts: libgccjit%{libgccjit_sover}-devel
|
2024-07-22 17:56:30 +02:00
|
|
|
Requires: libgccjit%{libgccjit_sover} >= %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libgccjit%{libgccjit_sover}-devel%{libdevel_suffix}
|
|
|
|
Package contains header files and documentation for GCC JIT front-end.
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package rust@variant@
|
|
|
|
Summary: GNU Rust Compiler
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-rust = %{version}-%{release}
|
|
|
|
|
|
|
|
%description rust@variant@
|
|
|
|
This package contains a Rust compiler.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
|
|
|
|
# PACKAGE-BEGIN
|
|
|
|
%package m2@variant@
|
|
|
|
Summary: GNU Modula-2 Compiler
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: gcc@base_ver@@variant@ = %{version}-%{release}
|
|
|
|
Requires: gcc@base_ver@-m2 = %{version}-%{release}
|
|
|
|
Requires: libm2log%{libm2_sover}@variant@ >= %{version}-%{release}
|
|
|
|
Requires: libm2cor%{libm2_sover}@variant@ >= %{version}-%{release}
|
|
|
|
Requires: libm2iso%{libm2_sover}@variant@ >= %{version}-%{release}
|
|
|
|
Requires: libm2pim%{libm2_sover}@variant@ >= %{version}-%{release}
|
|
|
|
Requires: libm2min%{libm2_sover}@variant@ >= %{version}-%{release}
|
|
|
|
Requires: libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}@variant@ = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description m2@variant@
|
|
|
|
This package contains a Modula-2 compiler.
|
|
|
|
# PACKAGE-END
|
|
|
|
|
|
|
|
|
|