b4bb7a
%global DATE 20150702
b4bb7a
%global SVNREV 225304
543165
# Note, gcc_release must be integer, if you want to add suffixes to
543165
# %{release}, append them after %{gcc_release} on Release: line.
b89248
%global gcc_release 36
543165
%global _unpackaged_files_terminate_build 0
67287f
%global _performance_build 1
67287f
%global multilib_64_archs sparc64 ppc64 ppc64p7 s390x x86_64
d2236c
%ifarch %{ix86} x86_64 ia64 ppc ppc64 ppc64le ppc64p7 alpha aarch64 %{arm}
543165
%global build_ada 1
543165
%else
543165
%global build_ada 0
543165
%endif
543165
%if 0%{?rhel} >= 7
543165
%global build_java 0
543165
%else
543165
%global build_java 1
543165
%endif
d8d6ff
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm}
543165
%global build_go 1
543165
%else
543165
%global build_go 0
543165
%endif
543165
%ifarch %{ix86} x86_64 ia64
543165
%global build_libquadmath 1
543165
%else
543165
%global build_libquadmath 0
543165
%endif
67287f
%ifarch %{ix86} x86_64 ppc ppc64 ppc64p7
543165
%global build_libasan 1
543165
%else
543165
%global build_libasan 0
543165
%endif
543165
%ifarch x86_64
543165
%global build_libtsan 1
543165
%else
543165
%global build_libtsan 0
543165
%endif
d8d6ff
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm}
543165
%global build_libatomic 1
543165
%else
543165
%global build_libatomic 0
543165
%endif
d8d6ff
%ifarch %{ix86} x86_64 %{arm} alpha ppc ppc64 ppc64le ppc64p7 s390 s390x aarch64
543165
%global build_libitm 1
543165
%else
543165
%global build_libitm 0
543165
%endif
543165
%global build_cloog 1
543165
%global build_libstdcxx_docs 1
d8d6ff
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
67287f
%global attr_ifunc 1
67287f
%else
67287f
%global attr_ifunc 0
67287f
%endif
543165
# If you don't have already a usable gcc-java and libgcj for your arch,
543165
# do on some arch which has it rpmbuild -bc --with java_tar gcc.spec
543165
# which creates libjava-classes-%{version}-%{release}.tar.bz2
543165
# With this then on the new arch do rpmbuild -ba -v --with java_bootstrap gcc.spec
543165
%global bootstrap_java %{?_with_java_bootstrap:%{build_java}}%{!?_with_java_bootstrap:0}
543165
%global build_java_tar %{?_with_java_tar:%{build_java}}%{!?_with_java_tar:0}
543165
%ifarch s390x
543165
%global multilib_32_arch s390
543165
%endif
543165
%ifarch sparc64
543165
%global multilib_32_arch sparcv9
543165
%endif
67287f
%ifarch ppc64 ppc64p7
543165
%global multilib_32_arch ppc
543165
%endif
543165
%ifarch x86_64
543165
%global multilib_32_arch i686
543165
%endif
543165
Summary: Various compilers (C, C++, Objective-C, Java, ...)
543165
Name: gcc
d8d6ff
%if 0%{?rhel} == 7
d8d6ff
%global gcc_version 4.8.2
d8d6ff
%else
b4bb7a
%global gcc_version 4.8.5
d8d6ff
%endif
b4bb7a
Version: 4.8.5
9437cd
Release: %{gcc_release}%{?dist}.2
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%define gcc_provides %{gcc_version}-16%{?dist}
d8d6ff
%endif
543165
# libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have
543165
# GCC Runtime Exception.
543165
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
543165
Group: Development/Languages
543165
# The source for this package was pulled from upstream's vcs.  Use the
543165
# following commands to generate the tarball:
d8d6ff
# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_8-branch@%{SVNREV} gcc-%{version}-%{DATE}
543165
# tar cf - gcc-%{version}-%{DATE} | bzip2 -9 > gcc-%{version}-%{DATE}.tar.bz2
543165
Source0: gcc-%{version}-%{DATE}.tar.bz2
543165
%global isl_version 0.11.1
543165
Source1: ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-%{isl_version}.tar.bz2
543165
%global cloog_version 0.18.0
543165
Source2: ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-%{cloog_version}.tar.gz
543165
%global fastjar_ver 0.97
543165
Source4: http://download.savannah.nongnu.org/releases/fastjar/fastjar-%{fastjar_ver}.tar.gz
543165
URL: http://gcc.gnu.org
543165
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
543165
# Need binutils with -pie support >= 2.14.90.0.4-4
543165
# Need binutils which can omit dot symbols and overlap .opd on ppc64 >= 2.15.91.0.2-4
543165
# Need binutils which handle -msecure-plt on ppc >= 2.16.91.0.2-2
543165
# Need binutils which support .weakref >= 2.16.91.0.3-1
543165
# Need binutils which support --hash-style=gnu >= 2.17.50.0.2-7
543165
# Need binutils which support mffgpr and mftgpr >= 2.17.50.0.2-8
543165
# Need binutils which support --build-id >= 2.17.50.0.17-3
543165
# Need binutils which support %gnu_unique_object >= 2.19.51.0.14
543165
# Need binutils which support .cfi_sections >= 2.19.51.0.14-33
543165
# Need binutils which support --no-add-needed >= 2.20.51.0.2-12
543165
BuildRequires: binutils >= 2.20.51.0.2-12
543165
# While gcc doesn't include statically linked binaries, during testing
543165
# -static is used several times.
543165
BuildRequires: glibc-static
543165
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, sharutils
543165
BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man
543165
BuildRequires: systemtap-sdt-devel >= 1.3
543165
%if %{build_go}
543165
BuildRequires: hostname
543165
%endif
543165
# For VTA guality testing
543165
BuildRequires: gdb
543165
%if %{build_java}
543165
BuildRequires: /usr/share/java/eclipse-ecj.jar, zip, unzip
543165
%if %{bootstrap_java}
543165
Source10: libjava-classes-%{version}-%{release}.tar.bz2
543165
%else
543165
BuildRequires: gcc-java, libgcj
543165
%endif
543165
%endif
543165
# Make sure pthread.h doesn't contain __thread tokens
543165
# Make sure glibc supports stack protector
543165
# Make sure glibc supports DT_GNU_HASH
543165
BuildRequires: glibc-devel >= 2.4.90-13
543165
BuildRequires: elfutils-devel >= 0.147
543165
BuildRequires: elfutils-libelf-devel >= 0.147
d8d6ff
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
543165
# Make sure glibc supports TFmode long double
543165
BuildRequires: glibc >= 2.3.90-35
543165
%endif
543165
%ifarch %{multilib_64_archs} sparcv9 ppc
543165
# Ensure glibc{,-devel} is installed for both multilib arches
543165
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
543165
%endif
543165
%if %{build_ada}
543165
# Ada requires Ada to build
543165
BuildRequires: gcc-gnat >= 3.1, libgnat >= 3.1
543165
%endif
543165
%ifarch ia64
543165
BuildRequires: libunwind >= 0.98
543165
%endif
543165
%if %{build_libstdcxx_docs}
543165
BuildRequires: doxygen >= 1.7.1
543165
BuildRequires: graphviz, dblatex, texlive-collection-latex, docbook5-style-xsl
543165
%endif
543165
Requires: cpp = %{version}-%{release}
543165
# Need .eh_frame ld optimizations
543165
# Need proper visibility support
543165
# Need -pie support
543165
# Need --as-needed/--no-as-needed support
543165
# On ppc64, need omit dot symbols support and --non-overlapping-opd
543165
# Need binutils that owns /usr/bin/c++filt
543165
# Need binutils that support .weakref
543165
# Need binutils that supports --hash-style=gnu
543165
# Need binutils that support mffgpr/mftgpr
543165
# Need binutils that support --build-id
543165
# Need binutils that support %gnu_unique_object
543165
# Need binutils that support .cfi_sections
543165
# Need binutils that support --no-add-needed
543165
Requires: binutils >= 2.20.51.0.2-12
543165
# Make sure gdb will understand DW_FORM_strp
543165
Conflicts: gdb < 5.1-2
543165
Requires: glibc-devel >= 2.2.90-12
d8d6ff
%ifarch ppc ppc64 ppc64le ppc64p7 s390 s390x sparc sparcv9 alpha
543165
# Make sure glibc supports TFmode long double
543165
Requires: glibc >= 2.3.90-35
543165
%endif
543165
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
543165
%ifarch %{arm}
543165
Requires: glibc >= 2.16
543165
%endif
543165
%endif
543165
Requires: libgcc >= %{version}-%{release}
543165
Requires: libgomp = %{version}-%{release}
543165
%if !%{build_ada}
543165
Obsoletes: gcc-gnat < %{version}-%{release}
543165
Obsoletes: libgnat < %{version}-%{release}
543165
%endif
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
543165
AutoReq: true
543165
Provides: bundled(libiberty)
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc = %{gcc_provides}
d8d6ff
%endif
543165
543165
Patch0: gcc48-hack.patch
543165
Patch1: gcc48-java-nomulti.patch
543165
Patch2: gcc48-ppc32-retaddr.patch
543165
Patch3: gcc48-rh330771.patch
543165
Patch4: gcc48-i386-libgomp.patch
543165
Patch5: gcc48-sparc-config-detection.patch
543165
Patch6: gcc48-libgomp-omp_h-multilib.patch
543165
Patch7: gcc48-libtool-no-rpath.patch
543165
Patch8: gcc48-cloog-dl.patch
543165
Patch9: gcc48-cloog-dl2.patch
543165
Patch10: gcc48-pr38757.patch
543165
Patch11: gcc48-libstdc++-docs.patch
543165
Patch12: gcc48-no-add-needed.patch
543165
Patch13: gcc48-pr56564.patch
b4bb7a
Patch14: gcc48-color-auto.patch
b4bb7a
Patch15: gcc48-pr28865.patch
b4bb7a
Patch16: gcc48-libgo-p224.patch
b4bb7a
Patch17: gcc48-pr60010.patch
b4bb7a
Patch18: gcc48-aarch64-ada.patch
b4bb7a
Patch19: gcc48-aarch64-async-unw-tables.patch
b4bb7a
Patch20: gcc48-aarch64-unwind-opt.patch
b4bb7a
Patch21: gcc48-rh1243366.patch
ee890f
Patch22: gcc48-rh1180633.patch
ee890f
Patch23: gcc48-rh1278872.patch
ee890f
Patch24: gcc48-pr67281.patch
ee890f
Patch25: gcc48-pr68680.patch
ee890f
Patch26: gcc48-rh1312436.patch
ee890f
Patch27: gcc48-pr53477.patch
ee890f
Patch28: gcc48-rh1296211.patch
ee890f
Patch29: gcc48-rh1304449.patch
ee890f
Patch30: gcc48-s390-z13.patch
ee890f
Patch31: gcc48-rh1312850.patch
ee890f
Patch32: gcc48-pr65142.patch
ee890f
Patch33: gcc48-pr52714.patch
ee890f
Patch34: gcc48-rh1344807.patch
ee890f
Patch35: gcc48-libgomp-20160715.patch
ee890f
Patch36: gcc48-pr63293.patch
003890
Patch37: gcc48-pr72863.patch
003890
Patch38: gcc48-pr78064.patch
003890
Patch39: gcc48-pr62258.patch
003890
Patch40: gcc48-rh1369183.patch
003890
Patch41: gcc48-pr68184.patch
003890
Patch42: gcc48-pr79439.patch
003890
Patch43: gcc48-pr66731.patch
003890
Patch44: gcc48-pr69116.patch
003890
Patch45: gcc48-pr72747.patch
003890
Patch46: gcc48-pr78796.patch
003890
Patch47: gcc48-pr79969.patch
003890
Patch48: gcc48-pr78875.patch
003890
Patch49: gcc48-rh1402585.patch
003890
Patch50: gcc48-pr70549.patch
003890
Patch51: gcc48-rh1457969.patch
85359c
Patch52: gcc48-pr69644.patch
103ae1
Patch53: gcc48-rh1487434.patch
85359c
Patch54: gcc48-rh1468546.patch
85359c
Patch55: gcc48-rh1469384.patch
85359c
Patch56: gcc48-rh1491395.patch
85359c
Patch57: gcc48-rh1482762.patch
85359c
Patch58: gcc48-pr77375.patch
85359c
Patch59: gcc48-pr77767.patch
85359c
Patch60: gcc48-pr78378.patch
85359c
Patch61: gcc48-pr80129.patch
85359c
Patch62: gcc48-pr80362.patch
85359c
Patch63: gcc48-pr80692.patch
85359c
Patch64: gcc48-pr82274.patch
85359c
Patch65: gcc48-pr78416.patch
b89248
Patch66: gcc48-rh1546728.patch
b89248
Patch67: gcc48-rh1555397.patch
b89248
Patch68: gcc48-pr81395.patch
b89248
Patch69: gcc48-pr72717.patch
b89248
Patch70: gcc48-pr66840.patch
b89248
Patch71: gcc48-rh1546372.patch
45c955
Patch72: gcc48-rh1655148.patch
9437cd
Patch73: gcc48-rh1659698.patch
9437cd
Patch74: gcc48-pr63442.patch
543165
543165
Patch1000: fastjar-0.97-segfault.patch
543165
Patch1001: fastjar-0.97-len1.patch
543165
Patch1002: fastjar-0.97-filename0.patch
543165
Patch1003: fastjar-CVE-2010-0831.patch
543165
Patch1004: fastjar-man.patch
67287f
Patch1005: fastjar-0.97-aarch64-config.patch
d8d6ff
Patch1006: fastjar-0.97-ppc64le-config.patch
543165
543165
Patch1100: isl-%{isl_version}-aarch64-config.patch
d8d6ff
Patch1101: isl-%{isl_version}-ppc64le-config.patch
d8d6ff
d8d6ff
Patch1200: cloog-%{cloog_version}-ppc64le-config.patch
543165
85359c
Patch1301: gcc48-rh1469697-1.patch
85359c
Patch1302: gcc48-rh1469697-2.patch
85359c
Patch1303: gcc48-rh1469697-3.patch
85359c
Patch1304: gcc48-rh1469697-4.patch
85359c
Patch1305: gcc48-rh1469697-5.patch
85359c
Patch1306: gcc48-rh1469697-6.patch
85359c
Patch1307: gcc48-rh1469697-7.patch
85359c
Patch1308: gcc48-rh1469697-8.patch
85359c
Patch1309: gcc48-rh1469697-9.patch
85359c
Patch1310: gcc48-rh1469697-10.patch
85359c
Patch1311: gcc48-rh1469697-11.patch
85359c
Patch1312: gcc48-rh1469697-12.patch
85359c
Patch1313: gcc48-rh1469697-13.patch
85359c
Patch1314: gcc48-rh1469697-14.patch
85359c
Patch1315: gcc48-rh1469697-15.patch
85359c
Patch1316: gcc48-rh1469697-16.patch
85359c
Patch1317: gcc48-rh1469697-17.patch
85359c
Patch1318: gcc48-rh1469697-18.patch
85359c
Patch1319: gcc48-rh1469697-19.patch
85359c
Patch1320: gcc48-rh1469697-20.patch
85359c
Patch1321: gcc48-rh1469697-21.patch
85359c
Patch1322: gcc48-rh1469697-22.patch
85359c
Patch1323: gcc48-rh1469697-23.patch
b89248
Patch1324: gcc48-rh1537828-1.patch
b89248
Patch1325: gcc48-rh1537828-2.patch
b89248
Patch1326: gcc48-rh1537828-3.patch
b89248
Patch1327: gcc48-rh1537828-4.patch
b89248
Patch1328: gcc48-rh1537828-5.patch
b89248
Patch1329: gcc48-rh1537828-10.patch
85359c
fab8f6
Patch1401: gcc48-rh1535655-1.patch
fab8f6
Patch1402: gcc48-rh1535655-2.patch
fab8f6
Patch1403: gcc48-rh1535655-3.patch
fab8f6
Patch1404: gcc48-rh1535655-4.patch
fab8f6
Patch1405: gcc48-rh1535655-5.patch
fab8f6
Patch1406: gcc48-rh1535655-6.patch
d950bf
Patch1407: gcc48-rh1552021.patch
b89248
Patch1408: gcc48-rh1537828-6.patch
b89248
Patch1409: gcc48-rh1537828-7.patch
b89248
Patch1410: gcc48-rh1537828-8.patch
b89248
Patch1411: gcc48-rh1537828-9.patch
fab8f6
543165
# On ARM EABI systems, we do want -gnueabi to be part of the
543165
# target triple.
543165
%ifnarch %{arm}
543165
%global _gnu %{nil}
543165
%endif
543165
%ifarch sparcv9
543165
%global gcc_target_platform sparc64-%{_vendor}-%{_target_os}
543165
%endif
67287f
%ifarch ppc ppc64p7
543165
%global gcc_target_platform ppc64-%{_vendor}-%{_target_os}
543165
%endif
67287f
%ifnarch sparcv9 ppc ppc64p7
543165
%global gcc_target_platform %{_target_platform}
543165
%endif
543165
543165
%description
543165
The gcc package contains the GNU Compiler Collection version 4.8.
543165
You'll need this package in order to compile C code.
543165
543165
%package -n libgcc
543165
Summary: GCC version 4.8 shared support library
543165
Group: System Environment/Libraries
543165
Autoreq: false
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgcc = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgcc
543165
This package contains GCC shared support library which is needed
543165
e.g. for exception handling support.
543165
543165
%package c++
543165
Summary: C++ support for GCC
543165
Group: Development/Languages
543165
Requires: gcc = %{version}-%{release}
543165
Requires: libstdc++ = %{version}-%{release}
543165
Requires: libstdc++-devel = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-c++ = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description c++
543165
This package adds C++ support to the GNU Compiler Collection.
543165
It includes support for most of the current C++ specification,
543165
including templates and exception handling.
543165
543165
%package -n libstdc++
543165
Summary: GNU Standard C++ Library
543165
Group: System Environment/Libraries
543165
Autoreq: true
543165
Requires: glibc >= 2.10.90-7
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libstdc++ = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libstdc++
543165
The libstdc++ package contains a rewritten standard compliant GCC Standard
543165
C++ Library.
543165
543165
%package -n libstdc++-devel
543165
Summary: Header files and libraries for C++ development
543165
Group: Development/Libraries
543165
Requires: libstdc++%{?_isa} = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libstdc++-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libstdc++-devel
543165
This is the GNU implementation of the standard C++ libraries.  This
543165
package includes the header files and libraries needed for C++
543165
development. This includes rewritten implementation of STL.
543165
543165
%package -n libstdc++-static
543165
Summary: Static libraries for the GNU standard C++ library
543165
Group: Development/Libraries
543165
Requires: libstdc++-devel = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libstdc++-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libstdc++-static
543165
Static libraries for the GNU standard C++ library.
543165
543165
%package -n libstdc++-docs
543165
Summary: Documentation for the GNU standard C++ library
543165
Group: Development/Libraries
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libstdc++-docs = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libstdc++-docs
543165
Manual, doxygen generated API information and Frequently Asked Questions
543165
for the GNU standard C++ library.
543165
543165
%package objc
543165
Summary: Objective-C support for GCC
543165
Group: Development/Languages
543165
Requires: gcc = %{version}-%{release}
543165
Requires: libobjc = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-objc = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description objc
543165
gcc-objc provides Objective-C support for the GCC.
543165
Mainly used on systems running NeXTSTEP, Objective-C is an
543165
object-oriented derivative of the C language.
543165
543165
%package objc++
543165
Summary: Objective-C++ support for GCC
543165
Group: Development/Languages
543165
Requires: gcc-c++ = %{version}-%{release}, gcc-objc = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-objc++ = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description objc++
543165
gcc-objc++ package provides Objective-C++ support for the GCC.
543165
543165
%package -n libobjc
543165
Summary: Objective-C runtime
543165
Group: System Environment/Libraries
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libobjc = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libobjc
543165
This package contains Objective-C shared library which is needed to run
543165
Objective-C dynamically linked programs.
543165
543165
%package gfortran
543165
Summary: Fortran support
543165
Group: Development/Languages
543165
Requires: gcc = %{version}-%{release}
543165
Requires: libgfortran = %{version}-%{release}
543165
%if %{build_libquadmath}
543165
Requires: libquadmath = %{version}-%{release}
543165
Requires: libquadmath-devel = %{version}-%{release}
543165
%endif
543165
BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-gfortran = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description gfortran
543165
The gcc-gfortran package provides support for compiling Fortran
543165
programs with the GNU Compiler Collection.
543165
543165
%package -n libgfortran
543165
Summary: Fortran runtime
543165
Group: System Environment/Libraries
543165
Autoreq: true
543165
%if %{build_libquadmath}
543165
Requires: libquadmath = %{version}-%{release}
543165
%endif
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgfortran = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgfortran
543165
This package contains Fortran shared library which is needed to run
543165
Fortran dynamically linked programs.
543165
543165
%package -n libgfortran-static
543165
Summary: Static Fortran libraries
543165
Group: Development/Libraries
543165
Requires: libgfortran = %{version}-%{release}
543165
Requires: gcc = %{version}-%{release}
543165
%if %{build_libquadmath}
543165
Requires: libquadmath-static = %{version}-%{release}
543165
%endif
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgfortran-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgfortran-static
543165
This package contains static Fortran libraries.
543165
543165
%package -n libgomp
543165
Summary: GCC OpenMP v3.0 shared support library
543165
Group: System Environment/Libraries
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgomp = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgomp
543165
This package contains GCC shared support library which is needed
543165
for OpenMP v3.0 support.
543165
543165
%package -n libmudflap
543165
Summary: GCC mudflap shared support library
543165
Group: System Environment/Libraries
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libmudflap = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libmudflap
543165
This package contains GCC shared support library which is needed
543165
for mudflap support.
543165
543165
%package -n libmudflap-devel
543165
Summary: GCC mudflap support
543165
Group: Development/Libraries
543165
Requires: libmudflap = %{version}-%{release}
543165
Requires: gcc = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libmudflap-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libmudflap-devel
543165
This package contains headers for building mudflap-instrumented programs.
543165
543165
To instrument a non-threaded program, add -fmudflap
543165
option to GCC and when linking add -lmudflap, for threaded programs
543165
also add -fmudflapth and -lmudflapth.
543165
543165
%package -n libmudflap-static
543165
Summary: Static libraries for mudflap support
543165
Group: Development/Libraries
543165
Requires: libmudflap-devel = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libmudflap-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libmudflap-static
543165
This package contains static libraries for building mudflap-instrumented
543165
programs.
543165
543165
%package -n libquadmath
543165
Summary: GCC __float128 shared support library
543165
Group: System Environment/Libraries
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libquadmath = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libquadmath
543165
This package contains GCC shared support library which is needed
543165
for __float128 math support and for Fortran REAL*16 support.
543165
543165
%package -n libquadmath-devel
543165
Summary: GCC __float128 support
543165
Group: Development/Libraries
543165
Requires: libquadmath = %{version}-%{release}
543165
Requires: gcc = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libquadmath-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libquadmath-devel
543165
This package contains headers for building Fortran programs using
543165
REAL*16 and programs using __float128 math.
543165
543165
%package -n libquadmath-static
543165
Summary: Static libraries for __float128 support
543165
Group: Development/Libraries
543165
Requires: libquadmath-devel = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libquadmath-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libquadmath-static
543165
This package contains static libraries for building Fortran programs
543165
using REAL*16 and programs using __float128 math.
543165
543165
%package -n libitm
543165
Summary: The GNU Transactional Memory library
543165
Group: System Environment/Libraries
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libitm = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libitm
543165
This package contains the GNU Transactional Memory library
543165
which is a GCC transactional memory support runtime library.
543165
543165
%package -n libitm-devel
543165
Summary: The GNU Transactional Memory support
543165
Group: Development/Libraries
543165
Requires: libitm = %{version}-%{release}
543165
Requires: gcc = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libitm-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libitm-devel
543165
This package contains headers and support files for the
543165
GNU Transactional Memory library.
543165
543165
%package -n libitm-static
543165
Summary: The GNU Transactional Memory static library
543165
Group: Development/Libraries
543165
Requires: libitm-devel = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libitm-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libitm-static
543165
This package contains GNU Transactional Memory static libraries.
543165
543165
%package -n libatomic
543165
Summary: The GNU Atomic library
543165
Group: System Environment/Libraries
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libatomic = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libatomic
543165
This package contains the GNU Atomic library
543165
which is a GCC support runtime library for atomic operations not supported
543165
by hardware.
543165
543165
%package -n libatomic-static
543165
Summary: The GNU Atomic static library
543165
Group: Development/Libraries
543165
Requires: libatomic = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libatomic-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libatomic-static
543165
This package contains GNU Atomic static libraries.
543165
543165
%package -n libasan
543165
Summary: The Address Sanitizer runtime library
543165
Group: System Environment/Libraries
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libasan = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libasan
543165
This package contains the Address Sanitizer library
543165
which is used for -fsanitize=address instrumented programs.
543165
543165
%package -n libasan-static
543165
Summary: The Address Sanitizer static library
543165
Group: Development/Libraries
543165
Requires: libasan = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libasan-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libasan-static
543165
This package contains Address Sanitizer static runtime library.
543165
543165
%package -n libtsan
543165
Summary: The Thread Sanitizer runtime library
543165
Group: System Environment/Libraries
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libtsan = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libtsan
543165
This package contains the Thread Sanitizer library
543165
which is used for -fsanitize=thread instrumented programs.
543165
543165
%package -n libtsan-static
543165
Summary: The Thread Sanitizer static library
543165
Group: Development/Libraries
543165
Requires: libtsan = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libtsan-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libtsan-static
543165
This package contains Thread Sanitizer static runtime library.
543165
543165
%package java
543165
Summary: Java support for GCC
543165
Group: Development/Languages
543165
Requires: gcc = %{version}-%{release}
543165
Requires: libgcj = %{version}-%{release}
543165
Requires: libgcj-devel = %{version}-%{release}
543165
Requires: /usr/share/java/eclipse-ecj.jar
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-java = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description java
543165
This package adds support for compiling Java(tm) programs and
543165
bytecode into native code.
543165
543165
%package -n libgcj
543165
Summary: Java runtime library for gcc
543165
Group: System Environment/Libraries
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
543165
Requires: zip >= 2.1
543165
Requires: gtk2 >= 2.4.0
543165
Requires: glib2 >= 2.4.0
543165
Requires: libart_lgpl >= 2.1.0
543165
%if %{build_java}
543165
BuildRequires: gtk2-devel >= 2.4.0
543165
BuildRequires: glib2-devel >= 2.4.0
543165
BuildRequires: libart_lgpl-devel >= 2.1.0
543165
BuildRequires: alsa-lib-devel
543165
BuildRequires: libXtst-devel
543165
BuildRequires: libXt-devel
543165
%endif
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgcj = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgcj
543165
The Java(tm) runtime library. You will need this package to run your Java
543165
programs compiled using the Java compiler from GNU Compiler Collection (gcj).
543165
543165
%package -n libgcj-devel
543165
Summary: Libraries for Java development using GCC
543165
Group: Development/Languages
543165
Requires: libgcj%{?_isa} = %{version}-%{release}
543165
Requires: zlib-devel%{?_isa}
543165
Requires: /bin/awk
543165
Autoreq: false
543165
Autoprov: false
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgcj-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgcj-devel
543165
The Java(tm) static libraries and C header files. You will need this
543165
package to compile your Java programs using the GCC Java compiler (gcj).
543165
543165
%package -n libgcj-src
543165
Summary: Java library sources from GCC4 preview
543165
Group: System Environment/Libraries
543165
Requires: libgcj = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgcj-src = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgcj-src
543165
The Java(tm) runtime library sources for use in Eclipse.
543165
543165
%package -n cpp
543165
Summary: The C Preprocessor
543165
Group: Development/Languages
543165
Requires: filesystem >= 3
543165
Provides: /lib/cpp
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: cpp = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n cpp
543165
Cpp is the GNU C-Compatible Compiler Preprocessor.
543165
Cpp is a macro processor which is used automatically
543165
by the C compiler to transform your program before actual
543165
compilation. It is called a macro processor because it allows
543165
you to define macros, abbreviations for longer
543165
constructs.
543165
543165
The C preprocessor provides four separate functionalities: the
543165
inclusion of header files (files of declarations that can be
543165
substituted into your program); macro expansion (you can define macros,
543165
and the C preprocessor will replace the macros with their definitions
543165
throughout the program); conditional compilation (using special
543165
preprocessing directives, you can include or exclude parts of the
543165
program according to various conditions); and line control (if you use
543165
a program to combine or rearrange source files into an intermediate
543165
file which is then compiled, you can use line control to inform the
543165
compiler about where each source line originated).
543165
543165
You should install this package if you are a C programmer and you use
543165
macros.
543165
543165
%package gnat
543165
Summary: Ada 95 support for GCC
543165
Group: Development/Languages
543165
Requires: gcc = %{version}-%{release}
543165
Requires: libgnat = %{version}-%{release}, libgnat-devel = %{version}-%{release}
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-gnat = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description gnat
543165
GNAT is a GNU Ada 95 front-end to GCC. This package includes development tools,
543165
the documents and Ada 95 compiler.
543165
543165
%package -n libgnat
543165
Summary: GNU Ada 95 runtime shared libraries
543165
Group: System Environment/Libraries
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgnat = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgnat
543165
GNAT is a GNU Ada 95 front-end to GCC. This package includes shared libraries,
543165
which are required to run programs compiled with the GNAT.
543165
543165
%package -n libgnat-devel
543165
Summary: GNU Ada 95 libraries
543165
Group: Development/Languages
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgnat-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgnat-devel
543165
GNAT is a GNU Ada 95 front-end to GCC. This package includes libraries,
543165
which are required to compile with the GNAT.
543165
543165
%package -n libgnat-static
543165
Summary: GNU Ada 95 static libraries
543165
Group: Development/Languages
543165
Requires: libgnat-devel = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgnat-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgnat-static
543165
GNAT is a GNU Ada 95 front-end to GCC. This package includes static libraries.
543165
543165
%package go
543165
Summary: Go support
543165
Group: Development/Languages
543165
Requires: gcc = %{version}-%{release}
543165
Requires: libgo = %{version}-%{release}
543165
Requires: libgo-devel = %{version}-%{release}
543165
Requires(post): /sbin/install-info
543165
Requires(preun): /sbin/install-info
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-go = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description go
543165
The gcc-go package provides support for compiling Go programs
543165
with the GNU Compiler Collection.
543165
543165
%package -n libgo
543165
Summary: Go runtime
543165
Group: System Environment/Libraries
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgo = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgo
543165
This package contains Go shared library which is needed to run
543165
Go dynamically linked programs.
543165
543165
%package -n libgo-devel
543165
Summary: Go development libraries
543165
Group: Development/Languages
543165
Requires: libgo = %{version}-%{release}
543165
Autoreq: true
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgo-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgo-devel
543165
This package includes libraries and support files for compiling
543165
Go programs.
543165
543165
%package -n libgo-static
543165
Summary: Static Go libraries
543165
Group: Development/Libraries
543165
Requires: libgo = %{version}-%{release}
543165
Requires: gcc = %{version}-%{release}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: libgo-static = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description -n libgo-static
543165
This package contains static Go libraries.
543165
543165
%package plugin-devel
543165
Summary: Support for compiling GCC plugins
543165
Group: Development/Languages
543165
Requires: gcc = %{version}-%{release}
543165
Requires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
Provides: gcc-plugin-devel = %{gcc_provides}
d8d6ff
%endif
543165
543165
%description plugin-devel
543165
This package contains header files and other support files
543165
for compiling GCC plugins.  The GCC plugin ABI is currently
543165
not stable, so plugins must be rebuilt any time GCC is updated.
543165
543165
%if 0%{?_enable_debug_packages}
543165
%define debug_package %{nil}
543165
%global __debug_package 1
543165
%global __debug_install_post \
543165
   %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/gcc-%{version}-%{DATE}"\
543165
    %{_builddir}/gcc-%{version}-%{DATE}/split-debuginfo.sh\
543165
%{nil}
543165
543165
%package debuginfo
543165
Summary: Debug information for package %{name}
543165
Group: Development/Debug
543165
AutoReqProv: 0
543165
Requires: gcc-base-debuginfo = %{version}-%{release}
543165
543165
%description debuginfo
543165
This package provides debug information for package %{name}.
543165
Debug information is useful when developing applications that use this
543165
package or when debugging this package.
543165
543165
%files debuginfo -f debugfiles.list
543165
%defattr(-,root,root)
543165
543165
%package base-debuginfo
543165
Summary: Debug information for libraries from package %{name}
543165
Group: Development/Debug
543165
AutoReqProv: 0
543165
543165
%description base-debuginfo
543165
This package provides debug information for libgcc_s, libgomp and
543165
libstdc++ libraries from package %{name}.
543165
Debug information is useful when developing applications that use this
543165
package or when debugging this package.
543165
543165
%files base-debuginfo -f debugfiles-base.list
543165
%defattr(-,root,root)
543165
%endif
543165
543165
%prep
543165
%setup -q -n gcc-%{version}-%{DATE} -a 1 -a 2
543165
%patch0 -p0 -b .hack~
543165
%patch1 -p0 -b .java-nomulti~
543165
%patch2 -p0 -b .ppc32-retaddr~
543165
%patch3 -p0 -b .rh330771~
543165
%patch4 -p0 -b .i386-libgomp~
543165
%patch5 -p0 -b .sparc-config-detection~
543165
%patch6 -p0 -b .libgomp-omp_h-multilib~
543165
%patch7 -p0 -b .libtool-no-rpath~
543165
%if %{build_cloog}
543165
%patch8 -p0 -b .cloog-dl~
543165
%patch9 -p0 -b .cloog-dl2~
543165
%endif
543165
%patch10 -p0 -b .pr38757~
543165
%if %{build_libstdcxx_docs}
543165
%patch11 -p0 -b .libstdc++-docs~
543165
%endif
543165
%patch12 -p0 -b .no-add-needed~
543165
%patch13 -p0 -b .pr56564~
543165
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
b4bb7a
%patch14 -p0 -b .color-auto~
543165
%endif
b4bb7a
%patch15 -p0 -b .pr28865~
b4bb7a
%patch16 -p0 -b .libgo-p224~
67287f
rm -f libgo/go/crypto/elliptic/p224{,_test}.go
b4bb7a
%patch17 -p0 -b .pr60010~
d8d6ff
%ifarch aarch64
b4bb7a
%patch18 -p0 -b .aarch64-ada~
d8d6ff
%endif
b4bb7a
%patch19 -p0 -b .aarch64-async-unw-tables~
b4bb7a
%patch20 -p0 -b .aarch64-unwind-opt~
b4bb7a
%patch21 -p0 -b .rh1243366~
ee890f
%patch22 -p0 -b .rh1180633~
ee890f
%patch23 -p0 -b .rh1278872~
ee890f
%patch24 -p0 -b .pr67281~
ee890f
%patch25 -p0 -b .pr68680~
ee890f
%patch26 -p0 -b .rh1312436~
ee890f
%patch27 -p0 -b .pr53477~
ee890f
touch -r %{PATCH27} libstdc++-v3/python/libstdcxx/v6/printers.py
ee890f
%patch28 -p0 -b .rh1296211~
ee890f
%patch29 -p0 -b .rh1304449~
ee890f
%patch30 -p0 -b .s390-z13~
ee890f
%patch31 -p0 -b .rh1312850~
ee890f
%patch32 -p0 -b .pr65142~
ee890f
%patch33 -p0 -b .pr52714~
ee890f
%patch34 -p0 -b .rh1344807~
ee890f
%patch35 -p0 -b .libgomp-20160715~
ee890f
%patch36 -p0 -b .pr63293~
003890
%patch37 -p0 -b .pr72863~
003890
%patch38 -p0 -b .pr78064~
003890
%patch39 -p0 -b .pr62258~
003890
%patch40 -p0 -b .rh1369183~
003890
%patch41 -p0 -b .pr68184~
003890
%patch42 -p0 -b .pr79439~
003890
%patch43 -p0 -b .pr66731~
003890
%patch44 -p0 -b .pr69116~
003890
%patch45 -p0 -b .pr72747~
003890
%patch46 -p0 -b .pr78796~
003890
%patch47 -p0 -b .pr79969~
003890
%patch48 -p0 -b .pr78875~
003890
%patch49 -p0 -b .rh1402585~
003890
%patch50 -p0 -b .pr70549~
003890
%patch51 -p0 -b .rh1457969~
85359c
%patch52 -p0 -b .pr69644~
103ae1
%patch53 -p0 -b .rh1487434~
85359c
%patch54 -p0 -b .rh1468546~
85359c
%patch55 -p0 -b .rh1469384~
85359c
%patch56 -p0 -b .rh1491395~
85359c
%patch57 -p0 -b .rh1482762~
85359c
%patch58 -p0 -b .pr77375~
85359c
%patch59 -p0 -b .pr77767~
85359c
%patch60 -p0 -b .pr78378~
85359c
%patch61 -p0 -b .pr80129~
85359c
%patch62 -p0 -b .pr80362~
85359c
%patch63 -p0 -b .pr80692~
85359c
%patch64 -p0 -b .pr82274~
85359c
%patch65 -p0 -b .pr78416~
b89248
%patch66 -p0 -b .rh1546728~
b89248
%patch67 -p0 -b .rh1555397~
b89248
%patch68 -p0 -b .pr81395~
b89248
%patch69 -p0 -b .pr72717~
b89248
%patch70 -p0 -b .pr66840~
b89248
%patch71 -p0 -b .rh1546372~
45c955
%patch72 -p1 -b .rh1655148~
9437cd
%patch73 -p0 -b .rh1659698~
9437cd
%patch74 -p0 -b .pr63442~
543165
543165
%if 0%{?_enable_debug_packages}
543165
cat > split-debuginfo.sh <<\EOF
543165
#!/bin/sh
543165
BUILDDIR="%{_builddir}/gcc-%{version}-%{DATE}"
543165
if [ -f "${BUILDDIR}"/debugfiles.list \
543165
     -a -f "${BUILDDIR}"/debuglinks.list ]; then
543165
  > "${BUILDDIR}"/debugsources-base.list
543165
  > "${BUILDDIR}"/debugfiles-base.list
543165
  cd "${RPM_BUILD_ROOT}"
543165
  for f in `find usr/lib/debug -name \*.debug \
543165
	    | egrep 'lib[0-9]*/lib(gcc|gomp|stdc|quadmath|itm)'`; do
543165
    echo "/$f" >> "${BUILDDIR}"/debugfiles-base.list
543165
    if [ -f "$f" -a ! -L "$f" ]; then
543165
      cp -a "$f" "${BUILDDIR}"/test.debug
543165
      /usr/lib/rpm/debugedit -b "${RPM_BUILD_DIR}" -d /usr/src/debug \
543165
			     -l "${BUILDDIR}"/debugsources-base.list \
543165
			     "${BUILDDIR}"/test.debug
543165
      rm -f "${BUILDDIR}"/test.debug
543165
    fi
543165
  done
543165
  for f in `find usr/lib/debug/.build-id -type l`; do
543165
    ls -l "$f" | egrep -q -- '->.*lib[0-9]*/lib(gcc|gomp|stdc|quadmath|itm)' \
543165
      && echo "/$f" >> "${BUILDDIR}"/debugfiles-base.list
543165
  done
543165
  grep -v -f "${BUILDDIR}"/debugfiles-base.list \
543165
    "${BUILDDIR}"/debugfiles.list > "${BUILDDIR}"/debugfiles.list.new
543165
  mv -f "${BUILDDIR}"/debugfiles.list.new "${BUILDDIR}"/debugfiles.list
543165
  for f in `LC_ALL=C sort -z -u "${BUILDDIR}"/debugsources-base.list \
543165
	    | grep -E -v -z '(<internal>|<built-in>)$' \
543165
	    | xargs --no-run-if-empty -n 1 -0 echo \
543165
	    | sed 's,^,usr/src/debug/,'`; do
543165
    if [ -f "$f" ]; then
543165
      echo "/$f" >> "${BUILDDIR}"/debugfiles-base.list
543165
      echo "%%exclude /$f" >> "${BUILDDIR}"/debugfiles.list
543165
    fi
543165
  done
543165
  mv -f "${BUILDDIR}"/debugfiles-base.list{,.old}
543165
  echo "%%dir /usr/lib/debug" > "${BUILDDIR}"/debugfiles-base.list
543165
  awk 'BEGIN{FS="/"}(NF>4&&$NF){d="%%dir /"$2"/"$3"/"$4;for(i=5;i
543165
    "${BUILDDIR}"/debugfiles-base.list.old >> "${BUILDDIR}"/debugfiles-base.list
543165
  cat "${BUILDDIR}"/debugfiles-base.list.old >> "${BUILDDIR}"/debugfiles-base.list
543165
  rm -f "${BUILDDIR}"/debugfiles-base.list.old
543165
fi
543165
EOF
543165
chmod 755 split-debuginfo.sh
543165
%endif
543165
543165
# This testcase doesn't compile.
543165
rm libjava/testsuite/libjava.lang/PR35020*
543165
543165
tar xzf %{SOURCE4}
543165
543165
%patch1000 -p0 -b .fastjar-0.97-segfault~
543165
%patch1001 -p0 -b .fastjar-0.97-len1~
543165
%patch1002 -p0 -b .fastjar-0.97-filename0~
543165
%patch1003 -p0 -b .fastjar-CVE-2010-0831~
543165
%patch1004 -p0 -b .fastjar-man~
67287f
%patch1005 -p0 -b .fastjar-0.97-aarch64-config~
d8d6ff
%patch1006 -p0 -b .fastjar-0.97-ppc64le-config~
543165
543165
%if %{bootstrap_java}
543165
tar xjf %{SOURCE10}
543165
%endif
543165
d8d6ff
%patch1100 -p0 -b .isl-aarch64-config~
d8d6ff
%patch1101 -p0 -b .isl-ppc64le-config~
d8d6ff
d8d6ff
%patch1200 -p0 -b .cloog-ppc64le-config~
543165
85359c
%patch1301 -p1 -b .stack-clash-1~
85359c
%patch1302 -p1 -b .stack-clash-2~
85359c
%patch1303 -p1 -b .stack-clash-3~
85359c
%patch1304 -p1 -b .stack-clash-4~
85359c
%patch1305 -p1 -b .stack-clash-5~
85359c
%patch1306 -p1 -b .stack-clash-6~
85359c
%patch1307 -p1 -b .stack-clash-7~
85359c
%patch1308 -p1 -b .stack-clash-8~
85359c
%patch1309 -p1 -b .stack-clash-9~
85359c
%patch1310 -p1 -b .stack-clash-10~
85359c
%patch1311 -p1 -b .stack-clash-11~
85359c
%patch1312 -p1 -b .stack-clash-12~
85359c
%patch1313 -p1 -b .stack-clash-13~
85359c
%patch1314 -p1 -b .stack-clash-14~
85359c
%patch1315 -p1 -b .stack-clash-15~
85359c
%patch1316 -p1 -b .stack-clash-16~
85359c
%patch1317 -p1 -b .stack-clash-17~
85359c
%patch1318 -p1 -b .stack-clash-18~
85359c
%patch1319 -p1 -b .stack-clash-19~
85359c
%patch1320 -p1 -b .stack-clash-20~
85359c
%patch1321 -p1 -b .stack-clash-21~
85359c
%patch1322 -p1 -b .stack-clash-22~
85359c
%patch1323 -p1 -b .stack-clash-23~
b89248
%patch1324 -p1 -b .stack-clash-24~
b89248
%patch1325 -p1 -b .stack-clash-25~
b89248
%patch1326 -p1 -b .stack-clash-26~
b89248
%patch1327 -p1 -b .stack-clash-27~
b89248
%patch1328 -p1 -b .stack-clash-28~
b89248
%patch1329 -p1 -b .stack-clash-29~
85359c
fab8f6
%patch1401 -p1 -b .retpolines-1~
fab8f6
%patch1402 -p1 -b .retpolines-2~
fab8f6
%patch1403 -p1 -b .retpolines-3~
fab8f6
%patch1404 -p1 -b .retpolines-4~
fab8f6
%patch1405 -p1 -b .retpolines-5~
fab8f6
%patch1406 -p1 -b .retpolines-6~
d950bf
%patch1407 -p0 -b .retpolines-7~
b89248
%patch1408 -p0 -b .retpolines-8~
b89248
%patch1409 -p1 -b .retpolines-9~
b89248
%patch1410 -p1 -b .retpolines-10~
b89248
%patch1411 -p1 -b .retpolines-11~
d950bf
fab8f6
b4bb7a
sed -i -e 's/4\.8\.5/4.8.5/' gcc/BASE-VER
543165
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
543165
543165
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
543165
# Default to -gdwarf-4 -fno-debug-types-section rather than -gdwarf-2
543165
sed -i '/UInteger Var(dwarf_version)/s/Init(2)/Init(4)/' gcc/common.opt
543165
sed -i '/flag_debug_types_section/s/Init(1)/Init(0)/' gcc/common.opt
543165
sed -i '/dwarf_record_gcc_switches/s/Init(0)/Init(1)/' gcc/common.opt
543165
sed -i 's/\(may be either 2, 3 or 4; the default version is \)2\./\14./' gcc/doc/invoke.texi
543165
%else
543165
# Default to -gdwarf-3 rather than -gdwarf-2
543165
sed -i '/UInteger Var(dwarf_version)/s/Init(2)/Init(3)/' gcc/common.opt
543165
sed -i 's/\(may be either 2, 3 or 4; the default version is \)2\./\13./' gcc/doc/invoke.texi
543165
sed -i 's/#define[[:blank:]]*EMIT_ENTRY_VALUE[[:blank:]].*$/#define EMIT_ENTRY_VALUE 0/' gcc/{var-tracking,dwarf2out}.c
543165
sed -i 's/#define[[:blank:]]*EMIT_TYPED_DWARF_STACK[[:blank:]].*$/#define EMIT_TYPED_DWARF_STACK 0/' gcc/dwarf2out.c
543165
sed -i 's/#define[[:blank:]]*EMIT_DEBUG_MACRO[[:blank:]].*$/#define EMIT_DEBUG_MACRO 0/' gcc/dwarf2out.c
543165
%endif
543165
543165
cp -a libstdc++-v3/config/cpu/i{4,3}86/atomicity.h
543165
543165
# Hack to avoid building multilib libjava
543165
perl -pi -e 's/^all: all-redirect/ifeq (\$(MULTISUBDIR),)\nall: all-redirect\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in
543165
perl -pi -e 's/^install: install-redirect/ifeq (\$(MULTISUBDIR),)\ninstall: install-redirect\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in
543165
perl -pi -e 's/^check: check-redirect/ifeq (\$(MULTISUBDIR),)\ncheck: check-redirect\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in
543165
perl -pi -e 's/^all: all-recursive/ifeq (\$(MULTISUBDIR),)\nall: all-recursive\nelse\nall:\n\techo Multilib libjava build disabled\nendif/' libjava/Makefile.in
543165
perl -pi -e 's/^install: install-recursive/ifeq (\$(MULTISUBDIR),)\ninstall: install-recursive\nelse\ninstall:\n\techo Multilib libjava install disabled\nendif/' libjava/Makefile.in
543165
perl -pi -e 's/^check: check-recursive/ifeq (\$(MULTISUBDIR),)\ncheck: check-recursive\nelse\ncheck:\n\techo Multilib libjava check disabled\nendif/' libjava/Makefile.in
543165
543165
./contrib/gcc_update --touch
543165
543165
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
543165
543165
%ifarch ppc
543165
if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
543165
  mkdir -p libstdc++-v3/config/abi/post/powerpc64-linux-gnu/64
543165
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{,64/}baseline_symbols.txt
543165
  mv libstdc++-v3/config/abi/post/powerpc64-linux-gnu/{32/,}baseline_symbols.txt
543165
  rm -rf libstdc++-v3/config/abi/post/powerpc64-linux-gnu/32
543165
fi
543165
%endif
543165
%ifarch sparc
543165
if [ -d libstdc++-v3/config/abi/post/sparc64-linux-gnu ]; then
543165
  mkdir -p libstdc++-v3/config/abi/post/sparc64-linux-gnu/64
543165
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{,64/}baseline_symbols.txt
543165
  mv libstdc++-v3/config/abi/post/sparc64-linux-gnu/{32/,}baseline_symbols.txt
543165
  rm -rf libstdc++-v3/config/abi/post/sparc64-linux-gnu/32
543165
fi
543165
%endif
543165
543165
# This test causes fork failures, because it spawns way too many threads
543165
rm -f gcc/testsuite/go.test/test/chan/goroutines.go
543165
543165
%build
543165
543165
# Undo the broken autoconf change in recent Fedora versions
543165
export CONFIG_SITE=NONE
543165
543165
%if %{build_java}
543165
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
543165
# gjar isn't usable, so even when GCC source tree no longer includes
543165
# fastjar, build it anyway.
543165
mkdir fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
543165
cd fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
543165
../configure CFLAGS="%{optflags}" --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
543165
make %{?_smp_mflags}
543165
export PATH=`pwd`${PATH:+:$PATH}
543165
cd ../../
543165
%endif
543165
543165
rm -fr obj-%{gcc_target_platform}
543165
mkdir obj-%{gcc_target_platform}
543165
cd obj-%{gcc_target_platform}
543165
543165
%if %{build_java}
543165
%if !%{bootstrap_java}
543165
# If we don't have gjavah in $PATH, try to build it with the old gij
543165
mkdir java_hacks
543165
cd java_hacks
543165
cp -a ../../libjava/classpath/tools/external external
543165
mkdir -p gnu/classpath/tools
543165
cp -a ../../libjava/classpath/tools/gnu/classpath/tools/{common,javah,getopt} gnu/classpath/tools/
543165
cp -a ../../libjava/classpath/tools/resource/gnu/classpath/tools/common/messages.properties gnu/classpath/tools/common
543165
cp -a ../../libjava/classpath/tools/resource/gnu/classpath/tools/getopt/messages.properties gnu/classpath/tools/getopt
543165
cd external/asm; for i in `find . -name \*.java`; do gcj --encoding ISO-8859-1 -C $i -I.; done; cd ../..
543165
for i in `find gnu -name \*.java`; do gcj -C $i -I. -Iexternal/asm/; done
543165
gcj -findirect-dispatch -O2 -fmain=gnu.classpath.tools.javah.Main -I. -Iexternal/asm/ `find . -name \*.class` -o gjavah.real
543165
cat > gjavah <
543165
#!/bin/sh
543165
export CLASSPATH=`pwd`${CLASSPATH:+:$CLASSPATH}
543165
exec `pwd`/gjavah.real "\$@"
543165
EOF
543165
chmod +x `pwd`/gjavah
543165
cat > ecj1 <
543165
#!/bin/sh
543165
exec gij -cp /usr/share/java/eclipse-ecj.jar org.eclipse.jdt.internal.compiler.batch.GCCMain "\$@"
543165
EOF
543165
chmod +x `pwd`/ecj1
543165
export PATH=`pwd`${PATH:+:$PATH}
543165
cd ..
543165
%endif
543165
%endif
543165
543165
%if %{build_cloog}
543165
mkdir isl-build isl-install
543165
%ifarch s390 s390x
543165
ISL_FLAG_PIC=-fPIC
543165
%else
543165
ISL_FLAG_PIC=-fpic
543165
%endif
543165
cd isl-build
543165
../../isl-%{isl_version}/configure --disable-shared \
543165
  CC=/usr/bin/gcc CXX=/usr/bin/g++ \
543165
  CFLAGS="${CFLAGS:-%optflags} $ISL_FLAG_PIC" --prefix=`cd ..; pwd`/isl-install
543165
make %{?_smp_mflags}
543165
make install
543165
cd ..
543165
543165
mkdir cloog-build cloog-install
543165
cd cloog-build
543165
cat >> ../../cloog-%{cloog_version}/source/isl/constraints.c << \EOF
543165
#include <isl/flow.h>
543165
static void __attribute__((used)) *s1 = (void *) isl_union_map_compute_flow;
543165
static void __attribute__((used)) *s2 = (void *) isl_map_dump;
543165
EOF
543165
sed -i 's|libcloog|libgcc48privatecloog|g' \
543165
  ../../cloog-%{cloog_version}/{,test/}Makefile.{am,in}
543165
isl_prefix=`cd ../isl-install; pwd` \
543165
../../cloog-%{cloog_version}/configure --with-isl=system \
543165
  --with-isl-prefix=`cd ../isl-install; pwd` \
543165
  CC=/usr/bin/gcc CXX=/usr/bin/g++ \
543165
  CFLAGS="${CFLAGS:-%optflags}" CXXFLAGS="${CXXFLAGS:-%optflags}" \
543165
   --prefix=`cd ..; pwd`/cloog-install
543165
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
543165
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
543165
make %{?_smp_mflags}
543165
make %{?_smp_mflags} install
543165
cd ../cloog-install/lib
543165
rm libgcc48privatecloog-isl.so{,.4}
543165
mv libgcc48privatecloog-isl.so.4.0.0 libcloog-isl.so.4
543165
ln -sf libcloog-isl.so.4 libcloog-isl.so
543165
ln -sf libcloog-isl.so.4 libcloog.so
543165
cd ../..
543165
%endif
543165
543165
CC=gcc
543165
OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
543165
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
543165
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
543165
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
543165
%ifarch sparc
543165
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g;s/-mcpu=v[78]//g'`
543165
%endif
543165
%ifarch %{ix86}
543165
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=i.86//g'`
543165
%endif
543165
%ifarch sparc64
543165
cat > gcc64 <<"EOF"
543165
#!/bin/sh
543165
exec /usr/bin/gcc -m64 "$@"
543165
EOF
543165
chmod +x gcc64
543165
CC=`pwd`/gcc64
543165
%endif
d8d6ff
%ifarch ppc64 ppc64le ppc64p7
543165
if gcc -m64 -xc -S /dev/null -o - > /dev/null 2>&1; then
543165
  cat > gcc64 <<"EOF"
543165
#!/bin/sh
543165
exec /usr/bin/gcc -m64 "$@"
543165
EOF
543165
  chmod +x gcc64
543165
  CC=`pwd`/gcc64
543165
fi
543165
%endif
543165
OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'`
543165
case "$OPT_FLAGS" in
543165
  *-fasynchronous-unwind-tables*)
543165
    sed -i -e 's/-fno-exceptions /-fno-exceptions -fno-asynchronous-unwind-tables/' \
543165
      ../gcc/Makefile.in
543165
    ;;
543165
esac
543165
enablelgo=
543165
enablelada=
543165
%if %{build_ada}
543165
enablelada=,ada
543165
%endif
543165
%if %{build_go}
543165
enablelgo=,go
543165
%endif
543165
CC="$CC" CFLAGS="$OPT_FLAGS" \
67287f
	CXXFLAGS="`echo " $OPT_FLAGS " | sed 's/ -Wall / /g;s/ -fexceptions / /g' \
67287f
		  | sed 's/ -Werror=format-security / -Wformat -Werror=format-security /'`" \
543165
	XCFLAGS="$OPT_FLAGS" TCFLAGS="$OPT_FLAGS" GCJFLAGS="$OPT_FLAGS" \
543165
	../configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
543165
	--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap \
543165
	--enable-shared --enable-threads=posix --enable-checking=release \
543165
	--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions \
543165
	--enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu \
543165
	--enable-languages=c,c++,objc,obj-c++,java,fortran${enablelada}${enablelgo},lto \
543165
	--enable-plugin --enable-initfini-array \
543165
%if !%{build_java}
543165
	--disable-libgcj \
543165
%else
543165
	--enable-java-awt=gtk --disable-dssi \
543165
	--with-java-home=%{_prefix}/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre \
543165
	--enable-libgcj-multifile \
543165
%if !%{bootstrap_java}
543165
	--enable-java-maintainer-mode \
543165
%endif
543165
	--with-ecj-jar=/usr/share/java/eclipse-ecj.jar \
543165
	--disable-libjava-multilib \
543165
%endif
543165
%if %{build_cloog}
543165
	--with-isl=`pwd`/isl-install --with-cloog=`pwd`/cloog-install \
543165
%else
543165
	--without-isl --without-cloog \
543165
%endif
67287f
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
67287f
%if %{attr_ifunc}
67287f
	--enable-gnu-indirect-function \
67287f
%endif
67287f
%endif
543165
%ifarch %{arm}
543165
	--disable-sjlj-exceptions \
543165
%endif
d8d6ff
%ifarch ppc ppc64 ppc64le ppc64p7
543165
	--enable-secureplt \
543165
%endif
d8d6ff
%ifarch sparc sparcv9 sparc64 ppc ppc64 ppc64le ppc64p7 s390 s390x alpha
543165
	--with-long-double-128 \
543165
%endif
d8d6ff
%ifarch ppc64le
b4bb7a
	--enable-targets=powerpcle-linux --disable-multilib \
d8d6ff
%endif
543165
%ifarch sparc
543165
	--disable-linux-futex \
543165
%endif
543165
%ifarch sparc64
543165
	--with-cpu=ultrasparc \
543165
%endif
543165
%ifarch sparc sparcv9
543165
	--host=%{gcc_target_platform} --build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=v7
543165
%endif
d8d6ff
%ifarch ppc64le
ee890f
       --with-cpu-64=power8 --with-tune-64=power8 \
d8d6ff
%endif
67287f
%ifarch ppc ppc64 ppc64p7
543165
%if 0%{?rhel} >= 7
543165
	--with-cpu-32=power7 --with-tune-32=power7 --with-cpu-64=power7 --with-tune-64=power7 \
543165
%endif
543165
%if 0%{?rhel} == 6
543165
	--with-cpu-32=power4 --with-tune-32=power6 --with-cpu-64=power4 --with-tune-64=power6 \
543165
%endif
543165
%endif
543165
%ifarch ppc
543165
	--build=%{gcc_target_platform} --target=%{gcc_target_platform} --with-cpu=default32
543165
%endif
543165
%ifarch %{ix86} x86_64
543165
	--with-tune=generic \
543165
%endif
543165
%if 0%{?rhel} >= 7
543165
%ifarch %{ix86}
543165
	--with-arch=x86-64 \
543165
%endif
543165
%ifarch x86_64
543165
	--with-arch_32=x86-64 \
543165
%endif
543165
%else
543165
%ifarch %{ix86}
543165
	--with-arch=i686 \
543165
%endif
543165
%ifarch x86_64
543165
	--with-arch_32=i686 \
543165
%endif
543165
%endif
543165
%ifarch s390 s390x
543165
%if 0%{?rhel} >= 7
67287f
	--with-arch=z196 --with-tune=zEC12 --enable-decimal-float \
543165
%else
543165
	--with-arch=z9-109 --with-tune=z10 --enable-decimal-float \
543165
%endif
543165
%endif
543165
%ifarch armv7hl
543165
	--with-cpu=cortex-a8 --with-tune=cortex-a8 --with-arch=armv7-a \
543165
	--with-float=hard --with-fpu=vfpv3-d16 --with-abi=aapcs-linux \
543165
%endif
543165
%ifnarch sparc sparcv9 ppc
543165
	--build=%{gcc_target_platform}
543165
%endif
543165
543165
%ifarch %{arm} sparc sparcv9 sparc64
543165
GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" bootstrap
543165
%else
543165
GCJFLAGS="$OPT_FLAGS" make %{?_smp_mflags} BOOT_CFLAGS="$OPT_FLAGS" profiledbootstrap
543165
%endif
543165
543165
%if %{build_cloog}
543165
cp -a cloog-install/lib/libcloog-isl.so.4 gcc/
543165
%endif
543165
543165
# Make generated man pages even if Pod::Man is not new enough
543165
perl -pi -e 's/head3/head2/' ../contrib/texi2pod.pl
543165
for i in ../gcc/doc/*.texi; do
543165
  cp -a $i $i.orig; sed 's/ftable/table/' $i.orig > $i
543165
done
543165
make -C gcc generated-manpages
543165
for i in ../gcc/doc/*.texi; do mv -f $i.orig $i; done
543165
543165
# Make generated doxygen pages.
543165
%if %{build_libstdcxx_docs}
543165
cd %{gcc_target_platform}/libstdc++-v3
543165
make doc-html-doxygen
543165
make doc-man-doxygen
543165
cd ../..
543165
%endif
543165
543165
# Copy various doc files here and there
543165
cd ..
543165
mkdir -p rpm.doc/gfortran rpm.doc/objc
543165
mkdir -p rpm.doc/boehm-gc rpm.doc/fastjar rpm.doc/libffi rpm.doc/libjava
543165
mkdir -p rpm.doc/go rpm.doc/libgo rpm.doc/libquadmath rpm.doc/libitm
543165
mkdir -p rpm.doc/changelogs/{gcc/cp,gcc/java,gcc/ada,libstdc++-v3,libobjc,libmudflap,libgomp,libatomic,libsanitizer}
543165
543165
for i in {gcc,gcc/cp,gcc/java,gcc/ada,libstdc++-v3,libobjc,libmudflap,libgomp,libatomic,libsanitizer}/ChangeLog*; do
543165
	cp -p $i rpm.doc/changelogs/$i
543165
done
543165
543165
(cd gcc/fortran; for i in ChangeLog*; do
543165
	cp -p $i ../../rpm.doc/gfortran/$i
543165
done)
543165
(cd libgfortran; for i in ChangeLog*; do
543165
	cp -p $i ../rpm.doc/gfortran/$i.libgfortran
543165
done)
543165
(cd libobjc; for i in README*; do
543165
	cp -p $i ../rpm.doc/objc/$i.libobjc
543165
done)
543165
(cd boehm-gc; for i in ChangeLog*; do
543165
	cp -p $i ../rpm.doc/boehm-gc/$i.gc
543165
done)
543165
(cd fastjar-%{fastjar_ver}; for i in ChangeLog* README*; do
543165
	cp -p $i ../rpm.doc/fastjar/$i.fastjar
543165
done)
543165
(cd libffi; for i in ChangeLog* README* LICENSE; do
543165
	cp -p $i ../rpm.doc/libffi/$i.libffi
543165
done)
543165
(cd libjava; for i in ChangeLog* README*; do
543165
	cp -p $i ../rpm.doc/libjava/$i.libjava
543165
done)
543165
cp -p libjava/LIBGCJ_LICENSE rpm.doc/libjava/
543165
%if %{build_libquadmath}
543165
(cd libquadmath; for i in ChangeLog* COPYING.LIB; do
543165
	cp -p $i ../rpm.doc/libquadmath/$i.libquadmath
543165
done)
543165
%endif
543165
%if %{build_libitm}
543165
(cd libitm; for i in ChangeLog*; do
543165
	cp -p $i ../rpm.doc/libitm/$i.libitm
543165
done)
543165
%endif
543165
%if %{build_go}
543165
(cd gcc/go; for i in README* ChangeLog*; do
543165
	cp -p $i ../../rpm.doc/go/$i
543165
done)
543165
(cd libgo; for i in LICENSE* PATENTS* README; do
543165
	cp -p $i ../rpm.doc/libgo/$i.libgo
543165
done)
543165
%endif
543165
543165
rm -f rpm.doc/changelogs/gcc/ChangeLog.[1-9]
543165
find rpm.doc -name \*ChangeLog\* | xargs bzip2 -9
543165
543165
%if %{build_java_tar}
543165
find libjava -name \*.h -type f | xargs grep -l '// DO NOT EDIT THIS FILE - it is machine generated' > libjava-classes.list
543165
find libjava -name \*.class -type f >> libjava-classes.list
543165
find libjava/testsuite -name \*.jar -type f >> libjava-classes.list
543165
tar cf - -T libjava-classes.list | bzip2 -9 > $RPM_SOURCE_DIR/libjava-classes-%{version}-%{release}.tar.bz2
543165
%endif
543165
543165
%install
543165
rm -fr %{buildroot}
543165
543165
cd obj-%{gcc_target_platform}
543165
543165
%if %{build_java}
543165
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
543165
export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
543165
%if !%{bootstrap_java}
543165
export PATH=`pwd`/java_hacks${PATH:+:$PATH}
543165
%endif
543165
%endif
543165
543165
TARGET_PLATFORM=%{gcc_target_platform}
543165
543165
# There are some MP bugs in libstdc++ Makefiles
543165
make -C %{gcc_target_platform}/libstdc++-v3
543165
543165
make prefix=%{buildroot}%{_prefix} mandir=%{buildroot}%{_mandir} \
543165
  infodir=%{buildroot}%{_infodir} install
543165
%if %{build_java}
543165
make DESTDIR=%{buildroot} -C %{gcc_target_platform}/libjava install-src.zip
543165
%endif
543165
%if %{build_ada}
543165
chmod 644 %{buildroot}%{_infodir}/gnat*
543165
%endif
543165
d8d6ff
FULLPATH=%{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
FULLEPATH=%{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
543165
543165
%if %{build_cloog}
543165
cp -a cloog-install/lib/libcloog-isl.so.4 $FULLPATH/
543165
%endif
543165
543165
# fix some things
543165
ln -sf gcc %{buildroot}%{_prefix}/bin/cc
543165
rm -f %{buildroot}%{_prefix}/lib/cpp
543165
ln -sf ../bin/cpp %{buildroot}/%{_prefix}/lib/cpp
543165
ln -sf gfortran %{buildroot}%{_prefix}/bin/f95
543165
rm -f %{buildroot}%{_infodir}/dir
543165
gzip -9 %{buildroot}%{_infodir}/*.info*
543165
ln -sf gcc %{buildroot}%{_prefix}/bin/gnatgcc
543165
543165
cxxconfig="`find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h`"
543165
for i in `find %{gcc_target_platform}/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/null`; do
543165
  if ! diff -up $cxxconfig $i; then
d8d6ff
    cat > %{buildroot}%{_prefix}/include/c++/%{version}/%{gcc_target_platform}/bits/c++config.h <
543165
#ifndef _CPP_CPPCONFIG_WRAPPER
543165
#define _CPP_CPPCONFIG_WRAPPER 1
543165
#include <bits/wordsize.h>
543165
#if __WORDSIZE == 32
543165
%ifarch %{multilib_64_archs}
543165
`cat $(find %{gcc_target_platform}/32/libstdc++-v3/include -name c++config.h)`
543165
%else
543165
`cat $(find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h)`
543165
%endif
543165
#else
543165
%ifarch %{multilib_64_archs}
543165
`cat $(find %{gcc_target_platform}/libstdc++-v3/include -name c++config.h)`
543165
%else
543165
`cat $(find %{gcc_target_platform}/64/libstdc++-v3/include -name c++config.h)`
543165
%endif
543165
#endif
543165
#endif
543165
EOF
543165
    break
543165
  fi
543165
done
543165
d8d6ff
for f in `find %{buildroot}%{_prefix}/include/c++/%{version}/%{gcc_target_platform}/ -name c++config.h`; do
543165
  for i in 1 2 4 8; do
543165
    sed -i -e 's/#define _GLIBCXX_ATOMIC_BUILTINS_'$i' 1/#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_'$i'\
543165
&\
543165
#endif/' $f
543165
  done
543165
done
543165
543165
# Nuke bits/*.h.gch dirs
543165
# 1) there is no bits/*.h header installed, so when gch file can't be
543165
#    used, compilation fails
543165
# 2) sometimes it is hard to match the exact options used for building
543165
#    libstdc++-v3 or they aren't desirable
543165
# 3) there are multilib issues, conflicts etc. with this
543165
# 4) it is huge
543165
# People can always precompile on their own whatever they want, but
543165
# shipping this for everybody is unnecessary.
d8d6ff
rm -rf %{buildroot}%{_prefix}/include/c++/%{version}/%{gcc_target_platform}/bits/*.h.gch
543165
543165
%if %{build_libstdcxx_docs}
543165
libstdcxx_doc_builddir=%{gcc_target_platform}/libstdc++-v3/doc/doxygen
543165
mkdir -p ../rpm.doc/libstdc++-v3
543165
cp -r -p ../libstdc++-v3/doc/html ../rpm.doc/libstdc++-v3/html
543165
cp -r -p $libstdcxx_doc_builddir/html ../rpm.doc/libstdc++-v3/html/api
543165
mkdir -p %{buildroot}%{_mandir}/man3
543165
cp -r -p $libstdcxx_doc_builddir/man/man3/* %{buildroot}%{_mandir}/man3/
543165
find ../rpm.doc/libstdc++-v3 -name \*~ | xargs rm
543165
%endif
543165
543165
%ifarch sparcv9 sparc64
543165
ln -f %{buildroot}%{_prefix}/bin/%{gcc_target_platform}-gcc \
543165
  %{buildroot}%{_prefix}/bin/sparc-%{_vendor}-%{_target_os}-gcc
543165
%endif
67287f
%ifarch ppc ppc64 ppc64p7
543165
ln -f %{buildroot}%{_prefix}/bin/%{gcc_target_platform}-gcc \
543165
  %{buildroot}%{_prefix}/bin/ppc-%{_vendor}-%{_target_os}-gcc
543165
%endif
543165
543165
%ifarch sparcv9 ppc
543165
FULLLPATH=$FULLPATH/lib32
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
FULLLPATH=$FULLPATH/lib64
543165
%endif
543165
if [ -n "$FULLLPATH" ]; then
543165
  mkdir -p $FULLLPATH
543165
else
543165
  FULLLPATH=$FULLPATH
543165
fi
543165
543165
find %{buildroot} -name \*.la | xargs rm -f
543165
%if %{build_java}
543165
# gcj -static doesn't work properly anyway, unless using --whole-archive
543165
# and saving 35MB is not bad.
543165
find %{buildroot} -name libgcj.a -o -name libgtkpeer.a \
543165
		     -o -name libgjsmalsa.a -o -name libgcj-tools.a -o -name libjvm.a \
543165
		     -o -name libgij.a -o -name libgcj_bc.a -o -name libjavamath.a \
543165
  | xargs rm -f
543165
543165
mv %{buildroot}%{_prefix}/lib/libgcj.spec $FULLPATH/
543165
sed -i -e 's/lib: /&%%{static:%%eJava programs cannot be linked statically}/' \
543165
  $FULLPATH/libgcj.spec
543165
%endif
543165
67287f
mv %{buildroot}%{_prefix}/%{_lib}/libgfortran.spec $FULLPATH/
543165
%if %{build_libitm}
67287f
mv %{buildroot}%{_prefix}/%{_lib}/libitm.spec $FULLPATH/
543165
%endif
543165
543165
mkdir -p %{buildroot}/%{_lib}
d8d6ff
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcc_s.so.1 %{buildroot}/%{_lib}/libgcc_s-%{version}-%{DATE}.so.1
d8d6ff
chmod 755 %{buildroot}/%{_lib}/libgcc_s-%{version}-%{DATE}.so.1
d8d6ff
ln -sf libgcc_s-%{version}-%{DATE}.so.1 %{buildroot}/%{_lib}/libgcc_s.so.1
543165
ln -sf /%{_lib}/libgcc_s.so.1 $FULLPATH/libgcc_s.so
543165
%ifarch sparcv9 ppc
543165
ln -sf /lib64/libgcc_s.so.1 $FULLPATH/64/libgcc_s.so
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
ln -sf /lib/libgcc_s.so.1 $FULLPATH/32/libgcc_s.so
543165
%endif
543165
%ifarch ppc
543165
rm -f $FULLPATH/libgcc_s.so
543165
echo '/* GNU ld script
543165
   Use the shared library, but some functions are only in
543165
   the static library, so try that secondarily.  */
543165
OUTPUT_FORMAT(elf32-powerpc)
543165
GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so
543165
%endif
67287f
%ifarch ppc64 ppc64p7
543165
rm -f $FULLPATH/32/libgcc_s.so
543165
echo '/* GNU ld script
543165
   Use the shared library, but some functions are only in
543165
   the static library, so try that secondarily.  */
543165
OUTPUT_FORMAT(elf32-powerpc)
543165
GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/32/libgcc_s.so
543165
%endif
543165
%ifarch %{arm}
543165
rm -f $FULLPATH/libgcc_s.so
543165
echo '/* GNU ld script
543165
   Use the shared library, but some functions are only in
543165
   the static library, so try that secondarily.  */
543165
OUTPUT_FORMAT(elf32-littlearm)
543165
GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so
543165
%endif
543165
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libgomp.spec $FULLPATH/
543165
543165
%if %{build_ada}
543165
mv -f $FULLPATH/adalib/libgnarl-*.so %{buildroot}%{_prefix}/%{_lib}/
543165
mv -f $FULLPATH/adalib/libgnat-*.so %{buildroot}%{_prefix}/%{_lib}/
543165
rm -f $FULLPATH/adalib/libgnarl.so* $FULLPATH/adalib/libgnat.so*
543165
%endif
543165
543165
mkdir -p %{buildroot}%{_prefix}/libexec/getconf
543165
if gcc/xgcc -B gcc/ -E -dD -xc /dev/null | grep __LONG_MAX__.*2147483647; then
543165
  ln -sf POSIX_V6_ILP32_OFF32 %{buildroot}%{_prefix}/libexec/getconf/default
543165
else
543165
  ln -sf POSIX_V6_LP64_OFF64 %{buildroot}%{_prefix}/libexec/getconf/default
543165
fi
543165
543165
%if %{build_java}
543165
pushd ../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
543165
make install DESTDIR=%{buildroot}
543165
popd
543165
543165
if [ "%{_lib}" != "lib" ]; then
543165
  mkdir -p %{buildroot}%{_prefix}/%{_lib}/pkgconfig
543165
  sed '/^libdir/s/lib$/%{_lib}/' %{buildroot}%{_prefix}/lib/pkgconfig/libgcj-*.pc \
543165
    > %{buildroot}%{_prefix}/%{_lib}/pkgconfig/`basename %{buildroot}%{_prefix}/lib/pkgconfig/libgcj-*.pc`
543165
fi
543165
543165
%endif
543165
543165
mkdir -p %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++*gdb.py* \
543165
      %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/
543165
pushd ../libstdc++-v3/python
543165
for i in `find . -name \*.py`; do
d8d6ff
  touch -r $i %{buildroot}%{_prefix}/share/gcc-%{version}/python/$i
543165
done
543165
touch -r hook.in %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/libstdc++*gdb.py
543165
popd
543165
543165
pushd $FULLPATH
543165
if [ "%{_lib}" = "lib" ]; then
543165
ln -sf ../../../libobjc.so.4 libobjc.so
543165
ln -sf ../../../libstdc++.so.6.*[0-9] libstdc++.so
543165
ln -sf ../../../libgfortran.so.3.* libgfortran.so
543165
ln -sf ../../../libgomp.so.1.* libgomp.so
543165
ln -sf ../../../libmudflap.so.0.* libmudflap.so
543165
ln -sf ../../../libmudflapth.so.0.* libmudflapth.so
543165
%if %{build_go}
543165
ln -sf ../../../libgo.so.4.* libgo.so
543165
%endif
543165
%if %{build_libquadmath}
543165
ln -sf ../../../libquadmath.so.0.* libquadmath.so
543165
%endif
543165
%if %{build_libitm}
543165
ln -sf ../../../libitm.so.1.* libitm.so
543165
%endif
543165
%if %{build_libatomic}
543165
ln -sf ../../../libatomic.so.1.* libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
ln -sf ../../../libasan.so.0.* libasan.so
543165
mv ../../../libasan_preinit.o libasan_preinit.o
543165
%endif
543165
%if %{build_java}
543165
ln -sf ../../../libgcj.so.14.* libgcj.so
543165
ln -sf ../../../libgcj-tools.so.14.* libgcj-tools.so
543165
ln -sf ../../../libgij.so.14.* libgij.so
543165
%endif
543165
else
543165
ln -sf ../../../../%{_lib}/libobjc.so.4 libobjc.so
543165
ln -sf ../../../../%{_lib}/libstdc++.so.6.*[0-9] libstdc++.so
543165
ln -sf ../../../../%{_lib}/libgfortran.so.3.* libgfortran.so
543165
ln -sf ../../../../%{_lib}/libgomp.so.1.* libgomp.so
543165
ln -sf ../../../../%{_lib}/libmudflap.so.0.* libmudflap.so
543165
ln -sf ../../../../%{_lib}/libmudflapth.so.0.* libmudflapth.so
543165
%if %{build_go}
543165
ln -sf ../../../../%{_lib}/libgo.so.4.* libgo.so
543165
%endif
543165
%if %{build_libquadmath}
543165
ln -sf ../../../../%{_lib}/libquadmath.so.0.* libquadmath.so
543165
%endif
543165
%if %{build_libitm}
543165
ln -sf ../../../../%{_lib}/libitm.so.1.* libitm.so
543165
%endif
543165
%if %{build_libatomic}
543165
ln -sf ../../../../%{_lib}/libatomic.so.1.* libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
ln -sf ../../../../%{_lib}/libasan.so.0.* libasan.so
543165
mv ../../../../%{_lib}/libasan_preinit.o libasan_preinit.o
543165
%endif
543165
%if %{build_libtsan}
543165
rm -f libtsan.so
543165
echo 'INPUT ( %{_prefix}/%{_lib}/'`echo ../../../../%{_lib}/libtsan.so.0.* | sed 's,^.*libt,libt,'`' )' > libtsan.so
543165
%endif
543165
%if %{build_java}
543165
ln -sf ../../../../%{_lib}/libgcj.so.14.* libgcj.so
543165
ln -sf ../../../../%{_lib}/libgcj-tools.so.14.* libgcj-tools.so
543165
ln -sf ../../../../%{_lib}/libgij.so.14.* libgij.so
543165
%endif
543165
fi
543165
%if %{build_java}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcj_bc.so $FULLLPATH/
543165
%endif
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a $FULLLPATH/
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a $FULLLPATH/
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libobjc.*a .
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libgomp.*a .
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libmudflap{,th}.*a $FULLLPATH/
543165
%if %{build_libquadmath}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libquadmath.*a $FULLLPATH/
543165
%endif
543165
%if %{build_libitm}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libitm.*a $FULLLPATH/
543165
%endif
543165
%if %{build_libatomic}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libatomic.*a $FULLLPATH/
543165
%endif
543165
%if %{build_libasan}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libasan.*a $FULLLPATH/
543165
%endif
543165
%if %{build_libtsan}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libtsan.*a $FULLLPATH/
543165
%endif
543165
%if %{build_go}
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libgo.*a $FULLLPATH/
543165
mv -f %{buildroot}%{_prefix}/%{_lib}/libgobegin.*a $FULLLPATH/
543165
%endif
543165
543165
%if %{build_ada}
543165
%ifarch sparcv9 ppc
543165
rm -rf $FULLPATH/64/ada{include,lib}
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
rm -rf $FULLPATH/32/ada{include,lib}
543165
%endif
543165
if [ "$FULLPATH" != "$FULLLPATH" ]; then
543165
mv -f $FULLPATH/ada{include,lib} $FULLLPATH/
543165
pushd $FULLLPATH/adalib
543165
if [ "%{_lib}" = "lib" ]; then
543165
ln -sf ../../../../../libgnarl-*.so libgnarl.so
543165
ln -sf ../../../../../libgnarl-*.so libgnarl-4.8.so
543165
ln -sf ../../../../../libgnat-*.so libgnat.so
543165
ln -sf ../../../../../libgnat-*.so libgnat-4.8.so
543165
else
543165
ln -sf ../../../../../../%{_lib}/libgnarl-*.so libgnarl.so
543165
ln -sf ../../../../../../%{_lib}/libgnarl-*.so libgnarl-4.8.so
543165
ln -sf ../../../../../../%{_lib}/libgnat-*.so libgnat.so
543165
ln -sf ../../../../../../%{_lib}/libgnat-*.so libgnat-4.8.so
543165
fi
543165
popd
543165
else
543165
pushd $FULLPATH/adalib
543165
if [ "%{_lib}" = "lib" ]; then
543165
ln -sf ../../../../libgnarl-*.so libgnarl.so
543165
ln -sf ../../../../libgnarl-*.so libgnarl-4.8.so
543165
ln -sf ../../../../libgnat-*.so libgnat.so
543165
ln -sf ../../../../libgnat-*.so libgnat-4.8.so
543165
else
543165
ln -sf ../../../../../%{_lib}/libgnarl-*.so libgnarl.so
543165
ln -sf ../../../../../%{_lib}/libgnarl-*.so libgnarl-4.8.so
543165
ln -sf ../../../../../%{_lib}/libgnat-*.so libgnat.so
543165
ln -sf ../../../../../%{_lib}/libgnat-*.so libgnat-4.8.so
543165
fi
543165
popd
543165
fi
543165
%endif
543165
543165
%ifarch sparcv9 ppc
543165
ln -sf ../../../../../lib64/libobjc.so.4 64/libobjc.so
543165
ln -sf ../`echo ../../../../lib/libstdc++.so.6.*[0-9] | sed s~/lib/~/lib64/~` 64/libstdc++.so
543165
ln -sf ../`echo ../../../../lib/libgfortran.so.3.* | sed s~/lib/~/lib64/~` 64/libgfortran.so
543165
ln -sf ../`echo ../../../../lib/libgomp.so.1.* | sed s~/lib/~/lib64/~` 64/libgomp.so
543165
rm -f libmudflap.so libmudflapth.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflap.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflapth.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > 64/libmudflap.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > 64/libmudflapth.so
543165
%if %{build_go}
543165
rm -f libgo.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > libgo.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so
543165
%endif
543165
%if %{build_libquadmath}
543165
rm -f libquadmath.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > libquadmath.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > 64/libquadmath.so
543165
%endif
543165
%if %{build_libitm}
543165
rm -f libitm.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > libitm.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > 64/libitm.so
543165
%endif
543165
%if %{build_libatomic}
543165
rm -f libatomic.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > libatomic.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > 64/libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
rm -f libasan.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > libasan.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > 64/libasan.so
543165
mv ../../../../lib64/libasan_preinit.o 64/libasan_preinit.o
543165
%endif
543165
%if %{build_java}
543165
ln -sf ../`echo ../../../../lib/libgcj.so.14.* | sed s~/lib/~/lib64/~` 64/libgcj.so
543165
ln -sf ../`echo ../../../../lib/libgcj-tools.so.14.* | sed s~/lib/~/lib64/~` 64/libgcj-tools.so
543165
ln -sf ../`echo ../../../../lib/libgij.so.14.* | sed s~/lib/~/lib64/~` 64/libgij.so
543165
ln -sf lib32/libgcj_bc.so libgcj_bc.so
543165
ln -sf ../lib64/libgcj_bc.so 64/libgcj_bc.so
543165
%endif
543165
ln -sf lib32/libgfortran.a libgfortran.a
543165
ln -sf ../lib64/libgfortran.a 64/libgfortran.a
543165
mv -f %{buildroot}%{_prefix}/lib64/libobjc.*a 64/
543165
mv -f %{buildroot}%{_prefix}/lib64/libgomp.*a 64/
543165
ln -sf lib32/libstdc++.a libstdc++.a
543165
ln -sf ../lib64/libstdc++.a 64/libstdc++.a
543165
ln -sf lib32/libsupc++.a libsupc++.a
543165
ln -sf ../lib64/libsupc++.a 64/libsupc++.a
543165
ln -sf lib32/libmudflap.a libmudflap.a
543165
ln -sf ../lib64/libmudflap.a 64/libmudflap.a
543165
ln -sf lib32/libmudflapth.a libmudflapth.a
543165
ln -sf ../lib64/libmudflapth.a 64/libmudflapth.a
543165
%if %{build_libquadmath}
543165
ln -sf lib32/libquadmath.a libquadmath.a
543165
ln -sf ../lib64/libquadmath.a 64/libquadmath.a
543165
%endif
543165
%if %{build_libitm}
543165
ln -sf lib32/libitm.a libitm.a
543165
ln -sf ../lib64/libitm.a 64/libitm.a
543165
%endif
543165
%if %{build_libatomic}
543165
ln -sf lib32/libatomic.a libatomic.a
543165
ln -sf ../lib64/libatomic.a 64/libatomic.a
543165
%endif
543165
%if %{build_libasan}
543165
ln -sf lib32/libasan.a libasan.a
543165
ln -sf ../lib64/libasan.a 64/libasan.a
543165
%endif
543165
%if %{build_go}
543165
ln -sf lib32/libgo.a libgo.a
543165
ln -sf ../lib64/libgo.a 64/libgo.a
543165
ln -sf lib32/libgobegin.a libgobegin.a
543165
ln -sf ../lib64/libgobegin.a 64/libgobegin.a
543165
%endif
543165
%if %{build_ada}
543165
ln -sf lib32/adainclude adainclude
543165
ln -sf ../lib64/adainclude 64/adainclude
543165
ln -sf lib32/adalib adalib
543165
ln -sf ../lib64/adalib 64/adalib
543165
%endif
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
mkdir -p 32
543165
ln -sf ../../../../libobjc.so.4 32/libobjc.so
543165
ln -sf ../`echo ../../../../lib64/libstdc++.so.6.*[0-9] | sed s~/../lib64/~/~` 32/libstdc++.so
543165
ln -sf ../`echo ../../../../lib64/libgfortran.so.3.* | sed s~/../lib64/~/~` 32/libgfortran.so
543165
ln -sf ../`echo ../../../../lib64/libgomp.so.1.* | sed s~/../lib64/~/~` 32/libgomp.so
543165
rm -f libmudflap.so libmudflapth.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflap.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > libmudflapth.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libmudflap.so.0.* | sed 's,^.*libm,libm,'`' )' > 32/libmudflap.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libmudflapth.so.0.* | sed 's,^.*libm,libm,'`' )' > 32/libmudflapth.so
543165
%if %{build_go}
543165
rm -f libgo.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > libgo.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.4.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so
543165
%endif
543165
%if %{build_libquadmath}
543165
rm -f libquadmath.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > libquadmath.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libquadmath.so.0.* | sed 's,^.*libq,libq,'`' )' > 32/libquadmath.so
543165
%endif
543165
%if %{build_libitm}
543165
rm -f libitm.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > libitm.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libitm.so.1.* | sed 's,^.*libi,libi,'`' )' > 32/libitm.so
543165
%endif
543165
%if %{build_libatomic}
543165
rm -f libatomic.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > libatomic.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libatomic.so.1.* | sed 's,^.*liba,liba,'`' )' > 32/libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
rm -f libasan.so
543165
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > libasan.so
543165
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libasan.so.0.* | sed 's,^.*liba,liba,'`' )' > 32/libasan.so
543165
mv ../../../../lib/libasan_preinit.o 32/libasan_preinit.o
543165
%endif
543165
%if %{build_java}
543165
ln -sf ../`echo ../../../../lib64/libgcj.so.14.* | sed s~/../lib64/~/~` 32/libgcj.so
543165
ln -sf ../`echo ../../../../lib64/libgcj-tools.so.14.* | sed s~/../lib64/~/~` 32/libgcj-tools.so
543165
ln -sf ../`echo ../../../../lib64/libgij.so.14.* | sed s~/../lib64/~/~` 32/libgij.so
543165
%endif
543165
mv -f %{buildroot}%{_prefix}/lib/libobjc.*a 32/
543165
mv -f %{buildroot}%{_prefix}/lib/libgomp.*a 32/
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
ln -sf ../lib32/libgfortran.a 32/libgfortran.a
543165
ln -sf lib64/libgfortran.a libgfortran.a
543165
ln -sf ../lib32/libstdc++.a 32/libstdc++.a
543165
ln -sf lib64/libstdc++.a libstdc++.a
543165
ln -sf ../lib32/libsupc++.a 32/libsupc++.a
543165
ln -sf lib64/libsupc++.a libsupc++.a
543165
ln -sf ../lib32/libmudflap.a 32/libmudflap.a
543165
ln -sf lib64/libmudflap.a libmudflap.a
543165
ln -sf ../lib32/libmudflapth.a 32/libmudflapth.a
543165
ln -sf lib64/libmudflapth.a libmudflapth.a
543165
%if %{build_libquadmath}
543165
ln -sf ../lib32/libquadmath.a 32/libquadmath.a
543165
ln -sf lib64/libquadmath.a libquadmath.a
543165
%endif
543165
%if %{build_libitm}
543165
ln -sf ../lib32/libitm.a 32/libitm.a
543165
ln -sf lib64/libitm.a libitm.a
543165
%endif
543165
%if %{build_libatomic}
543165
ln -sf ../lib32/libatomic.a 32/libatomic.a
543165
ln -sf lib64/libatomic.a libatomic.a
543165
%endif
543165
%if %{build_libasan}
543165
ln -sf ../lib32/libasan.a 32/libasan.a
543165
ln -sf lib64/libasan.a libasan.a
543165
%endif
543165
%if %{build_go}
543165
ln -sf ../lib32/libgo.a 32/libgo.a
543165
ln -sf lib64/libgo.a libgo.a
543165
ln -sf ../lib32/libgobegin.a 32/libgobegin.a
543165
ln -sf lib64/libgobegin.a libgobegin.a
543165
%endif
543165
%if %{build_java}
543165
ln -sf ../lib32/libgcj_bc.so 32/libgcj_bc.so
543165
ln -sf lib64/libgcj_bc.so libgcj_bc.so
543165
%endif
543165
%if %{build_ada}
543165
ln -sf ../lib32/adainclude 32/adainclude
543165
ln -sf lib64/adainclude adainclude
543165
ln -sf ../lib32/adalib 32/adalib
543165
ln -sf lib64/adalib adalib
543165
%endif
543165
%else
543165
%ifarch %{multilib_64_archs}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libgfortran.a 32/libgfortran.a
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libstdc++.a 32/libstdc++.a
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libsupc++.a 32/libsupc++.a
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libmudflap.a 32/libmudflap.a
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libmudflapth.a 32/libmudflapth.a
543165
%if %{build_libquadmath}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libquadmath.a 32/libquadmath.a
543165
%endif
543165
%if %{build_libitm}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libitm.a 32/libitm.a
543165
%endif
543165
%if %{build_libatomic}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libatomic.a 32/libatomic.a
543165
%endif
543165
%if %{build_libasan}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libasan.a 32/libasan.a
543165
%endif
543165
%if %{build_go}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libgo.a 32/libgo.a
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libgobegin.a 32/libgobegin.a
543165
%endif
543165
%if %{build_java}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/libgcj_bc.so 32/libgcj_bc.so
543165
%endif
543165
%if %{build_ada}
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/adainclude 32/adainclude
d8d6ff
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{version}/adalib 32/adalib
543165
%endif
543165
%endif
543165
%endif
543165
543165
# Strip debug info from Fortran/ObjC/Java static libraries
543165
strip -g `find . \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \
543165
		    -o -name libmudflap.a -o -name libmudflapth.a \
543165
		    -o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \
543165
		    -o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \
543165
		    -o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
543165
		 -a -type f`
543165
popd
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgfortran.so.3.*
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgomp.so.1.*
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libmudflap{,th}.so.0.*
543165
%if %{build_libquadmath}
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libquadmath.so.0.*
543165
%endif
543165
%if %{build_libitm}
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libitm.so.1.*
543165
%endif
543165
%if %{build_libatomic}
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libatomic.so.1.*
543165
%endif
543165
%if %{build_libasan}
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libasan.so.0.*
543165
%endif
543165
%if %{build_libtsan}
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libtsan.so.0.*
543165
%endif
543165
%if %{build_go}
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.4.*
543165
%endif
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libobjc.so.4.*
543165
543165
%if %{build_ada}
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgnarl*so*
543165
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgnat*so*
543165
%endif
543165
543165
mv $FULLPATH/include-fixed/syslimits.h $FULLPATH/include/syslimits.h
543165
mv $FULLPATH/include-fixed/limits.h $FULLPATH/include/limits.h
543165
for h in `find $FULLPATH/include -name \*.h`; do
543165
  if grep -q 'It has been auto-edited by fixincludes from' $h; then
543165
    rh=`grep -A2 'It has been auto-edited by fixincludes from' $h | tail -1 | sed 's|^.*"\(.*\)".*$|\1|'`
543165
    diff -up $rh $h || :
543165
    rm -f $h
543165
  fi
543165
done
543165
543165
cat > %{buildroot}%{_prefix}/bin/c89 <<"EOF"
543165
#!/bin/sh
543165
fl="-std=c89"
543165
for opt; do
543165
  case "$opt" in
543165
    -ansi|-std=c89|-std=iso9899:1990) fl="";;
543165
    -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
543165
	    exit 1;;
543165
  esac
543165
done
543165
exec gcc $fl ${1+"$@"}
543165
EOF
543165
cat > %{buildroot}%{_prefix}/bin/c99 <<"EOF"
543165
#!/bin/sh
543165
fl="-std=c99"
543165
for opt; do
543165
  case "$opt" in
543165
    -std=c99|-std=iso9899:1999) fl="";;
543165
    -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
543165
	    exit 1;;
543165
  esac
543165
done
543165
exec gcc $fl ${1+"$@"}
543165
EOF
543165
chmod 755 %{buildroot}%{_prefix}/bin/c?9
543165
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/libexec/gcc/%{gcc_target_platform}/{%{version},%{gcc_version}}
d8d6ff
ln -sf %{gcc_version} $RPM_BUILD_ROOT%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/lib/gcc/%{gcc_target_platform}/{%{version},%{gcc_version}}
d8d6ff
ln -sf %{gcc_version} $RPM_BUILD_ROOT%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/include/c++/{%{version},%{gcc_version}}
d8d6ff
ln -sf %{gcc_version} $RPM_BUILD_ROOT%{_prefix}/include/c++/%{version}
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/share/gcc-{%{version},%{gcc_version}}
d8d6ff
ln -sf gcc-%{gcc_version} $RPM_BUILD_ROOT%{_prefix}/share/gcc-%{version}
d8d6ff
%if %{build_java}
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-{%{version},%{gcc_version}}
d8d6ff
ln -sf gcj-%{gcc_version} $RPM_BUILD_ROOT%{_prefix}/%{_lib}/gcj-%{version}
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/share/java/libgcj-{%{version},%{gcc_version}}.jar
d8d6ff
ln -sf libgcj-%{gcc_version}.jar $RPM_BUILD_ROOT%{_prefix}/share/java/libgcj-%{version}.jar
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/share/java/libgcj-tools-{%{version},%{gcc_version}}.jar
d8d6ff
ln -sf libgcj-tools-%{gcc_version}.jar $RPM_BUILD_ROOT%{_prefix}/share/java/libgcj-tools-%{version}.jar
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/share/java/src-{%{version},%{gcc_version}}.zip
d8d6ff
ln -sf src-%{gcc_version}.zip $RPM_BUILD_ROOT%{_prefix}/share/java/src-%{version}.zip
d8d6ff
%endif
d8d6ff
%if %{build_go}
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/%{_lib}/go/{%{version},%{gcc_version}}
d8d6ff
ln -sf %{gcc_version} $RPM_BUILD_ROOT%{_prefix}/%{_lib}/go/%{version}
d8d6ff
%endif
d8d6ff
%endif
d8d6ff
543165
cd ..
543165
%find_lang %{name}
543165
%find_lang cpplib
543165
543165
# Remove binaries we will not be including, so that they don't end up in
543165
# gcc-debuginfo
543165
rm -f %{buildroot}%{_prefix}/%{_lib}/{libffi*,libiberty.a}
543165
rm -f $FULLEPATH/install-tools/{mkheaders,fixincl}
543165
rm -f %{buildroot}%{_prefix}/lib/{32,64}/libiberty.a
543165
rm -f %{buildroot}%{_prefix}/%{_lib}/libssp*
543165
rm -f %{buildroot}%{_prefix}/bin/gappletviewer || :
543165
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc-%{version} || :
543165
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gfortran || :
543165
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gccgo || :
543165
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcj || :
543165
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc-ar || :
543165
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc-nm || :
543165
rm -f %{buildroot}%{_prefix}/bin/%{_target_platform}-gcc-ranlib || :
85359c
%ifarch aarch64
85359c
rm -f %{buildroot}%{_prefix}/%{_lib}/libatomic.so*
85359c
%endif
543165
543165
%ifarch %{multilib_64_archs}
543165
# Remove libraries for the other arch on multilib arches
543165
rm -f %{buildroot}%{_prefix}/lib/lib*.so*
543165
rm -f %{buildroot}%{_prefix}/lib/lib*.a
543165
rm -f %{buildroot}/lib/libgcc_s*.so*
543165
%if %{build_go}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/lib/go/{%{version},%{gcc_version}}
d8d6ff
ln -sf %{gcc_version} $RPM_BUILD_ROOT%{_prefix}/lib/go/%{version}
d8d6ff
%endif
543165
rm -rf %{buildroot}%{_prefix}/lib/go/%{gcc_version}/%{gcc_target_platform}
67287f
%ifnarch sparc64 ppc64 ppc64p7
543165
ln -sf %{multilib_32_arch}-%{_vendor}-%{_target_os} %{buildroot}%{_prefix}/lib/go/%{gcc_version}/%{gcc_target_platform}
543165
%endif
543165
%endif
543165
%else
543165
%ifarch sparcv9 ppc
543165
rm -f %{buildroot}%{_prefix}/lib64/lib*.so*
543165
rm -f %{buildroot}%{_prefix}/lib64/lib*.a
543165
rm -f %{buildroot}/lib64/libgcc_s*.so*
543165
%if %{build_go}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
mv -f $RPM_BUILD_ROOT%{_prefix}/lib64/go/{%{version},%{gcc_version}}
d8d6ff
ln -sf %{gcc_version} $RPM_BUILD_ROOT%{_prefix}/lib64/go/%{version}
d8d6ff
%endif
543165
rm -rf %{buildroot}%{_prefix}/lib64/go/%{gcc_version}/%{gcc_target_platform}
543165
%endif
543165
%endif
543165
%endif
543165
543165
%if %{build_java}
543165
mkdir -p %{buildroot}%{_prefix}/share/java/gcj-endorsed \
d8d6ff
	 %{buildroot}%{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db.d
543165
chmod 755 %{buildroot}%{_prefix}/share/java/gcj-endorsed \
d8d6ff
	  %{buildroot}%{_prefix}/%{_lib}/gcj-%{gcc_version} \
d8d6ff
	  %{buildroot}%{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db.d
d8d6ff
touch %{buildroot}%{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db
543165
%endif
543165
543165
rm -f %{buildroot}%{mandir}/man3/ffi*
543165
543165
# Help plugins find out nvra.
543165
echo gcc-%{version}-%{release}.%{_arch} > $FULLPATH/rpmver
543165
543165
%check
543165
cd obj-%{gcc_target_platform}
543165
543165
%if %{build_java}
543165
export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
543165
%if !%{bootstrap_java}
543165
export PATH=`pwd`/java_hacks${PATH:+:$PATH}
543165
%endif
543165
%endif
543165
543165
# run the tests.
543165
make %{?_smp_mflags} -k check ALT_CC_UNDER_TEST=gcc ALT_CXX_UNDER_TEST=g++ \
543165
%if 0%{?fedora} >= 20
543165
     RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector-strong}'" || :
543165
%else
543165
     RUNTESTFLAGS="--target_board=unix/'{,-fstack-protector}'" || :
543165
%endif
543165
echo ====================TESTING=========================
543165
( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
543165
echo ====================TESTING END=====================
543165
mkdir testlogs-%{_target_platform}-%{version}-%{release}
543165
for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
543165
  ln $i testlogs-%{_target_platform}-%{version}-%{release}/ || :
543165
done
543165
tar cf - testlogs-%{_target_platform}-%{version}-%{release} | bzip2 -9c \
543165
  | uuencode testlogs-%{_target_platform}.tar.bz2 || :
543165
rm -rf testlogs-%{_target_platform}-%{version}-%{release}
543165
543165
%clean
543165
rm -rf %{buildroot}
543165
543165
%post
543165
if [ -f %{_infodir}/gcc.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
543165
fi
543165
543165
%preun
543165
if [ $1 = 0 -a -f %{_infodir}/gcc.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/gcc.info.gz || :
543165
fi
543165
543165
%post -n cpp
543165
if [ -f %{_infodir}/cpp.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
543165
fi
543165
543165
%preun -n cpp
543165
if [ $1 = 0 -a -f %{_infodir}/cpp.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/cpp.info.gz || :
543165
fi
543165
543165
%post gfortran
543165
if [ -f %{_infodir}/gfortran.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
543165
fi
543165
543165
%preun gfortran
543165
if [ $1 = 0 -a -f %{_infodir}/gfortran.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/gfortran.info.gz || :
543165
fi
543165
543165
%post java
543165
if [ -f %{_infodir}/gcj.info.gz ]; then
543165
/sbin/install-info \
543165
  --info-dir=%{_infodir} %{_infodir}/gcj.info.gz || :
543165
fi
543165
543165
%preun java
543165
if [ $1 = 0 -a -f %{_infodir}/gcj.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/gcj.info.gz || :
543165
fi
543165
543165
%post gnat
543165
if [ -f %{_infodir}/gnat_rm.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/gnat_ugn.info.gz || :
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
543165
fi
543165
543165
%preun gnat
543165
if [ $1 = 0 -a -f %{_infodir}/gnat_rm.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/gnat_rm.info.gz || :
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/gnat_ugn.info.gz || :
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/gnat-style.info.gz || :
543165
fi
543165
543165
# Because glibc Prereq's libgcc and /sbin/ldconfig
543165
# comes from glibc, it might not exist yet when
543165
# libgcc is installed
543165
%post -n libgcc -p <lua>
543165
if posix.access ("/sbin/ldconfig", "x") then
543165
  local pid = posix.fork ()
543165
  if pid == 0 then
543165
    posix.exec ("/sbin/ldconfig")
543165
  elseif pid ~= -1 then
543165
    posix.wait (pid)
543165
  end
543165
end
543165
543165
%postun -n libgcc -p <lua>
543165
if posix.access ("/sbin/ldconfig", "x") then
543165
  local pid = posix.fork ()
543165
  if pid == 0 then
543165
    posix.exec ("/sbin/ldconfig")
543165
  elseif pid ~= -1 then
543165
    posix.wait (pid)
543165
  end
543165
end
543165
543165
%post -n libstdc++ -p /sbin/ldconfig
543165
543165
%postun -n libstdc++ -p /sbin/ldconfig
543165
543165
%post -n libobjc -p /sbin/ldconfig
543165
543165
%postun -n libobjc -p /sbin/ldconfig
543165
543165
%post -n libgcj
543165
/sbin/ldconfig
543165
if [ -f %{_infodir}/cp-tools.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/cp-tools.info.gz || :
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz || :
543165
fi
543165
543165
%preun -n libgcj
543165
if [ $1 = 0 -a -f %{_infodir}/cp-tools.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/cp-tools.info.gz || :
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/fastjar.info.gz || :
543165
fi
543165
543165
%postun -n libgcj -p /sbin/ldconfig
543165
543165
%post -n libgfortran -p /sbin/ldconfig
543165
543165
%postun -n libgfortran -p /sbin/ldconfig
543165
543165
%post -n libgnat -p /sbin/ldconfig
543165
543165
%postun -n libgnat -p /sbin/ldconfig
543165
543165
%post -n libgomp
543165
/sbin/ldconfig
543165
if [ -f %{_infodir}/libgomp.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/libgomp.info.gz || :
543165
fi
543165
543165
%preun -n libgomp
543165
if [ $1 = 0 -a -f %{_infodir}/libgomp.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/libgomp.info.gz || :
543165
fi
543165
543165
%postun -n libgomp -p /sbin/ldconfig
543165
543165
%post -n libmudflap -p /sbin/ldconfig
543165
543165
%postun -n libmudflap -p /sbin/ldconfig
543165
543165
%post -n libquadmath
543165
/sbin/ldconfig
543165
if [ -f %{_infodir}/libquadmath.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/libquadmath.info.gz || :
543165
fi
543165
543165
%preun -n libquadmath
543165
if [ $1 = 0 -a -f %{_infodir}/libquadmath.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/libquadmath.info.gz || :
543165
fi
543165
543165
%postun -n libquadmath -p /sbin/ldconfig
543165
543165
%post -n libitm
543165
/sbin/ldconfig
543165
if [ -f %{_infodir}/libitm.info.gz ]; then
543165
  /sbin/install-info \
543165
    --info-dir=%{_infodir} %{_infodir}/libitm.info.gz || :
543165
fi
543165
543165
%preun -n libitm
543165
if [ $1 = 0 -a -f %{_infodir}/libitm.info.gz ]; then
543165
  /sbin/install-info --delete \
543165
    --info-dir=%{_infodir} %{_infodir}/libitm.info.gz || :
543165
fi
543165
543165
%postun -n libitm -p /sbin/ldconfig
543165
543165
%post -n libatomic -p /sbin/ldconfig
543165
543165
%postun -n libatomic -p /sbin/ldconfig
543165
543165
%post -n libasan -p /sbin/ldconfig
543165
543165
%postun -n libasan -p /sbin/ldconfig
543165
543165
%post -n libtsan -p /sbin/ldconfig
543165
543165
%postun -n libtsan -p /sbin/ldconfig
543165
543165
%post -n libgo -p /sbin/ldconfig
543165
543165
%postun -n libgo -p /sbin/ldconfig
543165
543165
%files -f %{name}.lang
543165
%defattr(-,root,root,-)
543165
%{_prefix}/bin/cc
543165
%{_prefix}/bin/c89
543165
%{_prefix}/bin/c99
543165
%{_prefix}/bin/gcc
543165
%{_prefix}/bin/gcov
543165
%{_prefix}/bin/gcc-ar
543165
%{_prefix}/bin/gcc-nm
543165
%{_prefix}/bin/gcc-ranlib
543165
%ifarch ppc
543165
%{_prefix}/bin/%{_target_platform}-gcc
543165
%endif
543165
%ifarch sparc64 sparcv9
543165
%{_prefix}/bin/sparc-%{_vendor}-%{_target_os}-gcc
543165
%endif
67287f
%ifarch ppc64 ppc64p7
543165
%{_prefix}/bin/ppc-%{_vendor}-%{_target_os}-gcc
543165
%endif
543165
%{_prefix}/bin/%{gcc_target_platform}-gcc
543165
%{_mandir}/man1/gcc.1*
543165
%{_mandir}/man1/gcov.1*
543165
%{_infodir}/gcc*
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/lto1
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/lto-wrapper
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/liblto_plugin.so*
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/rpmver
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stddef.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdarg.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdfix.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/varargs.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/float.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/limits.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdbool.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/iso646.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/syslimits.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/unwind.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/omp.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdint.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdint-gcc.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdalign.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/stdnoreturn.h
543165
%ifarch %{ix86} x86_64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xmmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/emmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/pmmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/tmmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ammintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/smmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/nmmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/bmmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/wmmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/immintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/avxintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/x86intrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/fma4intrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xopintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/lwpintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/popcntintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/bmiintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/tbmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ia32intrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/avx2intrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/bmi2intrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/f16cintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/fmaintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/lzcntintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/rtmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xtestintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/adxintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/prfchwintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/rdseedintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/fxsrintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xsaveintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/xsaveoptintrin.h
ee890f
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/pkuintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mm_malloc.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mm3dnow.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/cpuid.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/cross-stdarg.h
543165
%endif
543165
%ifarch ia64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ia64intrin.h
543165
%endif
d8d6ff
%ifarch ppc ppc64 ppc64le ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ppc-asm.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/altivec.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/spe.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/paired.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/ppu_intrinsics.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/si2vmx.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/spu2vmx.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/vec_types.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/htmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/htmxlintrin.h
543165
%endif
543165
%ifarch %{arm}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/unwind-arm-common.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/arm_neon.h
543165
%endif
543165
%ifarch aarch64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/arm_neon.h
543165
%endif
543165
%ifarch sparc sparcv9 sparc64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/visintrin.h
543165
%endif
543165
%ifarch s390 s390x
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/s390intrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/htmintrin.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/htmxlintrin.h
ee890f
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/vecintrin.h
543165
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/collect2
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/crt*.o
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcov.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc_eh.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcc_s.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.spec
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgomp.so
543165
%if %{build_libitm}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.spec
543165
%endif
543165
%if %{build_cloog}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libcloog-isl.so.*
543165
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/crt*.o
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcov.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc_eh.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcc_s.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgomp.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgomp.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflap.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflapth.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflap.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libmudflapth.so
543165
%if %{build_libquadmath}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libquadmath.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libquadmath.so
543165
%endif
543165
%if %{build_libitm}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libitm.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libitm.so
543165
%endif
543165
%if %{build_libatomic}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libatomic.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libasan.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libasan.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libasan_preinit.o
543165
%endif
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/crt*.o
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcov.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc_eh.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcc_s.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgomp.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgomp.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflap.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflapth.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflap.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libmudflapth.so
543165
%if %{build_libquadmath}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libquadmath.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libquadmath.so
543165
%endif
543165
%if %{build_libitm}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libitm.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libitm.so
543165
%endif
543165
%if %{build_libatomic}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libatomic.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libasan.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libasan.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libasan_preinit.o
543165
%endif
543165
%endif
67287f
%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
543165
%if %{build_libquadmath}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.so
543165
%endif
543165
%if %{build_libitm}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.so
543165
%endif
543165
%if %{build_libatomic}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan_preinit.o
543165
%endif
543165
%if %{build_libtsan}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.so
543165
%endif
543165
%else
543165
%if %{build_libatomic}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.so
543165
%endif
543165
%if %{build_libasan}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan_preinit.o
543165
%endif
543165
%if %{build_libtsan}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.so
543165
%endif
543165
%endif
543165
%dir %{_prefix}/libexec/getconf
543165
%{_prefix}/libexec/getconf/default
543165
%doc gcc/README* rpm.doc/changelogs/gcc/ChangeLog* gcc/COPYING* COPYING.RUNTIME
543165
543165
%files -n cpp -f cpplib.lang
543165
%defattr(-,root,root,-)
543165
%{_prefix}/lib/cpp
543165
%{_prefix}/bin/cpp
543165
%{_mandir}/man1/cpp.1*
543165
%{_infodir}/cpp*
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1
543165
543165
%files -n libgcc
543165
%defattr(-,root,root,-)
d8d6ff
/%{_lib}/libgcc_s-%{version}-%{DATE}.so.1
543165
/%{_lib}/libgcc_s.so.1
543165
%doc gcc/COPYING* COPYING.RUNTIME
543165
543165
%files c++
543165
%defattr(-,root,root,-)
543165
%{_prefix}/bin/%{gcc_target_platform}-*++
543165
%{_prefix}/bin/g++
543165
%{_prefix}/bin/c++
543165
%{_mandir}/man1/g++.1*
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1plus
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libstdc++.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libsupc++.a
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libstdc++.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libsupc++.a
543165
%endif
543165
%ifarch sparcv9 ppc %{multilib_64_archs}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
543165
%endif
67287f
%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
543165
%endif
543165
%doc rpm.doc/changelogs/gcc/cp/ChangeLog*
543165
543165
%files -n libstdc++
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libstdc++.so.6*
543165
%dir %{_datadir}/gdb
543165
%dir %{_datadir}/gdb/auto-load
543165
%dir %{_datadir}/gdb/auto-load/%{_prefix}
543165
%dir %{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/
543165
%{_datadir}/gdb/auto-load/%{_prefix}/%{_lib}/libstdc*gdb.py*
543165
%dir %{_prefix}/share/gcc-%{gcc_version}
543165
%dir %{_prefix}/share/gcc-%{gcc_version}/python
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/share/gcc-%{version}
d8d6ff
%endif
543165
%{_prefix}/share/gcc-%{gcc_version}/python/libstdcxx
543165
543165
%files -n libstdc++-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/include/c++
543165
%dir %{_prefix}/include/c++/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/include/c++/%{version}
d8d6ff
%endif
543165
%{_prefix}/include/c++/%{gcc_version}/[^gjos]*
543165
%{_prefix}/include/c++/%{gcc_version}/os*
543165
%{_prefix}/include/c++/%{gcc_version}/s[^u]*
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifnarch sparcv9 ppc %{multilib_64_archs}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
543165
%endif
543165
%doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
543165
543165
%files -n libstdc++-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libsupc++.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libsupc++.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
543165
%endif
543165
543165
%if %{build_libstdcxx_docs}
543165
%files -n libstdc++-docs
543165
%defattr(-,root,root)
543165
%{_mandir}/man3/*
543165
%doc rpm.doc/libstdc++-v3/html
543165
%endif
543165
543165
%files objc
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/objc
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1obj
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libobjc.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libobjc.so
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libobjc.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libobjc.so
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libobjc.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libobjc.so
543165
%endif
543165
%doc rpm.doc/objc/*
543165
%doc libobjc/THREADS* rpm.doc/changelogs/libobjc/ChangeLog*
543165
543165
%files objc++
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/cc1objplus
543165
543165
%files -n libobjc
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libobjc.so.4*
543165
543165
%files gfortran
543165
%defattr(-,root,root,-)
543165
%{_prefix}/bin/gfortran
543165
%{_prefix}/bin/f95
543165
%{_mandir}/man1/gfortran.1*
543165
%{_infodir}/gfortran*
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.f90
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib.mod
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/finclude/omp_lib_kinds.mod
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/f951
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.spec
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortranbegin.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libcaf_single.a
67287f
%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.a
543165
%endif
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.so
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortranbegin.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libcaf_single.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortran.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgfortran.so
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortranbegin.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libcaf_single.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortran.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgfortran.so
543165
%endif
543165
%doc rpm.doc/gfortran/*
543165
543165
%files -n libgfortran
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libgfortran.so.3*
543165
543165
%files -n libgfortran-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgfortran.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgfortran.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgfortran.a
543165
%endif
543165
543165
%if %{build_java}
543165
%files java
543165
%defattr(-,root,root,-)
543165
%{_prefix}/bin/gcj
543165
%{_prefix}/bin/gjavah
543165
%{_prefix}/bin/gcjh
543165
%{_prefix}/bin/jcf-dump
543165
%{_mandir}/man1/gcj.1*
543165
%{_mandir}/man1/jcf-dump.1*
543165
%{_mandir}/man1/gjavah.1*
543165
%{_mandir}/man1/gcjh.1*
543165
%{_infodir}/gcj*
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/jc1
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/ecj1
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/jvgenmain
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj-tools.so
67287f
%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj_bc.so
543165
%endif
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgij.so
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj-tools.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgcj_bc.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgij.so
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcj.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcj-tools.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgcj_bc.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgij.so
543165
%endif
543165
%doc rpm.doc/changelogs/gcc/java/ChangeLog*
543165
543165
%files -n libgcj
543165
%defattr(-,root,root,-)
543165
%{_prefix}/bin/jv-convert
543165
%{_prefix}/bin/gij
543165
%{_prefix}/bin/gjar
543165
%{_prefix}/bin/fastjar
543165
%{_prefix}/bin/gnative2ascii
543165
%{_prefix}/bin/grepjar
543165
%{_prefix}/bin/grmic
543165
%{_prefix}/bin/grmid
543165
%{_prefix}/bin/grmiregistry
543165
%{_prefix}/bin/gtnameserv
543165
%{_prefix}/bin/gkeytool
543165
%{_prefix}/bin/gorbd
543165
%{_prefix}/bin/gserialver
543165
%{_prefix}/bin/gcj-dbtool
543165
%{_prefix}/bin/gjarsigner
543165
%{_mandir}/man1/fastjar.1*
543165
%{_mandir}/man1/grepjar.1*
543165
%{_mandir}/man1/gjar.1*
543165
%{_mandir}/man1/gjarsigner.1*
543165
%{_mandir}/man1/jv-convert.1*
543165
%{_mandir}/man1/gij.1*
543165
%{_mandir}/man1/gnative2ascii.1*
543165
%{_mandir}/man1/grmic.1*
543165
%{_mandir}/man1/grmiregistry.1*
543165
%{_mandir}/man1/gcj-dbtool.1*
543165
%{_mandir}/man1/gkeytool.1*
543165
%{_mandir}/man1/gorbd.1*
543165
%{_mandir}/man1/grmid.1*
543165
%{_mandir}/man1/gserialver.1*
543165
%{_mandir}/man1/gtnameserv.1*
543165
%{_infodir}/fastjar.info*
543165
%{_infodir}/cp-tools.info*
543165
%{_prefix}/%{_lib}/libgcj.so.*
543165
%{_prefix}/%{_lib}/libgcj-tools.so.*
543165
%{_prefix}/%{_lib}/libgcj_bc.so.*
543165
%{_prefix}/%{_lib}/libgij.so.*
d8d6ff
%dir %{_prefix}/%{_lib}/gcj-%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/%{_lib}/gcj-%{version}
d8d6ff
%endif
d8d6ff
%{_prefix}/%{_lib}/gcj-%{gcc_version}/libgtkpeer.so
d8d6ff
%{_prefix}/%{_lib}/gcj-%{gcc_version}/libgjsmalsa.so
d8d6ff
%{_prefix}/%{_lib}/gcj-%{gcc_version}/libjawt.so
d8d6ff
%{_prefix}/%{_lib}/gcj-%{gcc_version}/libjvm.so
d8d6ff
%{_prefix}/%{_lib}/gcj-%{gcc_version}/libjavamath.so
543165
%dir %{_prefix}/share/java
543165
%{_prefix}/share/java/[^sl]*
d8d6ff
%{_prefix}/share/java/libgcj-%{gcc_version}.jar
d8d6ff
%if "%{version}" != "%{gcc_version}"
543165
%{_prefix}/share/java/libgcj-%{version}.jar
d8d6ff
%endif
543165
%dir %{_prefix}/%{_lib}/security
543165
%config(noreplace) %{_prefix}/%{_lib}/security/classpath.security
543165
%{_prefix}/%{_lib}/logging.properties
d8d6ff
%dir %{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db.d
d8d6ff
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) %{_prefix}/%{_lib}/gcj-%{gcc_version}/classmap.db
543165
543165
%files -n libgcj-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/gcj
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jawt.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jawt_md.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jni.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jni_md.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/jvmpi.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj.spec
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgcj_bc.so
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgcj_bc.so
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgcj_bc.so
543165
%endif
543165
%dir %{_prefix}/include/c++
543165
%dir %{_prefix}/include/c++/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/include/c++/%{version}
d8d6ff
%endif
543165
%{_prefix}/include/c++/%{gcc_version}/[gj]*
543165
%{_prefix}/include/c++/%{gcc_version}/org
543165
%{_prefix}/include/c++/%{gcc_version}/sun
543165
%{_prefix}/%{_lib}/pkgconfig/libgcj-*.pc
543165
%doc rpm.doc/boehm-gc/* rpm.doc/fastjar/* rpm.doc/libffi/*
543165
%doc rpm.doc/libjava/*
543165
543165
%files -n libgcj-src
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/share/java
543165
%{_prefix}/share/java/src*.zip
d8d6ff
%{_prefix}/share/java/libgcj-tools-%{gcc_version}.jar
d8d6ff
%if "%{version}" != "%{gcc_version}"
543165
%{_prefix}/share/java/libgcj-tools-%{version}.jar
543165
%endif
d8d6ff
%endif
543165
543165
%if %{build_ada}
543165
%files gnat
543165
%defattr(-,root,root,-)
543165
%{_prefix}/bin/gnat
543165
%{_prefix}/bin/gnat[^i]*
543165
%{_infodir}/gnat*
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/adainclude
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/adalib
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/adainclude
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/adalib
543165
%endif
67287f
%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
543165
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/gnat1
543165
%doc rpm.doc/changelogs/gcc/ada/ChangeLog*
543165
543165
%files -n libgnat
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libgnat-*.so
543165
%{_prefix}/%{_lib}/libgnarl-*.so
543165
543165
%files -n libgnat-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adainclude
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
543165
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
543165
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adainclude
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
543165
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
543165
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
543165
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
543165
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
543165
%endif
543165
543165
%files -n libgnat-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
543165
%endif
543165
%endif
543165
543165
%files -n libgomp
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libgomp.so.1*
543165
%{_infodir}/libgomp.info*
543165
%doc rpm.doc/changelogs/libgomp/ChangeLog*
543165
543165
%files -n libmudflap
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libmudflap.so.0*
543165
%{_prefix}/%{_lib}/libmudflapth.so.0*
543165
543165
%files -n libmudflap-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mf-runtime.h
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
543165
%endif
543165
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
543165
543165
%files -n libmudflap-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflapth.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflap.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflapth.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
543165
%endif
543165
543165
%if %{build_libquadmath}
543165
%files -n libquadmath
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libquadmath.so.0*
543165
%{_infodir}/libquadmath.info*
543165
%doc rpm.doc/libquadmath/COPYING*
543165
543165
%files -n libquadmath-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/quadmath.h
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/quadmath_weak.h
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.so
543165
%endif
543165
%doc rpm.doc/libquadmath/ChangeLog*
543165
543165
%files -n libquadmath-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libquadmath.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libquadmath.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libquadmath.a
543165
%endif
543165
%endif
543165
543165
%if %{build_libitm}
543165
%files -n libitm
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libitm.so.1*
543165
%{_infodir}/libitm.info*
543165
543165
%files -n libitm-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
543165
#%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/itm.h
543165
#%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/itm_weak.h
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.so
543165
%endif
543165
%doc rpm.doc/libitm/ChangeLog*
543165
543165
%files -n libitm-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libitm.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libitm.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libitm.a
543165
%endif
543165
%endif
543165
543165
%if %{build_libatomic}
543165
%files -n libatomic
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libatomic.so.1*
543165
543165
%files -n libatomic-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libatomic.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libatomic.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libatomic.a
543165
%endif
543165
%doc rpm.doc/changelogs/libatomic/ChangeLog*
543165
%endif
543165
543165
%if %{build_libasan}
543165
%files -n libasan
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libasan.so.0*
543165
543165
%files -n libasan-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libasan.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libasan.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libasan.a
543165
%endif
543165
%doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
543165
%endif
543165
543165
%if %{build_libtsan}
543165
%files -n libtsan
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libtsan.so.0*
543165
543165
%files -n libtsan-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libtsan.a
543165
%doc rpm.doc/changelogs/libsanitizer/ChangeLog* libsanitizer/LICENSE.TXT
543165
%endif
543165
543165
%if %{build_go}
543165
%files go
543165
%defattr(-,root,root,-)
543165
%{_prefix}/bin/gccgo
543165
%{_mandir}/man1/gccgo.1*
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/go1
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgo.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgo.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/64/libgobegin.a
543165
%endif
543165
%ifarch %{multilib_64_archs}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgo.so
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgo.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/32/libgobegin.a
543165
%endif
543165
%ifarch sparcv9 ppc %{multilib_64_archs}
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.so
543165
%endif
67287f
%ifarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgobegin.a
543165
%endif
543165
%doc rpm.doc/go/*
543165
543165
%files -n libgo
543165
%defattr(-,root,root,-)
543165
%{_prefix}/%{_lib}/libgo.so.4*
543165
%doc rpm.doc/libgo/*
543165
543165
%files -n libgo-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
543165
%dir %{_prefix}/%{_lib}/go
543165
%dir %{_prefix}/%{_lib}/go/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/%{_lib}/go/%{version}
d8d6ff
%endif
543165
%{_prefix}/%{_lib}/go/%{gcc_version}/%{gcc_target_platform}
543165
%ifarch %{multilib_64_archs}
67287f
%ifnarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/go
543165
%dir %{_prefix}/lib/go/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/go/%{version}
d8d6ff
%endif
543165
%{_prefix}/lib/go/%{gcc_version}/%{gcc_target_platform}
543165
%endif
543165
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgobegin.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgobegin.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgobegin.a
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.so
543165
%endif
543165
543165
%files -n libgo-static
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%ifarch sparcv9 ppc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libgo.a
543165
%endif
67287f
%ifarch sparc64 ppc64 ppc64p7
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libgo.a
543165
%endif
67287f
%ifnarch sparcv9 sparc64 ppc ppc64 ppc64p7
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libgo.a
543165
%endif
543165
%endif
543165
543165
%files plugin-devel
543165
%defattr(-,root,root,-)
543165
%dir %{_prefix}/lib/gcc
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/plugin
543165
%dir %{_prefix}/libexec/gcc
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}
543165
%dir %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}
d8d6ff
%if "%{version}" != "%{gcc_version}"
d8d6ff
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{version}
d8d6ff
%endif
543165
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/plugin
543165
543165
%changelog
9437cd
* Wed Feb 13 2019 Marek Polacek <polacek@redhat.com> 4.8.5-36.2
9437cd
- allow libitm to use HTM (#1674383)
9437cd
- fix mode mismatch in prepare_cmp_insn (#1676795, PR target/63442)
9437cd
45c955
* Wed Jan 16 2019 Jeff Law <law@redhat.com> 4.8.5-36.1
45c955
- Avoid code generation bug due to incorrect CFG in the presence
45c955
  of setjmp/longjmp (#1655148).
45c955
b89248
* Tue Jun 12 2018 Marek Polacek <polacek@redhat.com> 4.8.5-36
b89248
- back out the last change
b89248
b89248
* Tue Jun  5 2018 Marek Polacek <polacek@redhat.com> 4.8.5-35
b89248
- adjust C++11 signatures to take a const_iterator (#1575888)
b89248
b89248
* Thu Apr 26 2018 Marek Polacek <polacek@redhat.com> 4.8.5-34
b89248
- fix infinite looping in -fipa-cp-clone (#1546372)
b89248
- don't look for vsld gcc.target/powerpc/pr72717.c
b89248
b89248
* Wed Apr 25 2018 Jeff Law <law@redhat.com> 4.8.5-33
b89248
- Fix two minor problems with the backported spectre updates
b89248
  from upstream.  (#1537828)
b89248
b89248
* Thu Apr 19 2018 Jeff Law <law@redhat.com> 4.8.5-32
b89248
- Backport various stack-clash and spectre fixes from upstream
b89248
(#1537828)
b89248
b89248
* Tue Apr 10 2018 Marek Polacek <polacek@redhat.com> 4.8.5-31
b89248
- backport s390 -mpic-data-is-text-relative feature (#1555397)
b89248
- fix crash when write follows large read (#1463706)
b89248
- fix emit_move_insn ICE (#1565536)
b89248
- add missing rs6000-cpus.def (#1512202)
b89248
b89248
* Wed Apr  4 2018 Marek Polacek <polacek@redhat.com> 4.8.5-30
b89248
- fix ICE when generating a vector shift by scalar (#1546728)
b89248
d950bf
* Tue Mar 27 2018 Jeff Law <law@redhat.com> 4.8.5-29
d950bf
- s390 retpoline support for spectre mitigation (#1552021)
d950bf
85359c
* Fri Jan 19 2018 Marek Polacek <polacek@redhat.com> 4.8.5-28
85359c
- Minor testsuite fixes to clean up test results (#1469697)
85359c
- retpoline support for spectre mitigation (#1535655)
85359c
85359c
* Thu Jan 11 2018 Marek Polacek <polacek@redhat.com> 4.8.5-27
85359c
- bump for rebuild with RELRO enabled even for ppc64/ppc64le
85359c
85359c
* Thu Jan  4 2018 Jeff Law <law@redhat.com> 4.8.5-26
85359c
- Avoid red zone probing for zero residual dynamic allocation (#1469697)
85359c
- Avoid bogus CFIs for probes in noreturn fucntions on x86/x86_64 (#1469697)
85359c
85359c
* Tue Nov  14 2017 Jeff Law <law@redhat.com> 4.8.5-25
85359c
- Avoid red zone probe on aarch64 (#1469697)
85359c
85359c
* Mon Nov  6 2017 Jeff Law <law@redhat.com> 4.8.5-24
85359c
- Sync gcc48-rh1469697-13 patch to upstream (#1469697)
85359c
- Avoid probing in the red zone for noreturn functions (#1507980, #1469697)
85359c
- Avoid infinite loop if probing interval is less than guard size (#1469697)
85359c
- Fix debug information for large probing interval on aarch64 (#1469697)
85359c
- Fix ICE on ppc port with large probing interval (#1469697)
85359c
85359c
- rebuild to remove static relocations not known to older linkers (#1508968)
85359c
85359c
* Thu Nov  2 2017 Marek Polacek <polacek@redhat.com> 4.8.5-23
85359c
- rebuild to remove static relocations not known to older linkers (#1508968)
85359c
85359c
* Thu Oct 19 2017 Marek Polacek <polacek@redhat.com> 4.8.5-22
85359c
- fix gcc.c-torture/execute/pr80692.x
85359c
- fix divmod expansion (PR middle-end/78416)
85359c
85359c
* Wed Oct 18 2017 Marek Polacek <polacek@redhat.com> 4.8.5-21
85359c
- fix 27_io/basic_fstream/53984.cc
85359c
- fix for classes with bases with mutable members (PR c++/77375)
85359c
- fix handling side-effects of parameters (PR c/77767)
85359c
- fix combine's make_extraction (PR rtl-optimization/78378)
85359c
- fix gimplification of const var initialization from COND_EXPR (PR c++/80129)
85359c
- fix -A / -B to A / B folding (PR middle-end/80362)
85359c
- fix comparison of decimal float zeroes (PR middle-end/80692)
85359c
- fix __mulv[dt]i3 and expand_mul_overflow (PR target/82274)
85359c
85359c
* Thu Oct 12 2017 Marek Polacek <polacek@redhat.com> 4.8.5-20
85359c
- handle exceptions in basic_istream::sentry (#1469384)
85359c
- don't run pr63354.c on ppc (#1468546)
85359c
- ensure proxy privatization safety (#1491395)
85359c
- fix incorrect codegen from rdseed intrinsic use (#1482762, CVE-2017-11671)
85359c
- on aarch64, remove libatomic.so (#1465510)
85359c
85359c
* Sun Oct  8 2017 Jeff Law <law@redhat.com> 4.8.5-19
85359c
- Backport stack clash protection from upstream (#1469697)
85359c
85359c
* Fri Oct  6 2017 Marek Polacek <polacek@redhat.com> 4.8.5-18
85359c
- backport several -mprofile-kernel fixes (#1468546)
85359c
85359c
* Thu Sep 14 2017 Marek Polacek <polacek@redhat.com> 4.8.5-17
85359c
- fix -mcpu=power8 atomic expansion (#1437220, PR target/69644)
103ae1
- fix .toc alignment (#1487434)
103ae1
003890
* Thu Jun  1 2017 Marek Polacek <polacek@redhat.com> 4.8.5-16
003890
- disable emitting profiling in functions marked with a special
003890
  attribute (#1457969)
003890
003890
* Wed May 31 2017 Marek Polacek <polacek@redhat.com> 4.8.5-15
003890
- properly apply the PR70549 patch (#1349067)
003890
003890
* Mon Mar 13 2017 Marek Polacek <polacek@redhat.com> 4.8.5-14
003890
- promote reloads of a PLUS to RELOAD_OTHER (#1402585)
003890
003890
* Fri Mar 10 2017 Jakub Jelinek <jakub@redhat.com> 4.8.5-13
003890
- add -mstack-protector-guard={tls,global}, -mstack-protector-guard-reg=
003890
  and -mstack-protector-guard-offset= options on ppc* (#1415952,
003890
  PR target/78875)
003890
003890
* Tue Mar  7 2017 Jakub Jelinek <jakub@redhat.com> 4.8.5-12
003890
- fix up std::rethrow_exception (#1375711, PR libstdc++/62258)
003890
- use _Unwind_GetIPInfo in __gcc_personality_v0 (#1387402, PR libgcc/78064)
003890
- fix vec_vsx_ld/st on ppc64le (#1389801, PR target/72863, PR target/78084)
003890
- fix ICE in gfc_compare_derived_types (#1369183)
003890
- fix EH from C++ thunks (#1427412, PR ipa/68184)
003890
- on ppc64{,le} emit nop after recursive call if the current function
003890
  is replaceable (#1420723, PR target/79439)
003890
- on aarch64 with -frounding-math use fnmul only with -(a*b) and not
003890
  with (-a)*b (#1418446, PR target/66731)
003890
- constrain std::valarray functions and operators (#1416214,
003890
  PR libstdc++/69116)
003890
- fix gimplification of aggregate assignments when lhs is used
003890
  (#1396298, PR middle-end/72747, PR c/78408)
003890
- fix aarch64 TLS with -mcmodel=large (#1389276, PR target/78796)
003890
- fix aarch64 reloading of floating point constants into general purpose
003890
  registers (#1349067, PR target/70549)
003890
- fix DW_AT_decl_line on DW_TAG_enumeration_type for C enumeration
003890
  definitions following forward declarations (#1423460, PR c/79969)
003890
ee890f
* Wed Aug 31 2016 Jakub Jelinek <jakub@redhat.com> 4.8.5-11
ee890f
- on aarch64 emit scheduling barriers before stack deallocation in
ee890f
  function epilogues (#1362635, PR target/63293)
ee890f
ee890f
* Wed Aug 10 2016 Jakub Jelinek <jakub@redhat.com> 4.8.5-10
ee890f
- include vecintrin.h intrinsic header on s390 (#1182152)
ee890f
ee890f
* Fri Jul 15 2016 Jakub Jelinek <jakub@redhat.com> 4.8.5-9
ee890f
- backport OpenMP 4.5 support to libgomp (library only; #1357060,
ee890f
  PRs libgomp/68579, libgomp/64625)
ee890f
ee890f
* Wed Jun 15 2016 Jakub Jelinek <jakub@redhat.com> 4.8.5-8
ee890f
- fix a bug in C++ ref-to-ptr conversion (#1344807)
ee890f
- fix combiner handling of jumps on aarch64 (#1344672,
ee890f
  PR rtl-optimization/52714)
ee890f
ee890f
* Thu Jun  9 2016 Jakub Jelinek <jakub@redhat.com> 4.8.5-7
ee890f
- ensure the timestamp on printers.py is always the same (#1344291)
ee890f
ee890f
* Mon Jun  6 2016 Jakub Jelinek <jakub@redhat.com> 4.8.5-6
ee890f
- backport s390 z13 support (#1182152)
ee890f
- fix up -fsanitize=address on powerpc64 with 46-bit virtual address space
ee890f
  (#1312850)
ee890f
- throw exception on std::random_device::_M_getval() failure (#1262846,
ee890f
  PR libstdc++/65142, CVE-2015-5276)
ee890f
ee890f
* Tue May 10 2016 Jakub Jelinek <jakub@redhat.com> 4.8.5-5
ee890f
- fix up libitm HTM fastpath (#1180633)
ee890f
- on ppc64le default to -mcpu=power8 instead of -mcpu=power7 (#1213268)
ee890f
- fix up size in .debug_pubnames (#1278872)
ee890f
- turn powerpc* HTM insns into memory barriers (#1282755, PR target/67281)
ee890f
- make sure to handle __builtin_alloca_with_align like alloca in
ee890f
  -fstack-protector* (#1289022, PR tree-optimization/68680)
ee890f
- improve DW_AT_abstract_origin of DW_TAG_GNU_call_site on s390 with -fPIC
ee890f
  (#1312436)
ee890f
- fix up libstdc++ pretty-printers (#1076690, PR libstdc++/53477)
ee890f
- don't pass explicit --oformat option to ld on powerpc* (#1296211)
ee890f
- backport Intel Memory Protection Keys ISA support - -mpku (#1304449)
ee890f
b4bb7a
* Wed Jul 15 2015 Jakub Jelinek <jakub@redhat.com> 4.8.5-4
b4bb7a
- fix up basic_streambuf copy constructor and assignment operator
b4bb7a
  (#1243366)
b4bb7a
b4bb7a
* Thu Jul  2 2015 Jakub Jelinek <jakub@redhat.com> 4.8.5-3
b4bb7a
- backport aarch64 crc enablement - -mcpu=generic+crc (#1179935)
b4bb7a
- rebuild against fixed binutils to fix up systemtap markers on aarch64
b4bb7a
  (#1238462)
b4bb7a
b4bb7a
* Wed Jul  1 2015 Jakub Jelinek <jakub@redhat.com> 4.8.5-2
b4bb7a
- add --enable-targets=powerpcle-linux on ppc64le (#1237363)
b4bb7a
b4bb7a
* Tue Jun 23 2015 Jakub Jelinek <jakub@redhat.com> 4.8.5-1
b4bb7a
- update from the 4.8 branch (#1230103)
b4bb7a
  - GCC 4.8.5 release
b4bb7a
  - fix -imacros handling (#1004526, PR c/57653)
b4bb7a
  - fix up IPA type handling (#1217267, PRs ipa/63551, ipa/64153)
b4bb7a
  - add PowerPC analyze swaps optimization pass (#1208103, #1200336)
b4bb7a
  - fix PowerPC vsx_extract_<mode>* patterns (#1206341)
b4bb7a
  - fix PowerPC -mcrypto handling (#1200335)
b4bb7a
  - Power8 unaligned vectorization improvements (#1199221, PR target/65456)
b4bb7a
  - PRs ada/47500, ada/63225, bootstrap/64213, c++/56710, c++/58624,
b4bb7a
	c++/63415, c++/63455, c++/64251, c++/64297, c++/64487, c++/65721,
b4bb7a
	c++/65727, c/52769, c/61553, c/64766, debug/63342, debug/65549,
b4bb7a
	fortran/56674, fortran/56867, fortran/57023, fortran/58813,
b4bb7a
	fortran/59016, fortran/59024, fortran/59488, fortran/60898,
b4bb7a
	fortran/61138, fortran/61407, fortran/63733, fortran/63744,
b4bb7a
	fortran/63938, fortran/64244, fortran/64528, fortran/65024,
b4bb7a
	gcov-profile/64634, inline-asm/63282, ipa/59626, ipa/63838,
b4bb7a
	libfortran/63589, libgfortran/59513, libgfortran/60956, libgomp/61200,
b4bb7a
	libstdc++/57440, libstdc++/59603, libstdc++/61947, libstdc++/63449,
b4bb7a
	libstdc++/63840, libstdc++/65279, libstdc++/65543, lto/65015,
b4bb7a
	lto/65193, middle-end/43631, middle-end/56917, middle-end/57748,
b4bb7a
	middle-end/58624, middle-end/59990, middle-end/63608,
b4bb7a
	middle-end/63665, middle-end/63704, middle-end/64067,
b4bb7a
	middle-end/64111, middle-end/64199, middle-end/64225,
b4bb7a
	middle-end/65409, middle-end/65680, middle-end/66133,
b4bb7a
	middle-end/66251, pch/65550, preprocessor/60436,
b4bb7a
	rtl-optimization/61058, rtl-optimization/63475,
b4bb7a
	rtl-optimization/63483, rtl-optimization/63659,
b4bb7a
	rtl-optimization/64037, rtl-optimization/64557, sanitizer/64265,
b4bb7a
	target/49423, target/52941, target/53988, target/55351, target/56846,
b4bb7a
	target/59593, target/60111, target/61413, target/62218, target/62642,
b4bb7a
	target/63335, target/63428, target/63673, target/63947, target/64113,
b4bb7a
	target/64115, target/64304, target/64358, target/64387, target/64409,
b4bb7a
	target/64452, target/64453, target/64479, target/64513, target/64579,
b4bb7a
	target/64580, target/64795, target/64882, target/64979, target/65138,
b4bb7a
	target/65163, target/65196, target/65286, target/65368, target/65787,
b4bb7a
	target/65849, target/66140, target/66148, target/66215, target/66275,
b4bb7a
	target/66470, target/66474, tree-optimization/59124,
b4bb7a
	tree-optimization/60656, tree-optimization/61634,
b4bb7a
	tree-optimization/61686, tree-optimization/61969,
b4bb7a
	tree-optimization/62031, tree-optimization/62167,
b4bb7a
	tree-optimization/63375, tree-optimization/63379,
b4bb7a
	tree-optimization/63551, tree-optimization/63593,
b4bb7a
	tree-optimization/63605, tree-optimization/63841,
b4bb7a
	tree-optimization/63844, tree-optimization/64269,
b4bb7a
	tree-optimization/64277, tree-optimization/64493,
b4bb7a
	tree-optimization/64495, tree-optimization/64563,
b4bb7a
	tree-optimization/65063, tree-optimization/65388,
b4bb7a
	tree-optimization/65518, tree-optimization/66123,
b4bb7a
	tree-optimization/66233, tree-optimization/66251,
b4bb7a
	tree-optimization/66272
b4bb7a
d8d6ff
* Fri Nov 14 2014 Richard Henderson <rth@redhat.com> 4.8.3-9
b4bb7a
- enable Ada for ppc64le (#1162196)
d8d6ff
d8d6ff
* Fri Sep 26 2014 Jakub Jelinek <jakub@redhat.com> 4.8.3-8
d8d6ff
- fix PowerPC unaligned vectorization bug (#1146871,
d8d6ff
  PR tree-optimization/63341)
d8d6ff
- fix another -fcompare-debug issue (PR debug/63284)
d8d6ff
d8d6ff
* Thu Sep 11 2014 Jakub Jelinek <jakub@redhat.com> 4.8.3-7
d8d6ff
- update from the 4.8 branch
d8d6ff
  - fix ppc32 libgo.so.4 to avoid RWE PT_GNU_STACK
d8d6ff
d8d6ff
* Wed Sep 10 2014 Jakub Jelinek <jakub@redhat.com> 4.8.3-6
d8d6ff
- update from the 4.8 branch (#1140019)
d8d6ff
  - PRs c++/58714, c++/59823, c++/59956, c++/60241, c++/60361, c++/61959,
d8d6ff
	c/61271, debug/55794, debug/60655, debug/61923, fortran/61999,
d8d6ff
	fortran/62214, fortran/62270, ipa/61986, ipa/62015, libgfortran/62188,
d8d6ff
	libstdc++/58962, libstdc++/61946, middle-end/61010, middle-end/61045,
d8d6ff
	middle-end/62103, rtl-optimization/62004, rtl-optimization/62030,
d8d6ff
	target/61996, target/62038, target/62195, testsuite/56194,
d8d6ff
	tree-optimization/60196, tree-optimization/60707,
d8d6ff
	tree-optimization/61452, tree-optimization/62073,
d8d6ff
	tree-optimization/62075, tree-optimization/63189
d8d6ff
d8d6ff
* Thu Aug 21 2014 Richard Henderson <rth@redhat.com> 4.8.3-5
d8d6ff
- backport aarch64 unwind info improvements (#1132636)
d8d6ff
d8d6ff
* Fri Aug  1 2014 Jakub Jelinek <jakub@redhat.com> 4.8.3-4
d8d6ff
- update from the 4.8 branch
d8d6ff
  - PRs fortran/61780, libobjc/61920, target/47230, tree-optimization/61375,
d8d6ff
	tree-optimization/61964
d8d6ff
  - fix libgfortran overflows on allocation (CVE-2014-5044)
d8d6ff
- backport ibm-ldouble performance improvements (#1090620)
d8d6ff
d8d6ff
* Wed Jul 30 2014 Jakub Jelinek <jakub@redhat.com> 4.8.3-3
d8d6ff
- on ppc64le use -mtune=power8 by default (#1123484)
d8d6ff
d8d6ff
* Thu Jul 17 2014 Jakub Jelinek <jakub@redhat.com> 4.8.3-2
d8d6ff
- update from the 4.8 branch
d8d6ff
  - PRs c++/61500, c++/61539, c++/61647, fortran/58883, fortran/61459,
d8d6ff
	middle-end/53590, rtl-optimization/61801, target/61542, target/61586,
d8d6ff
	tree-optimization/61306, tree-optimization/61684
d8d6ff
- for rhel 7.1 keep the old 4.8.2 pathnames and use 4.8.3 symlinks
d8d6ff
- merge in aarch64 support (#1070290)
d8d6ff
- small improvements on s390x for z196 and later (#1088542)
d8d6ff
- make sure OpenMP outlined artificial functions have DW_AT_name (#844959)
d8d6ff
d8d6ff
* Tue Jun 24 2014 Jakub Jelinek <jakub@redhat.com> 4.8.3-1
d8d6ff
- update from the 4.8 branch
d8d6ff
  - GCC 4.8.3 release
d8d6ff
  - PRs c++/60605, c++/60731, c++/61134, fortran/45187, ipa/61393,
d8d6ff
	libfortran/61187, libfortran/61310, libstdc++/60734, libstdc++/60966,
d8d6ff
	rtl-optimization/60866, rtl-optimization/60901, rtl-optimization/61094,
d8d6ff
	rtl-optimization/61446, target/61044, target/61193, target/61202,
d8d6ff
	target/61208, target/61231, target/61239, target/61249, target/61300,
d8d6ff
	target/61415, target/61423, target/61431, target/61443, target/61483,
d8d6ff
	target/61545, target/61570, tree-optimization/61383
d8d6ff
d8d6ff
* Thu May 15 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-18
d8d6ff
- update from the 4.8 branch
d8d6ff
  - PRs c++/60367, c++/60628, c++/60689, c++/60708, c++/60713, debug/60603,
d8d6ff
	driver/61106, libfortran/56919, libfortran/60810, libstdc++/60497,
d8d6ff
	libstdc++/60594, libstdc++/61117, middle-end/36282, middle-end/55022,
d8d6ff
	middle-end/60635, middle-end/60729, middle-end/60750,
d8d6ff
	middle-end/60849, middle-end/60895, rtl-optimization/60769,
d8d6ff
	target/57589, target/58595, target/59952, target/60516, target/60609,
d8d6ff
	target/60672, target/60693, target/60839, target/60909, target/60941,
d8d6ff
	target/60991, target/61026, target/61055, tree-optimization/57864,
d8d6ff
	tree-optimization/59817, tree-optimization/60453,
d8d6ff
	tree-optimization/60502, tree-optimization/60740,
d8d6ff
	tree-optimization/60766, tree-optimization/60836,
d8d6ff
	tree-optimization/60903, tree-optimization/60930,
d8d6ff
	tree-optimization/60960
d8d6ff
- backport OpenMP 4.0 support to libgomp (library only; PR libgomp/58691)
d8d6ff
d8d6ff
* Fri Apr 11 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-17
d8d6ff
- update from the 4.8 branch
d8d6ff
  - PRs ada/51483, ada/60703, c/37743, c/59891, c/60101, c++/37140, c++/41174,
d8d6ff
	c++/54652, c++/55800, c++/57043, c++/57524, c++/57899, c++/58466,
d8d6ff
	c++/58504, c++/58606, c++/58632, c++/58639, c++/58672, c++/58812,
d8d6ff
	c++/58814, c++/58835, c++/58837, c++/58845, c++/58873, c++/58965,
d8d6ff
	c++/59097, c++/59224, c++/59646, c++/59989, c++/60108, c++/60146,
d8d6ff
	c++/60182, c++/60187, c++/60216, c++/60219, c++/60248, debug/59776,
d8d6ff
	fortran/49397, fortran/52370, fortran/55907, fortran/57033,
d8d6ff
	fortran/58007, fortran/58803, fortran/59395, fortran/59414,
d8d6ff
	fortran/59599, fortran/59700, fortran/59906, fortran/60231,
d8d6ff
	fortran/60283, fortran/60341, fortran/60450, fortran/60522,
d8d6ff
	fortran/60543, fortran/60576, fortran/60677, ipa/55260, ipa/60026,
d8d6ff
	ipa/60419, ipa/60640, libfortran/38199, libfortran/58324,
d8d6ff
	libfortran/59700, libfortran/59764, libfortran/59771,
d8d6ff
	libfortran/59774, libfortran/59836, libfortran/60128, libgcc/60166,
d8d6ff
	libgcj/55637, libstdc++/59215, libstdc++/59392, libstdc++/59548,
d8d6ff
	libstdc++/59680, libstdc++/59738, libstdc++/60564, libstdc++/60658,
d8d6ff
	middle-end/57499, middle-end/58809, middle-end/60004,
d8d6ff
	middle-end/60221, middle-end/60291, objc/56870, other/56653,
d8d6ff
	preprocessor/56824, preprocessor/58844, preprocessor/60400,
d8d6ff
	rtl-optimization/56356, rtl-optimization/57422,
d8d6ff
	rtl-optimization/57425, rtl-optimization/57569,
d8d6ff
	rtl-optimization/57637, rtl-optimization/60116,
d8d6ff
	rtl-optimization/60452, rtl-optimization/60601,
d8d6ff
	rtl-optimization/60700, target/43546, target/48094, target/54083,
d8d6ff
	target/54407, target/55426, target/56843, target/57052, target/57935,
d8d6ff
	target/57949, target/58675, target/58710, target/59054, target/59379,
d8d6ff
	target/59396, target/59462, target/59718, target/59777, target/59844,
d8d6ff
	target/59880, target/59909, target/59929, target/60017, target/60032,
d8d6ff
	target/60039, target/60062, target/60151, target/60193, target/60203,
d8d6ff
	target/60207, target/60486, target/60568, target/60735,
d8d6ff
	tree-optimization/56490, tree-optimization/59903,
d8d6ff
	tree-optimization/60115, tree-optimization/60183,
d8d6ff
	tree-optimization/60276, tree-optimization/60382,
d8d6ff
	tree-optimization/60429, tree-optimization/60454,
d8d6ff
	tree-optimization/60485
d8d6ff
  - powerpc64 little endian support
d8d6ff
- enable ppc64le in the spec file
327152
67287f
* Mon Mar  3 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-16
67287f
- fix up compare_exchange_* in libatomic too (PR c++/60272)
67287f
67287f
* Thu Feb 20 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-15
67287f
- fix exception spec instantiation ICE (#1067398, PR c++/60046)
67287f
- fix pch on aarch64 (#1058991, PR pch/60010)
67287f
- configure with --enable-gnu-indirect-function on architectures
67287f
  and distros that support it and don't support it by default
67287f
  yet (#1067245)
67287f
- fix vector permutation handling on i?86/x86_64 (PR target/57896)
67287f
- fix __atomic_compare_exchange_* not to store into *expected
67287f
  on success (PR c++/60272)
67287f
- fix -march=native on VMs where saving/restoring of YMM state
67287f
  is not supported, yet CPU supports f16c (PR driver/60233)
67287f
- add ref7.C testcase (PR c++/60274)
67287f
67287f
* Wed Feb 19 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-14
67287f
- remove libgo P.224 elliptic curve (#1066539)
67287f
- fix -mcpu=power8 ICE (#1064242, PR target/60137)
67287f
67287f
* Tue Jan 21 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-13
67287f
- when removing -Wall from CXXFLAGS, if -Werror=format-security
67287f
  is present, add -Wformat to it, so that GCC builds on F21
67287f
67287f
* Mon Jan 20 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-12
67287f
- update from the 4.8 branch (#1052892)
67287f
  - PRs c++/59838, debug/54694, fortran/34547, fortran/58410,
67287f
	middle-end/59827, middle-end/59860, target/58139, target/59142,
67287f
	target/59695, target/59794, target/59826, target/59839
67287f
- fix handling of initialized vars with flexible array members
67287f
  (#1035413, PR middle-end/28865)
67287f
67287f
* Wed Jan 15 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-11
67287f
- update from the 4.8 branch
67287f
  - fix s390x reload bug (#1052372, PR target/59803)
67287f
67287f
* Tue Jan 14 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-10
67287f
- update from the 4.8 branch (#1052892)
67287f
  - PRs ada/55946, ada/59772, c++/56060, c++/58954, c++/59255, c++/59730,
67287f
	fortran/57042, fortran/58998, fortran/59493, fortran/59612,
67287f
	fortran/59654, ipa/59610, middle-end/59584, pch/59436,
67287f
	rtl-optimization/54300, rtl-optimization/58668,
67287f
	rtl-optimization/59137, rtl-optimization/59647,
67287f
	rtl-optimization/59724, target/57386, target/59587, target/59625,
67287f
	target/59652, testsuite/58630, tree-optimization/54570,
67287f
	tree-optimization/59125, tree-optimization/59362,
67287f
	tree-optimization/59715, tree-optimization/59745
67287f
- default to -march=z196 instead of -march=z10 on s390/s390x (#1052890)
67287f
67287f
* Fri Jan 10 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-9
67287f
- define %%global _performance_build 1 (#1051064)
67287f
67287f
* Tue Jan  7 2014 Jakub Jelinek <jakub@redhat.com> 4.8.2-8
67287f
- treat ppc64p7 as ppc64 (#1048859)
67287f
67287f
* Thu Dec 12 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-7
67287f
- update from the 4.8 branch
67287f
  - PRs libgomp/59467, rtl-optimization/58295, target/56807,
67287f
	testsuite/59442
67287f
  - fix LRA coalescing for real (PR middle-end/59470)
67287f
67287f
* Wed Dec 11 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-6
67287f
- temporarily revert PR middle-end/58956 to avoid libstdc++
67287f
  miscompilation on i?86 (PR middle-end/59470)
67287f
67287f
* Mon Dec  9 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-5
67287f
- update from the 4.8 branch
67287f
  - PRs ada/59382, bootstrap/57683, c++/58162, c++/59031, c++/59032,
67287f
	c++/59044, c++/59052, c++/59268, c++/59297, c/59280, c/59351,
67287f
	fortran/57445, fortran/58099, fortran/58471, fortran/58771,
67287f
	middle-end/58742, middle-end/58941, middle-end/58956,
67287f
	middle-end/59011, middle-end/59037, middle-end/59138,
67287f
	rtl-optimization/58726, target/50751, target/51244, target/56788,
67287f
	target/58854, target/58864, target/59021, target/59088,
67287f
	target/59101, target/59153, target/59163, target/59207,
67287f
	target/59343, target/59405, tree-optimization/57517,
67287f
	tree-optimization/58137, tree-optimization/58143,
67287f
	tree-optimization/58653, tree-optimization/58794,
67287f
	tree-optimization/59014, tree-optimization/59047,
67287f
	tree-optimization/59139, tree-optimization/59164,
67287f
	tree-optimization/59288, tree-optimization/59330,
67287f
	tree-optimization/59334, tree-optimization/59358,
67287f
	tree-optimization/59388
67287f
- aarch64 gcj enablement (#1023789)
67287f
- look for libgfortran.spec and libitm.spec in %%{_lib} rather than lib
67287f
  subdirs (#1023789)
67287f
67287f
* Mon Nov 11 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-4
67287f
- update from the 4.8 branch
67287f
  - PRs plugins/52872, regression/58985, target/59034
67287f
543165
* Wed Nov  6 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-3
543165
- update from the 4.8 branch
543165
  - PRs c++/58282, c++/58979, fortran/58355, fortran/58989, libstdc++/58839,
543165
	libstdc++/58912, libstdc++/58952, lto/57084, middle-end/58789,
543165
	rtl-optimization/58079, rtl-optimization/58831, rtl/58542,
543165
	target/58690, target/58779, target/58792, target/58838,
543165
	tree-optimization/57488, tree-optimization/58805,
543165
	tree-optimization/58984
543165
- fix ICEs in get_bit_range (PR middle-end/58970)
543165
- fix ICEs in RTL loop unswitching (PR rtl-optimization/58997)
543165
543165
* Sun Oct 20 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-2
543165
- update from the 4.8 branch
543165
  - PRs c++/58596, libstdc++/58800
543165
- power8 TImode fix (#1014053, PR target/58673)
543165
543165
* Thu Oct 17 2013 Jakub Jelinek <jakub@redhat.com> 4.8.2-1
543165
- update from the 4.8 branch
543165
  - GCC 4.8.2 release
543165
  - PRs c++/57850, c++/58633, libstdc++/58191
543165
543165
* Thu Oct 10 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-12
543165
- update from the 4.8 branch
543165
  - PRs c++/58568, fortran/55469, fortran/57697, fortran/58469,
543165
	libstdc++/57465, libstdc++/57641, libstdc++/58659, target/58460,
543165
	tree-optimization/58539
543165
  - fix asm goto handling (#1017704, PR middle-end/58670)
543165
543165
* Wed Oct  2 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-11
543165
- update from the 4.8 branch
543165
  - PRs c++/58535, libstdc++/58437, libstdc++/58569, middle-end/56791,
543165
	middle-end/58463, middle-end/58564, target/58330,
543165
	tree-optimization/56716
543165
  - fix s390x z10+ chunkification (#1012870, PR target/58574)
543165
- disable ppc{,64} -mvsx-timode by default (#1014053, PR target/58587)
543165
543165
* Fri Sep 20 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-10
543165
- update from the 4.8 branch
543165
  - PRs ada/58264, c++/58457, c++/58458, libstdc++/58358,
543165
	tree-optimization/58088
543165
- on RHEL7, configure on ppc/ppc64 with default -mcpu=power7,
543165
  on s390/s390x with default -march=z10 -mtune=zEC12 and
543165
  on i?86 default to -march=x86-64 -mtune=generic (#805157)
543165
- on Fedora 20+ and RHEL7 default to -fdiagnostics-color=auto
543165
  rather than -fdiagnostics-color=never, if GCC_COLORS isn't
543165
  in the environment; to turn it off by default, set GCC_COLORS=
543165
  in the environment
543165
543165
* Sun Sep 15 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-9
543165
- update from the 4.8 branch
543165
  - PRs c++/58273, libstdc++/58415, middle-end/58377, rtl-optimization/58365,
543165
	target/58314, target/58361, target/58382, tree-optimization/58385
543165
- add arm_neon.h on aarch64 (#1007490)
543165
543165
* Mon Sep  9 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-8
543165
- update from the 4.8 branch
543165
  - PRs c++/58325, libstdc++/58302, libstdc++/58341, middle-end/57656,
543165
	other/12081, target/57735, tree-optimization/57521,
543165
	tree-optimization/57685, tree-optimization/58010,
543165
	tree-optimization/58223, tree-optimization/58228,
543165
	tree-optimization/58246, tree-optimization/58277,
543165
	tree-optimization/58364
543165
543165
* Thu Aug 29 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-7
543165
- update from the 4.8 branch
543165
  - PRs c++/58083, c++/58119, c++/58190, fortran/57798, fortran/58185,
543165
	middle-end/56977, middle-end/57381, middle-end/58257, target/56979,
543165
	target/57865, target/57927, target/58218, tree-optimization/57343,
543165
	tree-optimization/57396, tree-optimization/57417,
543165
	tree-optimization/58006, tree-optimization/58164,
543165
	tree-optimization/58165, tree-optimization/58209
543165
- fix up x86-64 -mcmodel=large -fpic TLS GD and LD model
543165
  (#994244, PR target/58067)
543165
- power8 fusion support fixes (#731884, PR target/58160)
543165
543165
* Wed Aug 14 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-6
543165
- update from the 4.8 branch
543165
  - PRs c++/57825, c++/57901, c++/57981, c++/58022, fortran/57435,
543165
	fortran/58058, libstdc++/56627, libstdc++/57914, libstdc++/58098,
543165
	middle-end/58041, rtl-optimization/57459, rtl-optimization/57708,
543165
	rtl-optimization/57878, sanitizer/56417, target/51784, target/57516,
543165
	target/58067, target/58132, tree-optimization/57980
543165
- power8 fusion support (#731884)
543165
- fix up ABI alignment patch (#947197)
543165
- fix up SRA with volatile struct accesses (PR tree-optimization/58145)
543165
543165
* Wed Jul 17 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-5
543165
- update from the 4.8 branch
543165
  - PRs target/55656, target/55657
543165
  - update to Go 1.1.1
543165
- backport power8 HTM support from trunk (#731884)
543165
- backport s390 zEC12 HTM support from trunk
543165
543165
* Mon Jul 15 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-4
543165
- update from the 4.8 branch
543165
  - PRs c++/57437, c++/57526, c++/57532, c++/57545, c++/57550, c++/57551,
543165
	c++/57645, c++/57771, c++/57831, fortran/57785,
543165
	rtl-optimization/57829, target/56102, target/56892, target/56987,
543165
	target/57506, target/57631, target/57736, target/57744,
543165
	target/57777, target/57792, target/57844
543165
- backport some raw-string literal handling fixes (#981029,
543165
  PRs preprocessor/57757, preprocessor/57824)
543165
- improve convert_to_* (PR c++/56493)
543165
- tune for power7 on RHEL7
543165
543165
* Fri Jun 28 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-3
543165
- update from the 4.8 branch
543165
  - PRs c++/53211, c++/56544, driver/57652, libstdc++/57619, libstdc++/57666,
543165
	libstdc++/57674, rtl-optimization/57518, target/57623, target/57655,
543165
	tree-optimization/57358, tree-optimization/57537
543165
  - fix up gcc-{ar,nm,ranlib} (#974853, PR driver/57651)
543165
- fix two libitm HTM handling bugs (PR libitm/57643)
543165
- speed up __popcount[sdt]i2 library function (PR middle-end/36041)
543165
- backport power8 support from trunk (#731884, PR target/57615)
543165
- for Fedora 20+ test -fstack-protector-strong during %%check instead
543165
  of -fstack-protector
543165
543165
* Wed Jun 12 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-2
543165
- update from the 4.8 branch
543165
  - PRs fortran/57364, fortran/57508, target/56547, target/57379, target/57568
543165
- backport backwards compatible alignment ABI fixes (#947197, PR target/56564)
543165
- fix up widening multiplication vectorization on big-endian
543165
  (PR tree-optimization/57537)
543165
543165
* Mon Jun  3 2013 Jakub Jelinek <jakub@redhat.com> 4.8.1-1
543165
- update from the 4.8 branch
543165
  - GCC 4.8.1 release
543165
  - PRs c++/56930, c++/57319, fortran/57217, target/49146, target/56742
543165
- backport Intel Silvermont enablement and tuning from trunk
543165
- backport 3 small AMD improvement patches from trunk
543165
543165
* Sun May 26 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-8
543165
- update from the 4.8 branch
543165
  - std::chrono::steady_clock ABI fixes from 4.8.0-7
543165
543165
* Fri May 24 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-7
543165
- update from the 4.8 branch
543165
  - PRs c++/57016, c++/57317, c++/57325, c++/57388, libffi/56033,
543165
	libstdc++/57336, middle-end/57344, middle-end/57347, plugins/56754,
543165
	rtl-optimization/57341, target/56732, target/57356,
543165
	tree-optimization/57303, tree-optimization/57318,
543165
	tree-optimization/57321, tree-optimization/57330, tree-ssa/57385
543165
  - std::chrono::steady_clock now really steady
543165
543165
* Fri May 17 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-6
543165
- update from the 4.8 branch
543165
  - PRs c++/56782, c++/56998, c++/57041, c++/57196, c++/57243, c++/57252,
543165
	c++/57253, c++/57254, c++/57274, c++/57279, middle-end/57251,
543165
	rtl-optimization/57281, rtl-optimization/57300, target/45359,
543165
	target/46396, target/57264
543165
- backport color diagnostics support from trunk, enable with
543165
  -fdiagnostics-color=auto, -fdiagnostics-color=always or
543165
  having non-empty GCC_COLORS variable in environment
543165
- backport -fstack-protector-strong support from trunk
543165
543165
* Fri May 10 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-5
543165
- update from the 4.8 branch
543165
  - PRs bootstrap/54281, bootstrap/54659, c++/57047, c++/57068, c++/57222,
543165
	fortran/57142, libstdc++/57212, middle-end/56988, target/55033,
543165
	target/57237, tree-optimization/57200, tree-optimization/57214
543165
- fix up strlen pass (PR tree-optimization/57230)
543165
543165
* Tue May  7 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-4
543165
- update from the 4.8 branch
543165
  - PRs ada/56474, c++/50261, c++/56450, c++/56859, c++/56970, c++/57064,
543165
	c++/57092, c++/57183, debug/57184, fortran/51825, fortran/52512,
543165
	fortran/53685, fortran/56786, fortran/56814, fortran/56872,
543165
	fortran/56968, fortran/57022, libfortran/51825, libfortran/52512,
543165
	libfortran/56786, libstdc++/57010, middle-end/57103,
543165
	rtl-optimization/56605, rtl-optimization/56847,
543165
	rtl-optimization/57003, rtl-optimization/57130,
543165
	rtl-optimization/57131, rtl-optimizations/57046, sanitizer/56990,
543165
	target/44578, target/55445, target/56797, target/56866, target/57018,
543165
	target/57091, target/57097, target/57098, target/57106, target/57108,
543165
	target/57150, tree-optimization/57051, tree-optimization/57066,
543165
	tree-optimization/57083, tree-optimization/57104,
543165
	tree-optimization/57149, tree-optimization/57185
543165
  - fix gcj with -fsection-anchors (#952673, PR libgcj/57074)
543165
- enable libitm on s390{,x}
543165
- error when linking with both -fsanitize=address and -fsanitize=thread
543165
  (#957778)
543165
543165
* Fri Apr 19 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-3
543165
- update from the 4.8 branch
543165
  - PRs c++/56388, fortran/56816, fortran/56994, rtl-optimization/56992,
543165
	target/56890, target/56903, target/56948, tree-optimization/56962,
543165
	tree-optimization/56984
543165
- fix up LRA caused miscompilation of xulrunner on i?86
543165
  (#949553, PR rtl-optimization/56999)
543165
- reassoc fix for -Ofast -frounding-math (PR tree-optimization/57000)
543165
543165
* Fri Apr 12 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-2
543165
- update from the 4.8 branch
543165
  - PRs c++/35722, c++/45282, c++/52014, c++/52374, c++/52748, c++/54277,
543165
	c++/54359, c++/54764, c++/55532, c++/55951, c++/55972, c++/56039,
543165
	c++/56447, c++/56582, c++/56646, c++/56692, c++/56699, c++/56722,
543165
	c++/56728, c++/56749, c++/56772, c++/56774, c++/56793, c++/56794,
543165
	c++/56821, c++/56895, c++/56913, debug/56819, fortran/54932,
543165
	fortran/56696, fortran/56735, fortran/56737, fortran/56782,
543165
	libstdc++/55977, libstdc++/55979, libstdc++/56002, libstdc++/56678,
543165
	libstdc++/56834, lto/56777, middle-end/56694, middle-end/56768,
543165
	middle-end/56883, other/55274, rtl-optimization/48182,
543165
	rtl-optimization/56745, sanitizer/55702, target/54805, target/55487,
543165
	target/56560, target/56720, target/56771, tree-optimization/48184,
543165
	tree-optimization/48186, tree-optimization/48762,
543165
	tree-optimization/56407, tree-optimization/56501,
543165
	tree-optimization/56817, tree-optimization/56837,
543165
	tree-optimization/56899, tree-optimization/56918,
543165
	tree-optimization/56920
543165
543165
* Fri Mar 22 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-1
543165
- update from the 4.8 branch
543165
  - GCC 4.8.0 release
543165
  - PRs c++/56607, other/43620
543165
  - fix length in .debug_aranges in some cases
543165
- improve debug info for optimized away global vars (PR debug/56608)
543165
- don't warn about signed 1-bit enum bitfields containing values 0 and -1
543165
  or just -1 (PR c/56566)
543165
543165
* Wed Mar 20 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.18
543165
- update from the 4.8 branch
543165
  - PRs libstdc++/56468, target/56640, tree-optimization/56635,
543165
	tree-optimization/56661
543165
- package libasan_preinit.o
543165
543165
* Sat Mar 16 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.17
543165
- update from trunk and the 4.8 branch
543165
  - PRs ada/52123, c++/51412, c++/51494, c++/51884, c++/52183, c++/56222,
543165
	c++/56346, c++/56565, c++/56567, c++/56611, c++/56614, debug/56307,
543165
	fortran/56575, fortran/56615, libstdc++/56492, libstdc++/56609,
543165
	libstdc++/56613, lto/56557, middle-end/56524, middle-end/56571,
543165
	target/40797, target/49880, target/56470, target/56591, target/56619,
543165
	testsuite/54119, tree-optimization/53265, tree-optimization/56478,
543165
	tree-optimization/56570, tree-optimization/56608
543165
543165
* Thu Mar  7 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.16
543165
- updated from trunk
543165
  - PRs bootstrap/56509, c++/54383, c++/55135, c++/56464, c++/56530,
543165
	c++/56534, c++/56543, debug/55364, debug/56510, libquadmath/55473,
543165
	lto/50293, lto/56515, middle-end/50494, middle-end/56294,
543165
	middle-end/56525, middle-end/56526, middle-end/56548,
543165
	rtl-optimization/56484, rtl-optimization/56494, target/56529,
543165
	tree-optimization/56270, tree-optimization/56521,
543165
	tree-optimization/56539, tree-optimization/56559
543165
  - include arm-cores.def in gcc-python-plugin on arm (#910926)
543165
- include vxworks-dummy.h in gcc-python-plugin where needed (PR plugins/45078)
543165
543165
* Mon Mar  4 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.15
543165
- updated from trunk
543165
  - PRs c++/10291, c++/40405, c++/52688, c++/55632, c++/55813, c++/56243,
543165
	c++/56358, c++/56359, c++/56377, c++/56395, c++/56403, c++/56419,
543165
	c++/56438, c++/56481, fortran/54730, fortran/56385, fortran/56416,
543165
	fortran/56477, fortran/56491, libfortran/30162, libstdc++/56011,
543165
	libstdc++/56012, middle-end/45472, middle-end/56077,
543165
	middle-end/56108, middle-end/56420, middle-end/56461,
543165
	rtl-optimization/50339, rtl-optimization/56466, sanitizer/56393,
543165
	sanitizer/56454, target/48901, target/52500, target/52501,
543165
	target/52550, target/54639, target/54640, target/54662, target/56444,
543165
	target/56445, target/56455, testsuite/52641, tree-optimization/55481,
543165
	tree-optimization/56175, tree-optimization/56294,
543165
	tree-optimization/56310, tree-optimization/56415,
543165
	tree-optimization/56426, tree-optimization/56443,
543165
	tree-optimization/56448
543165
- fnsplit fix (PR tree-optimization/56424)
543165
543165
* Wed Feb 20 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.14
543165
- updated from trunk
543165
  - PRs asan/56330, c++/51242, c++/54276, c++/56373, libquadmath/56379,
543165
	middle-end/55889, middle-end/56349, pch/54117,
543165
	rtl-optimization/56348, target/52555, target/54685, target/56214,
543165
	target/56347, tree-optimization/55334, tree-optimization/56321,
543165
	tree-optimization/56350, tree-optimization/56366,
543165
	tree-optimization/56381, tree-optimization/56384,
543165
	tree-optimization/56396, tree-optimization/56398
543165
- add BuildRequires: /usr/bin/pod2man to fix man pages generation
543165
- don't ICE on bogus inline asm in kernel (#912857, PR inline-asm/56405)
543165
- fix up info page building with texinfo 5.0 (PR bootstrap/56258)
543165
- devirtualization ICE fix (PR tree-optimization/56265)
543165
543165
* Fri Feb 15 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.13
543165
- updated from trunk
543165
  - PRs bootstrap/56327, c++/52026, c++/54922, c++/55003, c++/55220,
543165
	c++/55223, c++/55232, c++/55582, c++/55670, c++/55680, c++/56323,
543165
	c++/56343, fortran/53818, fortran/56224, fortran/56318,
543165
	libstdc++/56111, lto/50494, target/55431, target/55941,
543165
	testsuite/56138
543165
- asan fixes (PR sanitizer/56330)
543165
- asan speedup - use 0x7fff8000 shadow offset instead of 1LL << 44 on
543165
  x86_64
543165
543165
* Wed Feb 13 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.12
543165
- updated from trunk
543165
  - PRs c++/55710, c++/55879, c++/55993, c++/56135, c++/56155, c++/56285,
543165
	c++/56291, c/44938, fortran/46952, fortran/56204, inline-asm/56148,
543165
	libitm/55693, lto/56295, lto/56297, middle-end/56288,
543165
	sanitizer/56128, target/52122, testsuite/56082
543165
  - fix IRA bug that caused reload ICE on ARM (#910153, target/56184)
543165
  - attempt harder to fold "n" constrainted asm input operands in C++
543165
    with -O0 (#910421, c++/56302)
543165
543165
* Mon Feb 11 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.11
543165
- updated from trunk
543165
  - PRs c++/56238, c++/56247, c++/56268, fortran/55362, libstdc++/56267,
543165
	libstdc++/56278, libstdc++/56282, rtl-optimization/56246,
543165
	rtl-optimization/56275, target/56043, tree-optimization/56264,
543165
	tree-optimization/56273
543165
- improve expansion of mem1 op= mem2 (PR rtl-optimization/56151)
543165
543165
* Fri Feb  8 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.10
543165
- updated from trunk
543165
  - PRs bootstrap/56227, c++/56235, c++/56237, c++/56239, c++/56241,
543165
	debug/53363, fortran/54339, fortran/55789, libstdc++/56193,
543165
	libstdc++/56216, lto/56231, middle-end/56181,
543165
	rtl-optimization/56195, rtl-optimization/56225, target/50678,
543165
	target/54009, target/54131, tree-optimization/56250
543165
  - fix Ada frontend miscompilation with profiledbootstrap (#906516,
543165
    PR rtl-optimization/56178)
543165
- restore parsing of ppc inline asm dialects (#909298, PR target/56256)
543165
- fix up libiberty old regex (PR other/56245)
543165
- fix IRA -O0 -g code debug regression (PR debug/53948)
543165
543165
* Wed Feb  6 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.9
543165
- updated from trunk
543165
  - PRs c++/54122, c++/56177, c++/56208, debug/54793, fortran/47517,
543165
	fortran/50627, fortran/54195, fortran/56008, fortran/56054,
543165
	libstdc++/56202, lto/56168, middle-end/56113, middle-end/56167,
543165
	middle-end/56217, rtl-optimization/56131, sanitizer/55617,
543165
	target/52123, target/54601, target/55146, target/56186,
543165
	tree-optimization/53185, tree-optimization/53342,
543165
	tree-optimization/54386, tree-optimization/55789,
543165
	tree-optimization/56188
543165
  - fix up stdarg pass (PR tree-optimization/56205, #906367)
543165
  - remove unused thread_local bitfield (#907882)
543165
- fix cselim pass on calls that might free memory (PR tree-optimization/52448)
543165
- fix libgfortran internal_pack (PR fortran/55978)
543165
- fix up .debug_loc for first function in CU, if it contains empty ranges
543165
  at the beginning of the function (PR debug/56154, #904252)
543165
- fix ppc64 indirect calls (PR target/56228, #908388)
543165
543165
* Thu Jan 31 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.8
543165
- updated from trunk
543165
  - PRs c++/56162, debug/54410, debug/54508, debug/55059, fortran/54107,
543165
	fortran/56138, libgomp/55561, libstdc++/54314, lto/56147,
543165
	middle-end/53073, other/53413, other/54620, rtl-optimization/56144,
543165
	sanitizer/55374, target/39064, target/56121, tree-optimization/55270,
543165
	tree-optimization/56064, tree-optimization/56113,
543165
	tree-optimization/56150, tree-optimization/56157
543165
543165
* Tue Jan 29 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.7
543165
- updated from trunk
543165
  - PRs c++/56095, c++/56104, c/56078, fortran/53537, fortran/55984,
543165
	fortran/56047, inline-asm/55934, libstdc++/56085, libstdc++/56112,
543165
	other/54814, other/56076, rtl-optimization/56117, target/54663,
543165
	target/56114, testsuite/56053, tree-optimization/55927,
543165
	tree-optimization/56034, tree-optimization/56035,
543165
	tree-optimization/56094, tree-optimization/56098,
543165
	tree-optimization/56125
543165
543165
* Thu Jan 24 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.6
543165
- updated from trunk
543165
  - PRs c++/53609, c++/55944, c++/56067, c++/56071, fortran/56081,
543165
	libgomp/51376, libgomp/56073, libquadmath/56072, middle-end/56074,
543165
	sanitizer/55989, target/49069, target/54222, target/55686,
543165
	target/56028
543165
- update TeX related BuildRequires (#891460)
543165
543165
* Tue Jan 22 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.5
543165
- updated from trunk
543165
  - PRs c++/56059, fortran/55919, rtl-optimization/56023,
543165
	tree-optimization/56051
543165
- fix up cloog dlopen patches for upgrade to cloog-0.18.0
543165
- fix Fortran OpenMP OOP ICE (PR fortran/56052)
543165
543165
* Mon Jan 21 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.4
543165
- updated from trunk
543165
  - PRs ada/864, bootstrap/55792, bootstrap/55961, c++/52343, c++/55663,
543165
	c++/55753, c++/55801, c++/55878, c++/55893, c/48418, debug/49888,
543165
	debug/53235, debug/53671, debug/54114, debug/54402, debug/55579,
543165
	debug/56006, driver/55470, driver/55884, fortran/42769, fortran/45836,
543165
	fortran/45900, fortran/47203, fortran/52865, fortran/53876,
543165
	fortran/54286, fortran/54678, fortran/54990, fortran/54992,
543165
	fortran/55072, fortran/55341, fortran/55618, fortran/55758,
543165
	fortran/55763, fortran/55806, fortran/55852, fortran/55868,
543165
	fortran/55935, fortran/55983, libmudflap/53359, libstdc++/51007,
543165
	libstdc++/55043, libstdc++/55233, libstdc++/55594, libstdc++/55728,
543165
	libstdc++/55847, libstdc++/55861, libstdc++/55908, lto/45375,
543165
	middle-end/55114, middle-end/55851, middle-end/55882,
543165
	middle-end/55890, middle-end/56015, other/55973, other/55982,
543165
	rtl-optimization/52573, rtl-optimization/53827,
543165
	rtl-optimization/55153, rtl-optimization/55547,
543165
	rtl-optimization/55672, rtl-optimization/55829,
543165
	rtl-optimization/55833, rtl-optimization/55845,
543165
	rtl-optimization/56005, sanitizer/55488, sanitizer/55679,
543165
	sanitizer/55844, target/42661, target/43961, target/54461,
543165
	target/54908, target/55301, target/55433, target/55565,
543165
	target/55718, target/55719, target/55876, target/55897,
543165
	target/55940, target/55948, target/55974, target/55981,
543165
	target/56058, testsuite/54622, testsuite/55994,
543165
	tree-optimization/44061, tree-optimization/48189,
543165
	tree-optimization/48766, tree-optimization/52631,
543165
	tree-optimization/53465, tree-optimization/54120,
543165
	tree-optimization/54767, tree-optimization/55273,
543165
	tree-optimization/55569, tree-optimization/55823,
543165
	tree-optimization/55862, tree-optimization/55875,
543165
	tree-optimization/55888, tree-optimization/55920,
543165
	tree-optimization/55921, tree-optimization/55955,
543165
	tree-optimization/55964, tree-optimization/55995,
543165
	tree-optimization/56029, tree-optimization/55264
543165
- fix up multiversioning (PR c++/55742)
543165
- fix up ICE with target attribute (PR middle-end/56022)
543165
- update isl to 0.11.1 and cloog to 0.18.0
543165
543165
* Sun Jan  6 2013 Jakub Jelinek <jakub@redhat.com> 4.8.0-0.3
543165
- new package