Blame SPECS/compat-sap-c++-10.spec

0f71cd
%global __python /usr/bin/python3
0f71cd
%global scl 1
0f71cd
%global scl_prefix compat-sap-
0f71cd
%global _root_prefix /opt/rh/SAP
0f71cd
%global _root_infodir %{_root_prefix}/%{_infodir}
0f71cd
%global _root_mandir %{_root_prefix}/%{_mandir}
0f71cd
%{?scl:%global __strip strip}
0f71cd
%{?scl:%global __objdump objdump}
0f71cd
%global DATE 20200723
0f71cd
%global gitrev 3fc88aa16f1bf661db4518d6d62869f081981981
0f71cd
%global gcc_version 10.2.1
0f71cd
%global gcc_major 10
0f71cd
# Note, gcc_release must be integer, if you want to add suffixes to
0f71cd
# %%{release}, append them after %%{gcc_release} on Release: line.
0f71cd
%global gcc_release 1
0f71cd
%global _unpackaged_files_terminate_build 0
0f71cd
%undefine _annotated_build
0f71cd
%global multilib_64_archs sparc64 ppc64 s390x x86_64
0f71cd
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
0f71cd
%global attr_ifunc 1
0f71cd
%else
0f71cd
%global attr_ifunc 0
0f71cd
%endif
0f71cd
%ifarch x86_64
0f71cd
%global multilib_32_arch i686
0f71cd
%endif
0f71cd
Summary: C++ compatibility runtime library for SAP applications
0f71cd
Name: %{?scl_prefix}c++-10
0f71cd
ExclusiveArch: x86_64 ppc64le
0f71cd
Version: %{gcc_version}
0f71cd
Release: %{gcc_release}%{?dist}
0f71cd
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
0f71cd
# GCC Runtime Exception.
0f71cd
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
0f71cd
# The source for this package was pulled from upstream's vcs.  Use the
0f71cd
# following commands to generate the tarball:
0f71cd
# git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp
0f71cd
# git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin %%{gitrev}
0f71cd
# git --git-dir=gcc-dir.tmp/.git archive --prefix=%%{name}-%%{version}-%%{DATE}/ %%{gitrev} | xz -9e > %%{name}-%%{version}-%%{DATE}.tar.xz
0f71cd
# rm -rf gcc-dir.tmp
0f71cd
Source0: gcc-%{version}-%{DATE}.tar.xz
0f71cd
URL: http://gcc.gnu.org
0f71cd
# Need binutils with -pie support >= 2.14.90.0.4-4
0f71cd
# Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
0f71cd
# Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2
0f71cd
# Need binutils which support .weakref >= 2.16.91.0.3-1
0f71cd
# Need binutils which support --hash-style=gnu >= 2.17.50.0.2-7
0f71cd
# Need binutils which support mffgpr and mftgpr >= 2.17.50.0.2-8
0f71cd
# Need binutils which support --build-id >= 2.17.50.0.17-3
0f71cd
# Need binutils which support %%gnu_unique_object >= 2.19.51.0.14
0f71cd
# Need binutils which support .cfi_sections >= 2.19.51.0.14-33
0f71cd
# Need binutils which support --no-add-needed >= 2.20.51.0.2-12
0f71cd
# Need binutils which support -plugin
0f71cd
# Need binutils which support .loc view >= 2.30
0f71cd
# Need binutils which support --generate-missing-build-notes=yes >= 2.31
0f71cd
BuildRequires: binutils >= 2.19.51.0.14-33
0f71cd
# While gcc doesn't include statically linked binaries, during testing
0f71cd
# -static is used several times.
0f71cd
BuildRequires: glibc-static
0f71cd
BuildRequires: gcc, gcc-c++
0f71cd
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils, gcc-gfortran
0f71cd
BuildRequires: /usr/bin/pod2man
0f71cd
# For VTA guality testing
0f71cd
BuildRequires: gdb
0f71cd
# Make sure pthread.h doesn't contain __thread tokens
0f71cd
# Make sure glibc supports stack protector
0f71cd
# Make sure glibc supports DT_GNU_HASH
0f71cd
BuildRequires: glibc-devel >= 2.4.90-13
0f71cd
BuildRequires: elfutils-devel >= 0.147
0f71cd
BuildRequires: elfutils-libelf-devel >= 0.147
0f71cd
%if 0%{?rhel} >= 8
0f71cd
BuildRequires: libzstd-devel
0f71cd
%endif
0f71cd
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
0f71cd
# Make sure glibc supports TFmode long double
0f71cd
BuildRequires: glibc >= 2.3.90-35
0f71cd
%endif
0f71cd
%ifarch %{multilib_64_archs} sparcv9 ppc
0f71cd
# Ensure glibc{,-devel} is installed for both multilib arches
0f71cd
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
0f71cd
%endif
0f71cd
%ifarch ia64
0f71cd
BuildRequires: libunwind >= 0.98
0f71cd
%endif
0f71cd
# Need .eh_frame ld optimizations
0f71cd
# Need proper visibility support
0f71cd
# Need -pie support
0f71cd
# Need --as-needed/--no-as-needed support
0f71cd
# On ppc64, need omit dot symbols support and --non-overlapping-opd
0f71cd
# Need binutils that owns /usr/bin/c++filt
0f71cd
# Need binutils that support .weakref
0f71cd
# Need binutils that supports --hash-style=gnu
0f71cd
# Need binutils that support mffgpr/mftgpr
0f71cd
# Need binutils that support --build-id
0f71cd
# Need binutils that support %%gnu_unique_object
0f71cd
# Need binutils that support .cfi_sections
0f71cd
# Need binutils that support --no-add-needed
0f71cd
# Need binutils that support -plugin
0f71cd
# Need binutils that support .loc view >= 2.30
0f71cd
# Need binutils which support --generate-missing-build-notes=yes >= 2.31
0f71cd
# Don't require this for compat-sap-c++ (#1491573).
0f71cd
#Requires: binutils >= 2.19.51.0.14-33
0f71cd
# Make sure gdb will understand DW_FORM_strp
0f71cd
Conflicts: gdb < 5.1-2
0f71cd
# Don't require this for compat-sap-c++ (#1491573).
0f71cd
#Requires: glibc-devel >= 2.2.90-12
0f71cd
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
0f71cd
# Make sure glibc supports TFmode long double
0f71cd
Requires: glibc >= 2.3.90-35
0f71cd
%endif
0f71cd
Requires: libgcc >= 4.1.2-43
0f71cd
# Keep this for now.
0f71cd
Requires: libgomp >= 4.4.4-13
0f71cd
BuildRequires: gmp-devel >= 4.1.2-8
0f71cd
BuildRequires: mpfr-devel >= 3.1.0
0f71cd
%if 0%{?rhel} >= 7
0f71cd
BuildRequires: libmpc-devel >= 0.8.1
0f71cd
%endif
0f71cd
AutoReq: true
0f71cd
AutoProv: false
0f71cd
# Don't provide this for compat-sap-c++ (#1491573).
0f71cd
#%ifarch sparc64 ppc64 ppc64le s390x x86_64 ia64
0f71cd
#Provides: liblto_plugin.so.0()(64bit)
0f71cd
#%else
0f71cd
#Provides: liblto_plugin.so.0
0f71cd
#%endif
0f71cd
%global oformat %{nil}
0f71cd
%global oformat2 %{nil}
0f71cd
%ifarch %{ix86}
0f71cd
%global oformat OUTPUT_FORMAT(elf32-i386)
0f71cd
%endif
0f71cd
%ifarch x86_64
0f71cd
%global oformat OUTPUT_FORMAT(elf64-x86-64)
0f71cd
%global oformat2 OUTPUT_FORMAT(elf32-i386)
0f71cd
%endif
0f71cd
%ifarch ppc
0f71cd
%global oformat OUTPUT_FORMAT(elf32-powerpc)
0f71cd
%global oformat2 OUTPUT_FORMAT(elf64-powerpc)
0f71cd
%endif
0f71cd
%ifarch ppc64
0f71cd
%global oformat OUTPUT_FORMAT(elf64-powerpc)
0f71cd
%global oformat2 OUTPUT_FORMAT(elf32-powerpc)
0f71cd
%endif
0f71cd
%ifarch s390
0f71cd
%global oformat OUTPUT_FORMAT(elf32-s390)
0f71cd
%endif
0f71cd
%ifarch s390x
0f71cd
%global oformat OUTPUT_FORMAT(elf64-s390)
0f71cd
%global oformat2 OUTPUT_FORMAT(elf32-s390)
0f71cd
%endif
0f71cd
%ifarch ia64
0f71cd
%global oformat OUTPUT_FORMAT(elf64-ia64-little)
0f71cd
%endif
0f71cd
%ifarch ppc64le
0f71cd
%global oformat OUTPUT_FORMAT(elf64-powerpcle)
0f71cd
%endif
0f71cd
%ifarch aarch64
0f71cd
%global oformat OUTPUT_FORMAT(elf64-littleaarch64)
0f71cd
%endif
0f71cd
0f71cd
Patch0: gcc10-hack.patch
0f71cd
Patch1: gcc10-i386-libgomp.patch
0f71cd
Patch2: gcc10-sparc-config-detection.patch
0f71cd
Patch3: gcc10-libgomp-omp_h-multilib.patch
0f71cd
Patch4: gcc10-libtool-no-rpath.patch
0f71cd
Patch7: gcc10-no-add-needed.patch
0f71cd
Patch8: gcc10-foffload-default.patch
0f71cd
Patch9: gcc10-Wno-format-security.patch
0f71cd
Patch10: gcc10-rh1574936.patch
0f71cd
Patch11: gcc10-d-shared-libphobos.patch
0f71cd
0f71cd
%if 0%{?rhel} > 7
0f71cd
%global nonsharedver 80
0f71cd
%else
0f71cd
%if 0%{?rhel} == 7
0f71cd
%global nonsharedver 48
0f71cd
%else
0f71cd
%global nonsharedver 44
0f71cd
%endif
0f71cd
%endif
0f71cd
0f71cd
%if 0%{?scl:1}
0f71cd
%global _gnu %{nil}
0f71cd
%else
0f71cd
%global _gnu -gnueabi
0f71cd
%endif
0f71cd
%ifarch sparcv9
0f71cd
%global gcc_target_platform sparc64-%{_vendor}-%{_target_os}
0f71cd
%endif
0f71cd
%ifarch ppc ppc64p7
0f71cd
%global gcc_target_platform ppc64-%{_vendor}-%{_target_os}
0f71cd
%endif
0f71cd
%ifnarch sparcv9 ppc ppc64p7
0f71cd
%global gcc_target_platform %{_target_platform}
0f71cd
%endif
0f71cd
0f71cd
%description
0f71cd
This package provides runtime compatibility libraries for use by SAP
0f71cd
application binaries only.
0f71cd
0f71cd
%prep
0f71cd
%setup -q -n gcc-%{version}-%{DATE}
0f71cd
%patch0 -p0 -b .hack~
0f71cd
%patch1 -p0 -b .i386-libgomp~
0f71cd
%patch2 -p0 -b .sparc-config-detection~
0f71cd
%patch3 -p0 -b .libgomp-omp_h-multilib~
0f71cd
%patch4 -p0 -b .libtool-no-rpath~
0f71cd
%patch7 -p0 -b .no-add-needed~
0f71cd
%patch8 -p0 -b .foffload-default~
0f71cd
%patch9 -p0 -b .Wno-format-security~
0f71cd
%if 0%{?fedora} >= 29 || 0%{?rhel} > 7
0f71cd
%patch10 -p0 -b .rh1574936~
0f71cd
%endif
0f71cd
%patch11 -p0 -b .d-shared-libphobos~
0f71cd
0f71cd
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
0f71cd
0f71cd
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
0f71cd
cp -a libstdc++-v3/config/cpu/i{4,3}86/opt
0f71cd
echo 'TM_H += $(srcdir)/config/rs6000/rs6000-modes.h' >> gcc/config/rs6000/t-rs6000
0f71cd
0f71cd
./contrib/gcc_update --touch
0f71cd
0f71cd
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
0f71cd
0f71cd
sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt
0f71cd
0f71cd
%ifarch ppc
0f71cd
if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
0f71cd
  mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64
0f71cd
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{,64/}baseline_symbols.txt
0f71cd
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{32/,}baseline_symbols.txt
0f71cd
  rm -rf libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32
0f71cd
fi
0f71cd
%endif
0f71cd
%ifarch sparc
0f71cd
if [ -d libstdc++-v3/config/abi/post/sparc64-linux-gnu ]; then
0f71cd
  mkdir -p libstdc++-v3/config/abi/post/sparc64-linux-gnu/64
0f71cd
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{,64/}baseline_symbols.txt
0f71cd
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{32/,}baseline_symbols.txt
0f71cd
  rm -rf libstdc++-v3/config/abi/post/sparc64-linux-gnu/32
0f71cd
fi
0f71cd
%endif
0f71cd
0f71cd
%build
0f71cd
0f71cd
# Undo the broken autoconf change in recent Fedora versions
0f71cd
export CONFIG_SITE=NONE
0f71cd
0f71cd
rm -rf obj-%{gcc_target_platform}
0f71cd
mkdir obj-%{gcc_target_platform}
0f71cd
cd obj-%{gcc_target_platform}
0f71cd
0f71cd
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
0f71cd
0f71cd
CC=gcc
0f71cd
CXX=g++
0f71cd
OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
0f71cd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-flto//g;s/-ffat-lto-objects//g'`
0f71cd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
0f71cd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
0f71cd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
0f71cd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Werror=format-security/-Wformat-security/g'`
0f71cd
%ifarch sparc
0f71cd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
0f71cd
%endif
0f71cd
%ifarch %{ix86}
0f71cd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
0f71cd
%endif
0f71cd
OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'`
0f71cd
CONFIGURE_OPTS="\
0f71cd
	--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
0f71cd
	--with-bugurl=http://bugzilla.redhat.com/bugzilla \
0f71cd
	--enable-shared --enable-threads=posix --enable-checking=release \
0f71cd
%ifarch ppc64le
0f71cd
	--enable-targets=powerpcle-linux --disable-multilib \
0f71cd
%else
0f71cd
	--enable-multilib \
0f71cd
%endif
0f71cd
	--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
0f71cd
	--enable-gnu-unique-object \
0f71cd
	--enable-linker-build-id --with-gcc-major-version-only \
0f71cd
	--enable-plugin --with-linker-hash-style=gnu \
0f71cd
	--enable-initfini-array \
0f71cd
	--disable-libquadmath \
0f71cd
	--disable-libsanitizer \
0f71cd
	--disable-libvtv \
0f71cd
	--disable-libgomp \
0f71cd
	--disable-libitm \
0f71cd
	--disable-libssp \
0f71cd
	--disable-libatomic \
0f71cd
	--disable-libcilkrts \
0f71cd
	--without-isl \
0f71cd
	--disable-libmpx \
0f71cd
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
0f71cd
%if %{attr_ifunc}
0f71cd
	--enable-gnu-indirect-function \
0f71cd
%endif
0f71cd
%endif
0f71cd
%ifarch ppc ppc64 ppc64le ppc64p7
0f71cd
	--enable-secureplt \
0f71cd
%endif
0f71cd
%ifarch ppc ppc64 ppc64p7
0f71cd
%if 0%{?rhel} >= 7
0f71cd
	--with-cpu-32=power7 --with-tune-32=power7 --with-cpu-64=power7 --with-tune-64=power7 \
0f71cd
%else
0f71cd
	--with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \
0f71cd
%endif
0f71cd
%endif
0f71cd
%ifarch ppc64le
0f71cd
	--with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \
0f71cd
%endif
0f71cd
%ifarch ppc
0f71cd
	--build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
0f71cd
%endif
0f71cd
%ifarch %{ix86} x86_64
0f71cd
	--with-tune=generic \
0f71cd
%endif
0f71cd
%if 0%{?rhel} >= 7
0f71cd
%ifarch %{ix86}
0f71cd
	--with-arch=x86-64 \
0f71cd
%endif
0f71cd
%ifarch x86_64
0f71cd
	--with-arch_32=x86-64 \
0f71cd
%endif
0f71cd
%else
0f71cd
%ifarch %{ix86}
0f71cd
	--with-arch=i686 \
0f71cd
%endif
0f71cd
%ifarch x86_64
0f71cd
	--with-arch_32=i686 \
0f71cd
%endif
0f71cd
%endif
0f71cd
	--build=%{gcc_target_platform} \
0f71cd
	"
0f71cd
0f71cd
CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
0f71cd
	CXXFLAGS="`echo " $OPT_FLAGS " | sed 's/ -Wall / /g;s/ -fexceptions / /g' \
0f71cd
		  | sed 's/ -Wformat-security / -Wformat -Wformat-security /'`" \
0f71cd
	XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
0f71cd
	../configure --enable-bootstrap \
0f71cd
	--enable-languages=c,c++,lto \
0f71cd
	$CONFIGURE_OPTS
0f71cd
0f71cd
0f71cd
make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS"
0f71cd
0f71cd
%install
0f71cd
rm -fr %{buildroot}
0f71cd
0f71cd
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
0f71cd
mkdir -p %{buildroot}%{_root_prefix}/%{_lib}
0f71cd
cd obj-%{gcc_target_platform}
0f71cd
./gcc/xgcc -v 2> %{buildroot}%{_root_prefix}/%{_lib}/README%{gcc_major}
0f71cd
0f71cd
cp %{gcc_target_platform}/libstdc++-v3/src/.libs/libstdc++.so.6.0.* %{buildroot}%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_version}.so
0f71cd
cd %{buildroot}%{_root_prefix}/%{_lib}/
0f71cd
ln -sf compat-sap-c++-%{gcc_version}.so %{buildroot}%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_major}.so
0f71cd
0f71cd
%check
0f71cd
cd obj-%{gcc_target_platform}
0f71cd
0f71cd
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
0f71cd
0f71cd
# run the tests.
0f71cd
make %{?_smp_mflags} -k check RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
0f71cd
( LC_ALL=C ../contrib/test_summary -t || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}' > testresults
0f71cd
rm -rf gcc/testsuite.prev
0f71cd
mv gcc/testsuite{,.prev}
0f71cd
rm -f gcc/site.exp
0f71cd
make %{?_smp_mflags} -C gcc -k check-gcc check-g++ ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}' compat.exp struct-layout-1.exp" || :
0f71cd
mv gcc/testsuite/gcc/gcc.sum{,.sent}
0f71cd
mv gcc/testsuite/g++/g++.sum{,.sent}
0f71cd
( LC_ALL=C ../contrib/test_summary -o -t || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}' > testresults2
0f71cd
rm -rf gcc/testsuite.compat
0f71cd
mv gcc/testsuite{,.compat}
0f71cd
mv gcc/testsuite{.prev,}
0f71cd
echo ====================TESTING=========================
0f71cd
cat testresults
0f71cd
echo ===`gcc --version | head -1` compatibility tests====
0f71cd
cat testresults2
0f71cd
echo ====================TESTING END=====================
0f71cd
mkdir testlogs-%{_target_platform}-%{version}-%{release}
0f71cd
for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
0f71cd
  ln $i testlogs-%{_target_platform}-%{version}-%{release}/ || :
0f71cd
done
0f71cd
for i in `find gcc/testsuite.compat -name \*.log | grep -v 'config.log\|acats.*/tests/'`; do
0f71cd
  ln $i testlogs-%{_target_platform}-%{version}-%{release}/`basename $i`.compat || :
0f71cd
done
0f71cd
tar cf - testlogs-%{_target_platform}-%{version}-%{release} | bzip2 -9c \
0f71cd
  | uuencode testlogs-%{_target_platform}.tar.bz2 || :
0f71cd
rm -rf testlogs-%{_target_platform}-%{version}-%{release}
0f71cd
0f71cd
%clean
0f71cd
rm -rf %{buildroot}
0f71cd
0f71cd
%files
0f71cd
%defattr(-,root,root,-)
0f71cd
%dir %{_root_prefix}
0f71cd
%dir %{_root_prefix}/%{_lib}
0f71cd
%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_version}.so
0f71cd
%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_major}.so
0f71cd
%{_root_prefix}/%{_lib}/README%{gcc_major}
0f71cd
0f71cd
%changelog
0f71cd
* Wed Jul 29 2020 Marek Polacek <polacek@redhat.com> 10.2.1-1
0f71cd
- GCC 10.2 release
0f71cd
- disable -flto in %%{optflags}, lto bootstrap will be enabled the GCC way
0f71cd
  later
0f71cd
- require MPFR Library version 3.1.0 (or later)
0f71cd
0f71cd
* Thu Jun  4 2020 Marek Polacek <polacek@redhat.com> 10.1.1-1
0f71cd
- new package