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

8028fd
# SAP HACK: Start custom scl information for SAP build.
8028fd
%global scl 1
8028fd
%global scl_prefix compat-sap-
8028fd
%global _root_prefix /opt/rh/SAP
8028fd
%global _root_infodir %{_root_prefix}/%{_infodir}
8028fd
%global _root_mandir %{_root_prefix}/%{_mandir}
8028fd
# END SAP HACK.
8028fd
%{?scl:%global __strip strip}
8028fd
%{?scl:%global __objdump objdump}
8028fd
%global DATE 20160406
8028fd
%global SVNREV 234777
8028fd
%global gcc_version 5.3.1
8028fd
# Note, gcc_release must be integer, if you want to add suffixes to
8028fd
# %{release}, append them after %{gcc_release} on Release: line.
8028fd
%global gcc_release 10
8028fd
%global mpc_version 0.8.1
8028fd
%global _unpackaged_files_terminate_build 0
8028fd
%global multilib_64_archs sparc64 ppc64 s390x x86_64
8028fd
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
8028fd
%global attr_ifunc 1
8028fd
%else
8028fd
%global attr_ifunc 0
8028fd
%endif
8028fd
%ifarch x86_64
8028fd
%global multilib_32_arch i686
8028fd
%endif
8028fd
Summary: C++ compatibility runtime library for SAP applications
8028fd
Name: %{?scl_prefix}c++-5
8028fd
ExclusiveArch: x86_64 ppc64 ppc64le
8028fd
8028fd
Version: %{gcc_version}
8028fd
Release: %{gcc_release}%{?dist}
8028fd
# libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
8028fd
# GCC Runtime Exception.
8028fd
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
8028fd
Group: Development/Languages
8028fd
# The source for this package was pulled from upstream's vcs.  Use the
8028fd
# following commands to generate the tarball:
8028fd
# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-5-branch@%{SVNREV} gcc-%{version}-%{DATE}
8028fd
# tar cf - gcc-%{version}-%{DATE} | bzip2 -9 > gcc-%{version}-%{DATE}.tar.bz2
8028fd
Source0: gcc-%{version}-%{DATE}.tar.bz2
8028fd
Source1: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
8028fd
URL: http://gcc.gnu.org
8028fd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8028fd
# Need binutils with -pie support >= 2.14.90.0.4-4
8028fd
# Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
8028fd
# Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2
8028fd
# Need binutils which support .weakref >= 2.16.91.0.3-1
8028fd
# Need binutils which support --hash-style=gnu >= 2.17.50.0.2-7
8028fd
# Need binutils which support mffgpr and mftgpr >= 2.17.50.0.2-8
8028fd
# Need binutils which support --build-id >= 2.17.50.0.17-3
8028fd
# Need binutils which support %gnu_unique_object >= 2.19.51.0.14
8028fd
# Need binutils which support .cfi_sections >= 2.19.51.0.14-33
8028fd
BuildRequires: binutils >= 2.19.51.0.14-33
8028fd
# While gcc doesn't include statically linked binaries, during testing
8028fd
# -static is used several times.
8028fd
BuildRequires: glibc-static
8028fd
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
8028fd
#BuildRequires: systemtap-sdt-devel >= 1.3
8028fd
# For VTA guality testing
8028fd
BuildRequires: gdb
8028fd
# Make sure pthread.h doesn't contain __thread tokens
8028fd
# Make sure glibc supports stack protector
8028fd
# Make sure glibc supports DT_GNU_HASH
8028fd
BuildRequires: glibc-devel >= 2.4.90-13
8028fd
BuildRequires: elfutils-devel >= 0.147
8028fd
BuildRequires: elfutils-libelf-devel >= 0.147
8028fd
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
8028fd
# Make sure glibc supports TFmode long double
8028fd
BuildRequires: glibc >= 2.3.90-35
8028fd
%endif
8028fd
%ifarch %{multilib_64_archs} sparcv9 ppc
8028fd
# Ensure glibc{,-devel} is installed for both multilib arches
8028fd
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
8028fd
%endif
8028fd
# Need .eh_frame ld optimizations
8028fd
# Need proper visibility support
8028fd
# Need -pie support
8028fd
# Need --as-needed/--no-as-needed support
8028fd
# On ppc64, need omit dot symbols support and --non-overlapping-opd
8028fd
# Need binutils that owns /usr/bin/c++filt
8028fd
# Need binutils that support .weakref
8028fd
# Need binutils that supports --hash-style=gnu
8028fd
# Need binutils that support mffgpr/mftgpr
8028fd
# Need binutils which support --build-id >= 2.17.50.0.17-3
8028fd
# Need binutils which support %gnu_unique_object >= 2.19.51.0.14
8028fd
# Need binutils which support .cfi_sections >= 2.19.51.0.14-33
8028fd
Requires: binutils >= 2.19.51.0.14-33
8028fd
# Make sure gdb will understand DW_FORM_strp
8028fd
Conflicts: gdb < 5.1-2
8028fd
Requires: glibc-devel >= 2.2.90-12
8028fd
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
8028fd
# Make sure glibc supports TFmode long double
8028fd
Requires: glibc >= 2.3.90-35
8028fd
%endif
8028fd
Requires: libgcc >= 4.1.2-43
8028fd
Requires: libgomp >= 4.4.4-13
8028fd
Requires: libstdc++ >= 4.4.4-13
8028fd
BuildRequires: gmp-devel >= 4.1.2-8
8028fd
BuildRequires: mpfr-devel >= 2.2.1
8028fd
%if 0%{?rhel} >= 7
8028fd
BuildRequires: libmpc-devel >= 0.8.1
8028fd
%endif
8028fd
AutoReq: true
8028fd
AutoProv: false
8028fd
%ifarch sparc64 ppc64 ppc64le s390x x86_64 ia64
8028fd
Provides: liblto_plugin.so.0()(64bit)
8028fd
%else
8028fd
Provides: liblto_plugin.so.0
8028fd
%endif
8028fd
%global oformat %{nil}
8028fd
%global oformat2 %{nil}
8028fd
%ifarch %{ix86}
8028fd
%global oformat OUTPUT_FORMAT(elf32-i386)
8028fd
%endif
8028fd
%ifarch x86_64
8028fd
%global oformat OUTPUT_FORMAT(elf64-x86-64)
8028fd
%global oformat2 OUTPUT_FORMAT(elf32-i386)
8028fd
%endif
8028fd
%ifarch ppc
8028fd
%global oformat OUTPUT_FORMAT(elf32-powerpc)
8028fd
%global oformat2 OUTPUT_FORMAT(elf64-powerpc)
8028fd
%endif
8028fd
%ifarch ppc64
8028fd
%global oformat OUTPUT_FORMAT(elf64-powerpc)
8028fd
%global oformat2 OUTPUT_FORMAT(elf32-powerpc)
8028fd
%endif
8028fd
%ifarch s390
8028fd
%global oformat OUTPUT_FORMAT(elf32-s390)
8028fd
%endif
8028fd
%ifarch s390x
8028fd
%global oformat OUTPUT_FORMAT(elf64-s390)
8028fd
%global oformat2 OUTPUT_FORMAT(elf32-s390)
8028fd
%endif
8028fd
%ifarch ia64
8028fd
%global oformat OUTPUT_FORMAT(elf64-ia64-little)
8028fd
%endif
8028fd
%ifarch ppc64le
8028fd
%global oformat OUTPUT_FORMAT(elf64-powerpcle)
8028fd
%endif
8028fd
8028fd
Patch0: gcc5-hack.patch
8028fd
Patch1: gcc5-java-nomulti.patch
8028fd
Patch2: gcc5-ppc32-retaddr.patch
8028fd
Patch3: gcc5-rh330771.patch
8028fd
Patch4: gcc5-i386-libgomp.patch
8028fd
Patch5: gcc5-sparc-config-detection.patch
8028fd
Patch6: gcc5-libgomp-omp_h-multilib.patch
8028fd
Patch7: gcc5-libtool-no-rpath.patch
8028fd
Patch8: gcc5-isl-dl.patch
8028fd
Patch10: gcc5-libstdc++-docs.patch
8028fd
Patch11: gcc5-no-add-needed.patch
8028fd
Patch12: gcc5-libgo-p224.patch
8028fd
Patch13: gcc5-aarch64-async-unw-tables.patch
8028fd
Patch14: gcc5-libsanitize-aarch64-va42.patch
8028fd
Patch15: gcc5-rh1279639.patch
8028fd
8028fd
Patch1000: gcc5-libstdc++-compat.patch
8028fd
Patch1001: gcc5-libgfortran-compat.patch
8028fd
Patch1002: gcc5-alt-compat-test.patch
8028fd
Patch1003: gcc5-libquadmath-compat.patch
8028fd
Patch1004: gcc5-libstdc++44-xfail.patch
8028fd
Patch1005: gcc5-rh1118870.patch
8028fd
Patch1006: gcc5-isl-dl2.patch
8028fd
8028fd
%if 0%{?rhel} >= 7
8028fd
%global nonsharedver 48
8028fd
%else
8028fd
%global nonsharedver 44
8028fd
%endif
8028fd
8028fd
%if 0%{?scl:1}
8028fd
%global _gnu %{nil}
8028fd
%else
8028fd
%global _gnu 7E
8028fd
%endif
8028fd
%ifarch sparcv9
8028fd
%global gcc_target_platform sparc64-%{_vendor}-%{_target_os}%{?_gnu}
8028fd
%endif
8028fd
%ifarch ppc
8028fd
%global gcc_target_platform ppc64-%{_vendor}-%{_target_os}%{?_gnu}
8028fd
%endif
8028fd
%ifnarch sparcv9 ppc
8028fd
%global gcc_target_platform %{_target_platform}
8028fd
%endif
8028fd
8028fd
%description
8028fd
This package provides runtime compatibility libraries for use by SAP
8028fd
application binaries only.
8028fd
8028fd
%prep
8028fd
%setup -q -n gcc-%{version}-%{DATE} -a 1
8028fd
%patch0 -p0 -b .hack~
8028fd
%patch1 -p0 -b .java-nomulti~
8028fd
%patch2 -p0 -b .ppc32-retaddr~
8028fd
%patch3 -p0 -b .rh330771~
8028fd
%patch4 -p0 -b .i386-libgomp~
8028fd
%patch5 -p0 -b .sparc-config-detection~
8028fd
%patch6 -p0 -b .libgomp-omp_h-multilib~
8028fd
%patch7 -p0 -b .libtool-no-rpath~
8028fd
%patch11 -p0 -b .no-add-needed~
8028fd
%patch12 -p0 -b .libgo-p224~
8028fd
rm -f libgo/go/crypto/elliptic/p224{,_test}.go
8028fd
%patch13 -p0 -b .aarch64-async-unw-tables~
8028fd
%patch14 -p0 -b .libsanitize-aarch64-va42~
8028fd
%patch15 -p0 -b .rh1279639~
8028fd
sed -i -e 's/ -Wl,-z,nodlopen//g' gcc/ada/gcc-interface/Makefile.in
8028fd
8028fd
%patch1000 -p0 -b .libstdc++-compat~
8028fd
%patch1001 -p0 -b .libgfortran-compat~
8028fd
%ifarch %{ix86} x86_64
8028fd
%if 0%{?rhel} < 7
8028fd
# On i?86/x86_64 there are some incompatibilities in _Decimal* as well as
8028fd
# aggregates containing larger vector passing.
8028fd
%patch1002 -p0 -b .alt-compat-test~
8028fd
%endif
8028fd
%endif
8028fd
%if 0%{?rhel} < 7
8028fd
%patch1003 -p0 -b .libquadmath-compat~
8028fd
%endif
8028fd
%if 0%{?rhel} == 6
8028fd
# Fix this up
8028fd
#%patch1004 -p0 -b .libstdc++44-xfail~
8028fd
%endif
8028fd
%patch1005 -p0 -b .rh1118870~
8028fd
8028fd
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
8028fd
8028fd
%if 0%{?rhel} == 6
8028fd
# Default to -gdwarf-3 rather than -gdwarf-4
8028fd
sed -i '/UInteger Var(dwarf_version)/s/Init(4)/Init(3)/' gcc/common.opt
8028fd
sed -i 's/\(may be either 2, 3 or 4; the default version is \)4\./\13./' gcc/doc/invoke.texi
8028fd
%endif
8028fd
8028fd
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
8028fd
cp -a libstdc++-v3/config/cpu/i{4,3}86/opt
8028fd
8028fd
./contrib/gcc_update --touch
8028fd
8028fd
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
8028fd
8028fd
sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt
8028fd
8028fd
%ifarch ppc
8028fd
if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
8028fd
  mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64
8028fd
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{,64/}baseline_symbols.txt
8028fd
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{32/,}baseline_symbols.txt
8028fd
  rm -rf libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32
8028fd
fi
8028fd
%endif
8028fd
%ifarch sparc
8028fd
if [ -d libstdc++-v3/config/abi/post/sparc64-linux-gnu ]; then
8028fd
  mkdir -p libstdc++-v3/config/abi/post/sparc64-linux-gnu/64
8028fd
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{,64/}baseline_symbols.txt
8028fd
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{32/,}baseline_symbols.txt
8028fd
  rm -rf libstdc++-v3/config/abi/post/sparc64-linux-gnu/32
8028fd
fi
8028fd
%endif
8028fd
8028fd
%build
8028fd
8028fd
# Undo the broken autoconf change in recent Fedora versions
8028fd
export CONFIG_SITE=NONE
8028fd
8028fd
rm -fr obj-%{gcc_target_platform}
8028fd
mkdir obj-%{gcc_target_platform}
8028fd
cd obj-%{gcc_target_platform}
8028fd
8028fd
%if 0%{?rhel} < 7
8028fd
mkdir mpc mpc-install
8028fd
cd mpc
8028fd
../../mpc-%{mpc_version}/configure --disable-shared \
8028fd
  CFLAGS="${CFLAGS:-%optflags} -fPIC" CXXFLAGS="${CXXFLAGS:-%optflags} -fPIC" \
8028fd
  --prefix=`cd ..; pwd`/mpc-install
8028fd
make %{?_smp_mflags}
8028fd
make install
8028fd
cd ..
8028fd
%endif
8028fd
8028fd
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
8028fd
8028fd
CC=gcc
8028fd
CXX=g++
8028fd
OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
8028fd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
8028fd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
8028fd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
8028fd
%ifarch %{ix86}
8028fd
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
8028fd
%endif
8028fd
OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'`
8028fd
CONFIGURE_OPTS="\
8028fd
	--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
8028fd
	--with-bugurl=http://bugzilla.redhat.com/bugzilla \
8028fd
	--enable-shared --enable-threads=posix --enable-checking=release \
8028fd
%ifarch ppc64le
8028fd
	--enable-targets=powerpcle-linux --disable-multilib \
8028fd
%else
8028fd
	--enable-multilib \
8028fd
%endif
8028fd
	--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
8028fd
	--enable-gnu-unique-object \
8028fd
	--enable-linker-build-id \
8028fd
	--enable-plugin --with-linker-hash-style=gnu \
8028fd
	--enable-initfini-array \
8028fd
	--disable-libgcj \
8028fd
	--with-default-libstdcxx-abi=gcc4-compatible \
8028fd
	--disable-libquadmath \
8028fd
	--disable-libsanitizer \
8028fd
	--disable-libvtv \
8028fd
	--disable-libgomp \
8028fd
	--disable-libitm \
8028fd
	--disable-libssp \
8028fd
	--disable-libatomic \
8028fd
	--disable-libcilkrts \
8028fd
	--without-isl \
8028fd
	--disable-libmpx \
8028fd
%if 0%{?rhel} < 7
8028fd
	--with-mpc=`pwd`/mpc-install \
8028fd
%endif
8028fd
%if 0%{?rhel} >= 7
8028fd
%if %{attr_ifunc}
8028fd
        --enable-gnu-indirect-function \
8028fd
%endif
8028fd
%endif
8028fd
%ifarch ppc ppc64 ppc64le ppc64p7
8028fd
	--enable-secureplt \
8028fd
%endif
8028fd
%ifarch ppc ppc64 ppc64p7
8028fd
%if 0%{?rhel} >= 7
8028fd
	--with-cpu-32=power7 --with-tune-32=power7 --with-cpu-64=power7 --with-tune-64=power7 \
8028fd
%else
8028fd
	--with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \
8028fd
%endif
8028fd
%endif
8028fd
%ifarch ppc64le
8028fd
%if 0%{?rhel} >= 7
8028fd
	--with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 \
8028fd
%endif
8028fd
%endif
8028fd
%ifarch ppc
8028fd
	--build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
8028fd
%endif
8028fd
%ifarch %{ix86} x86_64
8028fd
	--with-tune=generic \
8028fd
%endif
8028fd
%ifarch %{ix86}
8028fd
	--with-arch=i686 \
8028fd
%endif
8028fd
%ifarch x86_64
8028fd
	--with-arch_32=i686 \
8028fd
%endif
8028fd
	--build=%{gcc_target_platform} \
8028fd
	"
8028fd
8028fd
CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
8028fd
	CXXFLAGS="`echo " $OPT_FLAGS " | sed 's/ -Wall / /g;s/ -fexceptions / /g'`" \
8028fd
	XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" \
8028fd
	GCJFLAGS="$OPT_FLAGS" \
8028fd
	../configure --enable-bootstrap \
8028fd
	--enable-languages=c,c++,lto \
8028fd
	$CONFIGURE_OPTS
8028fd
8028fd
8028fd
GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS"
8028fd
8028fd
%install
8028fd
rm -fr %{buildroot}
8028fd
8028fd
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
8028fd
mkdir -p %{buildroot}%{_root_prefix}/%{_lib}
8028fd
cd obj-%{gcc_target_platform}
8028fd
8028fd
TARGET_PLATFORM=%{gcc_target_platform}
8028fd
cp %{gcc_target_platform}/libstdc++-v3/src/.libs/libstdc++.so.6.0.* %{buildroot}%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_version}.so
8028fd
cd %{buildroot}%{_root_prefix}/%{_lib}/
8028fd
ln -sf compat-sap-c++-%{gcc_version}.so %{buildroot}%{_root_prefix}/%{_lib}/compat-sap-c++-5.so
8028fd
8028fd
%check
8028fd
cd obj-%{gcc_target_platform}
8028fd
8028fd
%{?scl:PATH=%{_bindir}${PATH:+:${PATH}}}
8028fd
8028fd
# run the tests.
8028fd
make %{?_smp_mflags} -k check RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
8028fd
( LC_ALL=C ../contrib/test_summary -t || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}' > testresults
8028fd
rm -rf gcc/testsuite.prev
8028fd
mv gcc/testsuite{,.prev}
8028fd
rm -f gcc/site.exp
8028fd
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" || :
8028fd
mv gcc/testsuite/gcc/gcc.sum{,.sent}
8028fd
mv gcc/testsuite/g++/g++.sum{,.sent}
8028fd
( 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
8028fd
rm -rf gcc/testsuite.compat
8028fd
mv gcc/testsuite{,.compat}
8028fd
mv gcc/testsuite{.prev,}
8028fd
echo ====================TESTING=========================
8028fd
cat testresults
8028fd
echo ===`gcc --version | head -1` compatibility tests====
8028fd
cat testresults2
8028fd
echo ====================TESTING END=====================
8028fd
mkdir testlogs-%{_target_platform}-%{version}-%{release}
8028fd
for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
8028fd
  ln $i testlogs-%{_target_platform}-%{version}-%{release}/ || :
8028fd
done
8028fd
for i in `find gcc/testsuite.compat -name \*.log | grep -v 'config.log\|acats.*/tests/'`; do
8028fd
  ln $i testlogs-%{_target_platform}-%{version}-%{release}/`basename $i`.compat || :
8028fd
done
8028fd
tar cf - testlogs-%{_target_platform}-%{version}-%{release} | bzip2 -9c \
8028fd
  | uuencode testlogs-%{_target_platform}.tar.bz2 || :
8028fd
rm -rf testlogs-%{_target_platform}-%{version}-%{release}
8028fd
8028fd
%clean
8028fd
rm -rf %{buildroot}
8028fd
8028fd
%files
8028fd
%defattr(-,root,root,-)
8028fd
%dir %{_root_prefix}
8028fd
%dir %{_root_prefix}/%{_lib}
8028fd
%{_root_prefix}/%{_lib}/compat-sap-c++-%{gcc_version}.so
8028fd
%{_root_prefix}/%{_lib}/compat-sap-c++-5.so
8028fd
8028fd
%changelog
8028fd
* Thu Aug 04 2016 Marek Polacek <polacek@redhat.com> 5.3.1-10
8028fd
- add compat-sap-c++-5.so symlink (#1365181)
8028fd
8028fd
* Thu Aug 04 2016 Marek Polacek <polacek@redhat.com> 5.3.1-9
8028fd
- update Description again (#1351527)
8028fd
- enable on ppc64 (#1363851)
8028fd
- enable on ppc64le (#1363846, #1363853)
8028fd
8028fd
* Thu Jul 07 2016 Marek Polacek <polacek@redhat.com> 5.3.1-8
8028fd
- update Description (#1351527)
8028fd
8028fd
* Wed May 25 2016 Marek Polacek <polacek@redhat.com> 5.3.1-7
8028fd
- update Summary
8028fd
8028fd
* Thu May 12 2016 Marek Polacek <polacek@redhat.com> 5.3.1-6
8028fd
- update from DTS gcc-5.3.1-6
8028fd
8028fd
* Thu Mar 17 2016 Marek Polacek <polacek@redhat.com> 5.3.1-1
8028fd
- rebase to 5.3
8028fd
- rename the DSO and the package to allow using more versions of the library
8028fd
8028fd
* Fri Jul 31 2015 Marek Polacek <polacek@redhat.com> 5.2.1-1
8028fd
- rebase to 5.2
8028fd
8028fd
* Thu Jul 30 2015 Marek Polacek <polacek@redhat.com> 4.9.2-1
8028fd
- rebase to 4.9
8028fd
8028fd
* Wed May 20 2015 Marek Polacek <polacek@redhat.com> 4.8.2-16
8028fd
- backport PR59224 fix again
8028fd
8028fd
* Wed Mar 18 2015 Marek Polacek <polacek@redhat.com> 4.8.2-15
8028fd
- rebase to 4.8 (#1198501)
8028fd
8028fd
* Tue Apr 01 2014 Marek Polacek <polacek@redhat.com> 4.7.2-10
8028fd
- backport PR59224 fix
8028fd
8028fd
* Tue Mar 25 2014 Marek Polacek <polacek@redhat.com> 4.7.2-9
8028fd
- clarify description (#1080544)
8028fd
8028fd
* Wed Mar 12 2014 Marek Polacek <polacek@redhat.com> 4.7.2-8
8028fd
- rename sap-compat-c++.so to compat-sap-c++.so
8028fd
8028fd
* Wed Mar 05 2014 Marek Polacek <polacek@redhat.com> 4.7.2-7
8028fd
- run the testsuite
8028fd
- fix up Provides
8028fd
- update description
8028fd
8028fd
* Wed Mar 05 2014 Marek Polacek <polacek@redhat.com> 4.7.2-6
8028fd
- build only compat-sap-c++, that only installs sap-compat-c++.so
8028fd
8028fd
* Tue Mar 04 2014 Jonathan Wakely <jwakely@redhat.com> 4.7.2-6
8028fd
- adjust gcc47-ppl-check.patch
8028fd
- remove gdb files from %files
8028fd
8028fd
* Mon Oct 15 2012 Jakub Jelinek <jakub@redhat.com> 4.7.2-5
8028fd
- update from the 4.7 branch
8028fd
  - GCC 4.7.2 release
8028fd
- operator new[] overflow checking (#850911, PR c++/19351)
8028fd
- selected debug info quality improvements (#851467)
8028fd
8028fd
* Fri Sep 14 2012 Jakub Jelinek <jakub@redhat.com> 4.7.1-8
8028fd
- adjust doxygen configgen.py for older python (#856725)
8028fd
8028fd
* Wed Sep  5 2012 Marek Polacek <polacek@redhat.com> 4.7.1-7.3
8028fd
- use --with-expatlibdir when building graphviz
8028fd
8028fd
* Thu Aug 23 2012 Jakub Jelinek <jakub@redhat.com> 4.7.1-7.2
8028fd
- redefine __strip and __objcopy macros
8028fd
8028fd
* Wed Aug 22 2012 Jakub Jelinek <jakub@redhat.com> 4.7.1-7.1
8028fd
- install gfortran.1 manual page and gfortran info pages (#850448)
8028fd
8028fd
* Mon Aug 13 2012 Jakub Jelinek <jakub@redhat.com> 4.7.1-7
8028fd
- update from the 4.7 branch
8028fd
- backport -mrdseed, -mprfchw and -madx support
8028fd
8028fd
* Fri Jul 20 2012 Jakub Jelinek <jakub@redhat.com> 4.7.1-5
8028fd
- update from the 4.7 branch
8028fd
8028fd
* Mon Jul 16 2012 Jakub Jelinek <jakub@redhat.com> 4.7.1-3
8028fd
- update from the 4.7 branch
8028fd
  - C++11 ABI change - std::list and std::pair in C++11 ABI compatible again
8028fd
    with C++03, but ABI incompatible with C++11 in GCC 4.7.[01]
8028fd
- backport -mrtm and -mhle support
8028fd
8028fd
* Fri Jun 29 2012 Jakub Jelinek <jakub@redhat.com> 4.7.1-1
8028fd
- update from the 4.7 branch
8028fd
  - GCC 4.7.1 release
8028fd
- enable build_gfortran (#819596)
8028fd
8028fd
* Mon May 28 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-5.2
8028fd
- selected 4.7 backports (#825827)
8028fd
  - fix i?86 8-bit mem += val ICE (PR target/53358)
8028fd
  - alias handling fix (PR tree-optimization/53364)
8028fd
  - vectorizer complex handling fix (PR tree-optimization/53366)
8028fd
  - VRP bitfield fix (PRs tree-optimization/53438, tree-optimization/53505)
8028fd
  - VRP NVR fix (PR tree-optimization/53465)
8028fd
8028fd
* Wed May  9 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-5.1
8028fd
- remove html docs from %{?scl_prefix}libstdc++%{!?scl:47}-devel
8028fd
  package now that they are in %{?scl_prefix}libstdc++%{!?scl:47}-docs
8028fd
8028fd
* Mon May  7 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-5
8028fd
- update from 4.7 branch
8028fd
- build libstdc++ docs with doxygen 1.8.0 instead of 1.7.1
8028fd
8028fd
* Fri May  4 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-4
8028fd
- update from 4.7 branch
8028fd
- fix up gcc-ar, gcc-nm and gcc-ranlib (#818311, PR plugins/53126)
8028fd
%if 0%{?rhel} == 6
8028fd
- configure for i686 rather than i586 by default
8028fd
%endif
8028fd
- add %{?scl_prefix}libstdc++%{!?scl:47}-docs subpackage
8028fd
8028fd
* Wed Apr 18 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-2
8028fd
- update from 4.7 branch
8028fd
%if 0%{?scl:1} && 0%{?rhel} == 5
8028fd
- allow building of the package even when %{name} is already
8028fd
  installed (#808628)
8028fd
%endif
8028fd
8028fd
* Tue Mar 27 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-1.1
8028fd
- update from trunk and 4.7 branch
8028fd
  - GCC 25th Anniversary 4.7.0 release
8028fd
%if 0%{?scl:1} && 0%{?rhel} == 5
8028fd
- configure with --enable-build-id (#804963)
8028fd
%endif
8028fd
- enable libitm build (#800503)
8028fd
- fix up libgomp.so, so that libgomp isn't linked always statically
8028fd
8028fd
* Mon Mar  5 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-0.18.1
8028fd
- add a few missing copyright boilerplates to libstdc++_nonshared.a
8028fd
  sources
8028fd
8028fd
* Wed Feb 29 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-0.18
8028fd
- update from trunk
8028fd
- apply patch0 (#797774)
8028fd
- remove libquadmath.so.debug from debuginfo (#797781)
8028fd
- add some further binaries (#797660)
8028fd
8028fd
* Sat Feb 25 2012 Jeff Law <law@redhat.com> 4.7.0-0.17
8028fd
- xfail tests which are expected to fail
8028fd
8028fd
* Fri Feb 24 2012 Jakub Jelinek <jakub@redhat.com> 4.7.0-0.16
8028fd
- new package