Blame SPECS/mingw-gcc.spec

b1574e
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
b1574e
b1574e
# Set this to one when mingw-crt isn't built yet
b1574e
%global bootstrap 0
b1574e
b1574e
# C++11 threads requires winpthreads so this can only be enabled once winpthreads is built
b1574e
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
b1574e
%global enable_winpthreads 1
b1574e
%else
b1574e
%global enable_winpthreads 0
b1574e
%endif
b1574e
b1574e
# Libgomp requires pthreads-w32 or winpthreads so this can only be
b1574e
# enabled once pthreads-w32 or winpthreads is built. If enable_libgomp
b1574e
# is set to 1 and enable_winpthreads is set to 0 then pthreads-w32 will
b1574e
# be used as pthreads implementation
b1574e
%global enable_libgomp 1
b1574e
b1574e
# Run the testsuite
b1574e
%global enable_tests 0
b1574e
b1574e
# If enabled, build from a snapshot
b1574e
#global snapshot_date 20170212
b1574e
#global snapshot_rev 245378
b1574e
b1574e
# When building from a snapshot the name of the source folder is different
b1574e
%if 0%{?snapshot_date}
b1574e
%global source_folder gcc-7-%{snapshot_date}
b1574e
%else
b1574e
%global source_folder gcc-%{version}
b1574e
%endif
b1574e
b1574e
Name:           mingw-gcc
b1574e
Version:        7.2.0
b1574e
Release:        2%{?snapshot_date:.svn.%{snapshot_date}.r%{snapshot_rev}}%{?dist}
b1574e
Summary:        MinGW Windows cross-compiler (GCC) for C
b1574e
b1574e
License:        GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
b1574e
URL:            http://gcc.gnu.org
b1574e
%if 0%{?snapshot_date}
b1574e
Source0:        ftp://ftp.nluug.nl/mirror/languages/gcc/snapshots/7-%{snapshot_date}/gcc-7-%{snapshot_date}.tar.bz2
b1574e
%else
b1574e
Source0:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
b1574e
%endif
b1574e
b1574e
BuildRequires:  texinfo
b1574e
BuildRequires:  mingw32-filesystem >= 95
b1574e
BuildRequires:  mingw64-filesystem >= 95
b1574e
BuildRequires:  mingw32-binutils
b1574e
BuildRequires:  mingw64-binutils
b1574e
BuildRequires:  mingw32-headers
b1574e
BuildRequires:  mingw64-headers
b1574e
BuildRequires:  gmp-devel
b1574e
BuildRequires:  mpfr-devel
b1574e
BuildRequires:  libmpc-devel
b1574e
BuildRequires:  libgomp
b1574e
BuildRequires:  flex
b1574e
BuildRequires:  zlib-devel
b1574e
%if 0%{?fedora} > 0
b1574e
%if 0%{?fedora} >= 21
b1574e
BuildRequires:  cloog-devel
b1574e
%else
b1574e
BuildRequires:  cloog-ppl cloog-ppl-devel
b1574e
%endif
b1574e
%endif
b1574e
%if 0%{bootstrap} == 0
b1574e
BuildRequires:  mingw32-crt
b1574e
BuildRequires:  mingw64-crt
b1574e
%if 0%{enable_winpthreads}
b1574e
BuildRequires:  mingw32-winpthreads
b1574e
BuildRequires:  mingw64-winpthreads
b1574e
%else
b1574e
%if 0%{enable_libgomp}
b1574e
BuildRequires:  mingw32-pthreads
b1574e
BuildRequires:  mingw64-pthreads
b1574e
%endif
b1574e
%endif
b1574e
%if 0%{enable_tests}
b1574e
BuildRequires:  wine
b1574e
BuildRequires:  autogen
b1574e
BuildRequires:  dejagnu
b1574e
BuildRequires:  sharutils
b1574e
%endif
b1574e
%endif
b1574e
Provides: bundled(libiberty)
b1574e
ExclusiveArch: %{ix86} x86_64
b1574e
b1574e
%description
b1574e
MinGW Windows cross-compiler (GCC) for C.
b1574e
b1574e
###############################################################################
b1574e
# Mingw32
b1574e
###############################################################################
b1574e
%package -n mingw32-gcc
b1574e
Summary:        MinGW Windows cross-compiler (GCC) for C for the win32 target
b1574e
Requires:       mingw32-binutils
b1574e
Requires:       mingw32-headers
b1574e
Requires:       mingw32-cpp
b1574e
%if 0%{bootstrap} == 0
b1574e
Requires:       mingw32-crt
b1574e
%endif
b1574e
b1574e
# The RPM version used by RHEL6 can't automatically add the
b1574e
# correct provides tags during the build so we add these manually
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw32(libgcc_s_sjlj-1.dll)
b1574e
Provides:       mingw32(libssp-0.dll)
b1574e
Provides:       mingw32(libquadmath-0.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw32-gcc
b1574e
MinGW Windows cross-compiler (GCC) for C for the win32 target.
b1574e
b1574e
%package -n mingw32-cpp
b1574e
Summary:        MinGW Windows cross-C Preprocessor for the win32 target
b1574e
b1574e
# NB: Explicit mingw32-filesystem dependency is REQUIRED here.
b1574e
Requires:       mingw32-filesystem >= 95
b1574e
b1574e
%description -n mingw32-cpp
b1574e
MinGW Windows cross-C Preprocessor for the win32 target.
b1574e
b1574e
%package -n mingw32-gcc-c++
b1574e
Summary:        MinGW Windows cross-compiler for C++ for the win32 target
b1574e
Requires:       mingw32-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw32(libstdc++-6.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw32-gcc-c++
b1574e
MinGW Windows cross-compiler for C++ for the win32 target.
b1574e
b1574e
%package -n mingw32-gcc-objc
b1574e
Summary:        MinGW Windows cross-compiler support for Objective C for the win32 target
b1574e
Requires:       mingw32-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw32(libobjc-4.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw32-gcc-objc
b1574e
MinGW Windows cross-compiler support for Objective C for the win32 target.
b1574e
b1574e
%package -n mingw32-gcc-objc++
b1574e
Summary:        MinGW Windows cross-compiler support for Objective C++ for the win32 target
b1574e
Requires:       mingw32-gcc-c++ = %{version}-%{release}
b1574e
Requires:       mingw32-gcc-objc = %{version}-%{release}
b1574e
b1574e
%description -n mingw32-gcc-objc++
b1574e
MinGW Windows cross-compiler support for Objective C++ for the win32 target.
b1574e
b1574e
%package -n mingw32-gcc-gfortran
b1574e
Summary:        MinGW Windows cross-compiler for FORTRAN for the win32 target
b1574e
Requires:       mingw32-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw32(libgfortran-4.dll)
b1574e
Requires:       mingw32(libquadmath-0.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw32-gcc-gfortran
b1574e
MinGW Windows cross-compiler for FORTRAN for the win32 target.
b1574e
b1574e
%if 0%{enable_libgomp}
b1574e
%package -n mingw32-libgomp
b1574e
Summary:        GCC OpenMP v3.0 shared support library for the win32 target
b1574e
Requires:       mingw32-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{?rhel} == 6
b1574e
# libgomp dll is linked with pthreads, but since we don't run the
b1574e
# automatic dependency scripts, it doesn't get picked up automatically.
b1574e
Requires:       mingw32-pthreads
b1574e
Provides:       mingw32(libgomp-1.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw32-libgomp
b1574e
This package contains GCC shared support library which is
b1574e
needed for OpenMP v3.0 support for the win32 target.
b1574e
%endif
b1574e
b1574e
###############################################################################
b1574e
# Mingw64
b1574e
###############################################################################
b1574e
%package -n mingw64-gcc
b1574e
Summary:        MinGW Windows cross-compiler (GCC) for C for the win64 target
b1574e
Requires:       mingw64-binutils
b1574e
Requires:       mingw64-headers
b1574e
Requires:       mingw64-cpp
b1574e
%if 0%{bootstrap} == 0
b1574e
Requires:       mingw64-crt
b1574e
%endif
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw64(libgcc_s_seh-1.dll)
b1574e
Provides:       mingw64(libssp-0.dll)
b1574e
Provides:       mingw64(libquadmath-0.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw64-gcc
b1574e
MinGW Windows cross-compiler (GCC) for C for the win64 target.
b1574e
b1574e
%package -n mingw64-cpp
b1574e
Summary:        MinGW Windows cross-C Preprocessor for the win64 target.
b1574e
b1574e
# NB: Explicit mingw64-filesystem dependency is REQUIRED here.
b1574e
Requires:       mingw64-filesystem >= 95
b1574e
b1574e
%description -n mingw64-cpp
b1574e
MinGW Windows cross-C Preprocessor for the win64 target
b1574e
b1574e
%package -n mingw64-gcc-c++
b1574e
Summary:        MinGW Windows cross-compiler for C++ for the win64 target
b1574e
Requires:       mingw64-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw64(libstdc++-6.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw64-gcc-c++
b1574e
MinGW Windows cross-compiler for C++ for the win64 target.
b1574e
b1574e
%package -n mingw64-gcc-objc
b1574e
Summary:        MinGW Windows cross-compiler support for Objective C for the win64 target
b1574e
Requires:       mingw64-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw64(libobjc-4.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw64-gcc-objc
b1574e
MinGW Windows cross-compiler support for Objective C for the win64 target.
b1574e
b1574e
%package -n mingw64-gcc-objc++
b1574e
Summary:        MinGW Windows cross-compiler support for Objective C++ for the win64 target
b1574e
Requires:       mingw64-gcc-c++ = %{version}-%{release}
b1574e
Requires:       mingw64-gcc-objc = %{version}-%{release}
b1574e
b1574e
%description -n mingw64-gcc-objc++
b1574e
MinGW Windows cross-compiler support for Objective C++ for the win64 target.
b1574e
b1574e
%package -n mingw64-gcc-gfortran
b1574e
Summary:        MinGW Windows cross-compiler for FORTRAN for the win64 target
b1574e
Requires:       mingw64-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
Provides:       mingw64(libgfortran-4.dll)
b1574e
Requires:       mingw64(libquadmath-0.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw64-gcc-gfortran
b1574e
MinGW Windows cross-compiler for FORTRAN for the win64 target.
b1574e
b1574e
%if 0%{enable_libgomp}
b1574e
%package -n mingw64-libgomp
b1574e
Summary:        GCC OpenMP v3.0 shared support library for the win64 target
b1574e
Requires:       mingw64-gcc = %{version}-%{release}
b1574e
b1574e
%if 0%{bootstrap} == 0 && 0%{?rhel} == 6
b1574e
# libgomp dll is linked with pthreads, but since we don't run the
b1574e
# automatic dependency scripts, it doesn't get picked up automatically.
b1574e
Requires:       mingw64-pthreads
b1574e
Provides:       mingw64(libgomp-1.dll)
b1574e
%endif
b1574e
b1574e
%description -n mingw64-libgomp
b1574e
This package contains GCC shared support library which is
b1574e
needed for OpenMP v3.0 support for the win32 target.
b1574e
%endif
b1574e
b1574e
b1574e
%prep
b1574e
%setup -q -n %{source_folder}
b1574e
echo 'Fedora MinGW %{version}-%{release}' > gcc/DEV-PHASE
b1574e
b1574e
b1574e
%build
b1574e
# Default configure arguments
b1574e
configure_args="\
b1574e
    --prefix=%{_prefix} \
b1574e
    --bindir=%{_bindir} \
b1574e
    --includedir=%{_includedir} \
b1574e
    --mandir=%{_mandir} \
b1574e
    --infodir=%{_infodir} \
b1574e
    --datadir=%{_datadir} \
b1574e
    --build=%_build --host=%_host \
b1574e
    --with-gnu-as --with-gnu-ld --verbose \
b1574e
    --without-newlib \
b1574e
    --disable-multilib \
b1574e
    --disable-plugin \
b1574e
    --with-system-zlib \
b1574e
    --disable-nls --without-included-gettext \
b1574e
    --disable-win32-registry \
b1574e
    --enable-languages="c,c++,objc,obj-c++,fortran" \
b1574e
%if 0%{?fedora} == 22
b1574e
    --with-default-libstdcxx-abi=c++98 \
b1574e
%endif
b1574e
    --with-bugurl=http://bugzilla.redhat.com/bugzilla"
b1574e
b1574e
# PPL/CLOOG optimalisations are only available on Fedora
b1574e
%if 0%{?fedora}
b1574e
configure_args="$configure_args --with-cloog"
b1574e
%endif
b1574e
b1574e
# When bootstrapping, disable LTO support as it causes errors while building any binary
b1574e
# $ i686-w64-mingw32-gcc -o conftest    conftest.c  >&5
b1574e
# i686-w64-mingw32-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
b1574e
%if 0%{bootstrap}
b1574e
configure_args="$configure_args --disable-lto"
b1574e
%endif
b1574e
b1574e
%if 0%{enable_winpthreads}
b1574e
configure_args="$configure_args --enable-threads=posix"
b1574e
%endif
b1574e
b1574e
%if 0%{enable_libgomp}
b1574e
configure_args="$configure_args --enable-libgomp"
b1574e
%endif
b1574e
b1574e
# The %%configure macro can't be used for out of source builds
b1574e
# without overriding other variables and causes unwanted side
b1574e
# effects so make sure the right compiler flags are used
b1574e
export CC="%{__cc} ${RPM_OPT_FLAGS}"
b1574e
b1574e
# Win32
b1574e
mkdir build_win32
b1574e
pushd build_win32
b1574e
    ../configure $configure_args --target=%{mingw32_target} --with-sysroot=%{mingw32_sysroot} --with-gxx-include-dir=%{mingw32_includedir}/c++
b1574e
popd
b1574e
b1574e
# Win64
b1574e
mkdir build_win64
b1574e
pushd build_win64
b1574e
    ../configure $configure_args --target=%{mingw64_target} --with-sysroot=%{mingw64_sysroot} --with-gxx-include-dir=%{mingw64_includedir}/c++
b1574e
popd
b1574e
b1574e
# If we're bootstrapping, only build the GCC core
b1574e
%if 0%{bootstrap}
b1574e
%mingw_make %{?_smp_mflags} all-gcc
b1574e
%else
b1574e
%mingw_make %{?_smp_mflags} all
b1574e
%endif
b1574e
b1574e
b1574e
%if 0%{enable_tests}
b1574e
%check
b1574e
# Win32
b1574e
# Create a seperate wine prefix
b1574e
export WINEPREFIX=/tmp/.wine_gcc_testsuite
b1574e
rm -rf $WINEPREFIX
b1574e
mkdir $WINEPREFIX
b1574e
b1574e
# The command below will fail, but that's intentional
b1574e
# We only have to call a wine binary which triggers
b1574e
# the generation and population of a wine prefix
b1574e
winecfg || :
b1574e
b1574e
# Copy the GCC DLL's inside the wine prefix
b1574e
SYSTEM32_DIR=$WINEPREFIX/drive_c/windows/syswow64
b1574e
if [ ! -d $SYSTEM32_DIR ] ; then
b1574e
    SYSTEM32_DIR=$WINEPREFIX/drive_c/windows/system32
b1574e
fi
b1574e
cp build_win32/i686-w64-mingw32/libquadmath/.libs/libquadmath-0.dll $SYSTEM32_DIR
b1574e
cp build_win32/i686-w64-mingw32/libgfortran/.libs/libgfortran-4.dll $SYSTEM32_DIR
b1574e
cp build_win32/i686-w64-mingw32/libobjc/.libs/libobjc-4.dll $SYSTEM32_DIR
b1574e
cp build_win32/i686-w64-mingw32/libssp/.libs/libssp-0.dll $SYSTEM32_DIR
b1574e
cp build_win32/i686-w64-mingw32/libstdc++-v3/src/.libs/libstdc++-6.dll $SYSTEM32_DIR
b1574e
cp build_win32/i686-w64-mingw32/libgcc/shlib/libgcc_s_sjlj-1.dll $SYSTEM32_DIR
b1574e
%if 0%{enable_libgomp}
b1574e
%if 0%{enable_winpthreads}
b1574e
cp %{mingw32_bindir}/libwinpthread-1.dll $SYSTEM32_DIR
b1574e
%else
b1574e
cp %{mingw32_bindir}/pthreadGC2.dll $SYSTEM32_DIR
b1574e
%endif
b1574e
cp build_win32/i686-w64-mingw32/libgomp/.libs/libgomp-1.dll $SYSTEM32_DIR
b1574e
%endif
b1574e
b1574e
SYSTEM64_DIR=$WINEPREFIX/drive_c/windows/system32
b1574e
cp build_win64/x86_64-w64-mingw32/libquadmath/.libs/libquadmath-0.dll $SYSTEM64_DIR
b1574e
cp build_win64/x86_64-w64-mingw32/libgfortran/.libs/libgfortran-4.dll $SYSTEM64_DIR
b1574e
cp build_win64/x86_64-w64-mingw32/libobjc/.libs/libobjc-4.dll $SYSTEM64_DIR
b1574e
cp build_win64/x86_64-w64-mingw32/libssp/.libs/libssp-0.dll $SYSTEM64_DIR
b1574e
cp build_win64/x86_64-w64-mingw32/libstdc++-v3/src/.libs/libstdc++-6.dll $SYSTEM64_DIR
b1574e
cp build_win64/x86_64-w64-mingw32/libgcc/shlib/libgcc_s_seh-1.dll $SYSTEM64_DIR
b1574e
%if 0%{enable_libgomp}
b1574e
%if 0%{enable_winpthreads}
b1574e
cp %{mingw64_bindir}/libwinpthread-1.dll $SYSTEM64_DIR
b1574e
%else
b1574e
cp %{mingw64_bindir}/pthreadGC2.dll $SYSTEM64_DIR
b1574e
%endif
b1574e
cp build_win64/x86_64-w64-mingw32/libgomp/.libs/libgomp-1.dll $SYSTEM64_DIR
b1574e
%endif
b1574e
b1574e
# According to Kai Tietz (of the mingw-w64 project) it's recommended
b1574e
# to set the environment variable GCOV_PREFIX_STRIP
b1574e
export GCOV_PREFIX_STRIP=1000
b1574e
b1574e
# Run the testsuite
b1574e
# Code taken from the native Fedora GCC package to collect testsuite results
b1574e
pushd build_win32
b1574e
    make -k check %{?_smp_mflags} || :
b1574e
    echo ====================TESTING WIN32=========================
b1574e
    ( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
b1574e
    echo ====================TESTING WIN32 END=====================
b1574e
    mkdir testlogs-%{mingw32_target}-%{version}-%{release}
b1574e
    for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
b1574e
        ln $i testlogs-%{mingw32_target}-%{version}-%{release}/ || :
b1574e
    done
b1574e
    tar cf - testlogs-%{mingw32_target}-%{version}-%{release} | bzip2 -9c \
b1574e
        | uuencode testlogs-%{mingw32_target}.tar.bz2 || :
b1574e
    rm -rf testlogs-%{mingw32_target}-%{version}-%{release}
b1574e
popd
b1574e
b1574e
pushd build_win64
b1574e
    make -k check %{?_smp_mflags} || :
b1574e
    echo ====================TESTING WIN64=========================
b1574e
    ( LC_ALL=C ../contrib/test_summary || : ) 2>&1 | sed -n '/^cat.*EOF/,/^EOF/{/^cat.*EOF/d;/^EOF/d;/^LAST_UPDATED:/d;p;}'
b1574e
    echo ====================TESTING WIN64 END=====================
b1574e
    mkdir testlogs-%{mingw64_target}-%{version}-%{release}
b1574e
    for i in `find . -name \*.log | grep -F testsuite/ | grep -v 'config.log\|acats.*/tests/'`; do
b1574e
        ln $i testlogs-%{mingw64_target}-%{version}-%{release}/ || :
b1574e
    done
b1574e
    tar cf - testlogs-%{mingw64_target}-%{version}-%{release} | bzip2 -9c \
b1574e
        | uuencode testlogs-%{mingw64_target}.tar.bz2 || :
b1574e
    rm -rf testlogs-%{mingw64_target}-%{version}-%{release}
b1574e
popd
b1574e
b1574e
%endif
b1574e
b1574e
b1574e
%install
b1574e
%if 0%{bootstrap}
b1574e
%mingw_make DESTDIR=$RPM_BUILD_ROOT install-gcc
b1574e
%else
b1574e
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
b1574e
%endif
b1574e
b1574e
# These files conflict with existing installed files.
b1574e
rm -rf $RPM_BUILD_ROOT%{_infodir}
b1574e
rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty*
b1574e
rm -f $RPM_BUILD_ROOT%{_mandir}/man7/*
b1574e
rm -rf $RPM_BUILD_ROOT%{_datadir}/gcc-%{version}/python
b1574e
b1574e
%if 0%{bootstrap} == 0
b1574e
# Move the DLL's manually to the correct location
b1574e
mkdir -p $RPM_BUILD_ROOT%{mingw32_bindir}
b1574e
mv    $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libatomic-1.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libgcc_s_sjlj-1.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libssp-0.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libstdc++-6.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libobjc-4.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libgfortran-4.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libquadmath-0.dll \
b1574e
%if 0%{enable_libgomp}
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/libgomp-1.dll \
b1574e
%endif
b1574e
      $RPM_BUILD_ROOT%{mingw32_bindir}
b1574e
b1574e
mkdir -p $RPM_BUILD_ROOT%{mingw64_bindir}
b1574e
mv    $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libatomic-1.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libgcc_s_seh-1.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libssp-0.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libstdc++-6.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libobjc-4.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libgfortran-4.dll \
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libquadmath-0.dll \
b1574e
%if 0%{enable_libgomp}
b1574e
      $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/libgomp-1.dll \
b1574e
%endif
b1574e
      $RPM_BUILD_ROOT%{mingw64_bindir}
b1574e
b1574e
# Various import libraries are placed in the wrong folder
b1574e
mkdir -p $RPM_BUILD_ROOT%{mingw32_libdir}
b1574e
mkdir -p $RPM_BUILD_ROOT%{mingw64_libdir}
b1574e
mv $RPM_BUILD_ROOT%{_prefix}/%{mingw32_target}/lib/* $RPM_BUILD_ROOT%{mingw32_libdir}
b1574e
mv $RPM_BUILD_ROOT%{_prefix}/%{mingw64_target}/lib/* $RPM_BUILD_ROOT%{mingw64_libdir}
b1574e
b1574e
# Don't want the *.la files.
b1574e
find $RPM_BUILD_ROOT -name '*.la' -delete
b1574e
b1574e
%endif
b1574e
b1574e
# For some reason there are wrapper libraries created named $target-$target-gcc-$tool
b1574e
# Drop those files for now as this looks like a bug in GCC
b1574e
rm -f $RPM_BUILD_ROOT%{_bindir}/%{mingw32_target}-%{mingw32_target}-*
b1574e
rm -f $RPM_BUILD_ROOT%{_bindir}/%{mingw64_target}-%{mingw64_target}-*
b1574e
b1574e
b1574e
%files -n mingw32-gcc
b1574e
%{_bindir}/%{mingw32_target}-gcc
b1574e
%{_bindir}/%{mingw32_target}-gcc-%{version}
b1574e
%{_bindir}/%{mingw32_target}-gcc-ar
b1574e
%{_bindir}/%{mingw32_target}-gcc-nm
b1574e
%{_bindir}/%{mingw32_target}-gcc-ranlib
b1574e
%{_bindir}/%{mingw32_target}-gcov
b1574e
%{_bindir}/%{mingw32_target}-gcov-dump
b1574e
%{_bindir}/%{mingw32_target}-gcov-tool
b1574e
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}
b1574e
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include-fixed
b1574e
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include
b1574e
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/install-tools
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include-fixed/README
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include-fixed/*.h
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/*.h
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/install-tools/*
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/collect2
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/lto-wrapper
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/install-tools
b1574e
%{_mandir}/man1/%{mingw32_target}-gcc.1*
b1574e
%{_mandir}/man1/%{mingw32_target}-gcov.1*
b1574e
%{_mandir}/man1/%{mingw32_target}-gcov-dump.1*
b1574e
%{_mandir}/man1/%{mingw32_target}-gcov-tool.1*
b1574e
b1574e
# Non-bootstrap files
b1574e
%if 0%{bootstrap} == 0
b1574e
%{mingw32_bindir}/libatomic-1.dll
b1574e
%{mingw32_bindir}/libgcc_s_sjlj-1.dll
b1574e
%{mingw32_bindir}/libssp-0.dll
b1574e
%{mingw32_libdir}/libatomic.a
b1574e
%{mingw32_libdir}/libatomic.dll.a
b1574e
%{mingw32_libdir}/libgcc_s.a
b1574e
%{mingw32_libdir}/libssp.a
b1574e
%{mingw32_libdir}/libssp.dll.a
b1574e
%{mingw32_libdir}/libssp_nonshared.a
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/crtbegin.o
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/crtend.o
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/crtfastmath.o
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libgcc.a
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libgcc_eh.a
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libgcov.a
b1574e
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/ssp
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/ssp/*.h
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/lto1
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/liblto_plugin.so
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/liblto_plugin.so.0
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/liblto_plugin.so.0.0.0
b1574e
%endif
b1574e
b1574e
%files -n mingw64-gcc
b1574e
%{_bindir}/%{mingw64_target}-gcc
b1574e
%{_bindir}/%{mingw64_target}-gcc-%{version}
b1574e
%{_bindir}/%{mingw64_target}-gcc-ar
b1574e
%{_bindir}/%{mingw64_target}-gcc-nm
b1574e
%{_bindir}/%{mingw64_target}-gcc-ranlib
b1574e
%{_bindir}/%{mingw64_target}-gcov
b1574e
%{_bindir}/%{mingw64_target}-gcov-dump
b1574e
%{_bindir}/%{mingw64_target}-gcov-tool
b1574e
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}
b1574e
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include-fixed
b1574e
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include
b1574e
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/install-tools
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include-fixed/README
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include-fixed/*.h
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/*.h
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/install-tools/*
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/collect2
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/lto-wrapper
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/install-tools
b1574e
%{_mandir}/man1/%{mingw64_target}-gcc.1*
b1574e
%{_mandir}/man1/%{mingw64_target}-gcov.1*
b1574e
%{_mandir}/man1/%{mingw64_target}-gcov-dump.1*
b1574e
%{_mandir}/man1/%{mingw64_target}-gcov-tool.1*
b1574e
b1574e
# Non-bootstrap files
b1574e
%if 0%{bootstrap} == 0
b1574e
%{mingw64_bindir}/libatomic-1.dll
b1574e
%{mingw64_bindir}/libgcc_s_seh-1.dll
b1574e
%{mingw64_bindir}/libssp-0.dll
b1574e
%{mingw64_libdir}/libatomic.a
b1574e
%{mingw64_libdir}/libatomic.dll.a
b1574e
%{mingw64_libdir}/libgcc_s.a
b1574e
%{mingw64_libdir}/libssp.a
b1574e
%{mingw64_libdir}/libssp.dll.a
b1574e
%{mingw64_libdir}/libssp_nonshared.a
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/crtbegin.o
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/crtend.o
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/crtfastmath.o
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libgcc.a
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libgcc_eh.a
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libgcov.a
b1574e
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/ssp
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/ssp/*.h
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/lto1
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/liblto_plugin.so
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/liblto_plugin.so.0
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/liblto_plugin.so.0.0.0
b1574e
%endif
b1574e
b1574e
%files -n mingw32-cpp
b1574e
%{_bindir}/%{mingw32_target}-cpp
b1574e
%{_mandir}/man1/%{mingw32_target}-cpp.1*
b1574e
%dir %{_prefix}/lib/gcc/%{mingw32_target}
b1574e
%dir %{_prefix}/lib/gcc/%{mingw32_target}/%{version}
b1574e
%dir %{_libexecdir}/gcc/%{mingw32_target}/%{version}
b1574e
%dir %{_libexecdir}/gcc/%{mingw32_target}
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1
b1574e
b1574e
%files -n mingw64-cpp
b1574e
%{_bindir}/%{mingw64_target}-cpp
b1574e
%{_mandir}/man1/%{mingw64_target}-cpp.1*
b1574e
%dir %{_prefix}/lib/gcc/%{mingw64_target}
b1574e
%dir %{_prefix}/lib/gcc/%{mingw64_target}/%{version}
b1574e
%dir %{_libexecdir}/gcc/%{mingw64_target}/%{version}
b1574e
%dir %{_libexecdir}/gcc/%{mingw64_target}
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1
b1574e
b1574e
%files -n mingw32-gcc-c++
b1574e
%{_bindir}/%{mingw32_target}-g++
b1574e
%{_bindir}/%{mingw32_target}-c++
b1574e
%{_mandir}/man1/%{mingw32_target}-g++.1*
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1plus
b1574e
b1574e
# Non-bootstrap files
b1574e
%if 0%{bootstrap} == 0
b1574e
%{mingw32_includedir}/c++/
b1574e
%{mingw32_bindir}/libstdc++-6.dll
b1574e
%{mingw32_libdir}/libstdc++.a
b1574e
%{mingw32_libdir}/libstdc++.dll.a
b1574e
%{mingw32_libdir}/libstdc++.dll.a-gdb.py
b1574e
%{mingw32_libdir}/libsupc++.a
b1574e
%endif
b1574e
b1574e
%files -n mingw64-gcc-c++
b1574e
%{_bindir}/%{mingw64_target}-g++
b1574e
%{_bindir}/%{mingw64_target}-c++
b1574e
%{_mandir}/man1/%{mingw64_target}-g++.1*
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1plus
b1574e
b1574e
# Non-bootstrap files
b1574e
%if 0%{bootstrap} == 0
b1574e
%{mingw64_includedir}/c++/
b1574e
%{mingw64_bindir}/libstdc++-6.dll
b1574e
%{mingw64_libdir}/libstdc++.a
b1574e
%{mingw64_libdir}/libstdc++.dll.a
b1574e
%{mingw64_libdir}/libstdc++.dll.a-gdb.py
b1574e
%{mingw64_libdir}/libsupc++.a
b1574e
%endif
b1574e
b1574e
%files -n mingw32-gcc-objc
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1obj
b1574e
%if 0%{bootstrap} == 0
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/include/objc/
b1574e
%{mingw32_bindir}/libobjc-4.dll
b1574e
%{mingw32_libdir}/libobjc.a
b1574e
%{mingw32_libdir}/libobjc.dll.a
b1574e
%endif
b1574e
b1574e
%files -n mingw64-gcc-objc
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1obj
b1574e
%if 0%{bootstrap} == 0
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/include/objc/
b1574e
%{mingw64_bindir}/libobjc-4.dll
b1574e
%{mingw64_libdir}/libobjc.a
b1574e
%{mingw64_libdir}/libobjc.dll.a
b1574e
%endif
b1574e
b1574e
%files -n mingw32-gcc-objc++
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/cc1objplus
b1574e
b1574e
%files -n mingw64-gcc-objc++
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/cc1objplus
b1574e
b1574e
%files -n mingw32-gcc-gfortran
b1574e
%{_bindir}/%{mingw32_target}-gfortran
b1574e
%{_mandir}/man1/%{mingw32_target}-gfortran.1*
b1574e
%{_libexecdir}/gcc/%{mingw32_target}/%{version}/f951
b1574e
%if 0%{bootstrap} == 0
b1574e
%{mingw32_bindir}/libgfortran-4.dll
b1574e
%{mingw32_bindir}/libquadmath-0.dll
b1574e
%{mingw32_libdir}/libgfortran.a
b1574e
%{mingw32_libdir}/libgfortran.dll.a
b1574e
%{mingw32_libdir}/libgfortran.spec
b1574e
%{mingw32_libdir}/libquadmath.a
b1574e
%{mingw32_libdir}/libquadmath.dll.a
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/libcaf_single.a
b1574e
%if 0%{enable_libgomp}
b1574e
%{_prefix}/lib/gcc/%{mingw32_target}/%{version}/finclude
b1574e
%endif
b1574e
%endif
b1574e
b1574e
%files -n mingw64-gcc-gfortran
b1574e
%{_bindir}/%{mingw64_target}-gfortran
b1574e
%{_mandir}/man1/%{mingw64_target}-gfortran.1*
b1574e
%{_libexecdir}/gcc/%{mingw64_target}/%{version}/f951
b1574e
%if 0%{bootstrap} == 0
b1574e
%{mingw64_bindir}/libgfortran-4.dll
b1574e
%{mingw64_bindir}/libquadmath-0.dll
b1574e
%{mingw64_libdir}/libgfortran.a
b1574e
%{mingw64_libdir}/libgfortran.dll.a
b1574e
%{mingw64_libdir}/libgfortran.spec
b1574e
%{mingw64_libdir}/libquadmath.a
b1574e
%{mingw64_libdir}/libquadmath.dll.a
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/libcaf_single.a
b1574e
%if 0%{enable_libgomp}
b1574e
%{_prefix}/lib/gcc/%{mingw64_target}/%{version}/finclude
b1574e
%endif
b1574e
%endif
b1574e
b1574e
%if 0%{enable_libgomp}
b1574e
%files -n mingw32-libgomp
b1574e
%{mingw32_bindir}/libgomp-1.dll
b1574e
%{mingw32_libdir}/libgomp.a
b1574e
%{mingw32_libdir}/libgomp.dll.a
b1574e
%{mingw32_libdir}/libgomp.spec
b1574e
b1574e
%files -n mingw64-libgomp
b1574e
%{mingw64_bindir}/libgomp-1.dll
b1574e
%{mingw64_libdir}/libgomp.a
b1574e
%{mingw64_libdir}/libgomp.dll.a
b1574e
%{mingw64_libdir}/libgomp.spec
b1574e
%endif
b1574e
b1574e
b1574e
%changelog
b1574e
* Wed Aug 08 2018 Troy Dawson <tdawson@redhat.com> - 7.2.0-2
b1574e
- ExclusiveArch: i686, x86_64
b1574e
- Resolves: rhbz#1610008
b1574e
b1574e
* Tue Aug 22 2017 Kalev Lember <klember@redhat.com> - 7.2.0-1
b1574e
- Update to 7.2.0
b1574e
b1574e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-3
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b1574e
b1574e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-2
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b1574e
b1574e
* Wed May 17 2017 Kalev Lember <klember@redhat.com> - 7.1.0-1
b1574e
- Update to 7.1.0
b1574e
b1574e
* Mon Feb 13 2017 Kalev Lember <klember@redhat.com> - 7.0.1-0.1.svn.20170212.r245378
b1574e
- Update to gcc 7 20170212 snapshot (rev 245378)
b1574e
b1574e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.0-2
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b1574e
b1574e
* Thu Dec 29 2016 Kalev Lember <klember@redhat.com> - 6.3.0-1
b1574e
- Update to 6.3.0
b1574e
b1574e
* Tue Aug 23 2016 Kalev Lember <klember@redhat.com> - 6.2.0-1
b1574e
- Update to 6.2.0
b1574e
b1574e
* Wed May 04 2016 Kalev Lember <klember@redhat.com> - 6.1.0-1
b1574e
- Update to 6.1.0
b1574e
b1574e
* Sun Mar 27 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 6.0.0-0.2.svn.20160320.r234355
b1574e
- Update to gcc 6 20160320 snapshot (rev 234355)
b1574e
b1574e
* Thu Feb  4 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 6.0.0-0.1.svn.20160131.r233023
b1574e
- Update to gcc 6 20160131 snapshot (rev 233023)
b1574e
b1574e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b1574e
b1574e
* Tue Dec 08 2015 Kalev Lember <klember@redhat.com> - 5.3.0-1
b1574e
- Update to 5.3.0
b1574e
b1574e
* Wed Aug  5 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-1
b1574e
- Update to 5.2.0
b1574e
b1574e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-3
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b1574e
b1574e
* Thu Jun 11 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.1.0-2
b1574e
- Export additional symbols needed to resolve boost build failure with GCC 5
b1574e
- Resolves RHBZ #1218290, GCC #66030
b1574e
b1574e
* Fri Apr 24 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.1.0-1
b1574e
- Update to 5.1.0
b1574e
b1574e
* Sat Apr 11 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.4.svn.20150405.r221873
b1574e
- Switch back to the old libstdcxx c++98 ABI on Fedora 22 only
b1574e
  (This was also done for the native Fedora GCC package)
b1574e
b1574e
* Fri Apr 10 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.3.svn.20150405.r221873
b1574e
- Update to gcc 5 20150405 snapshot (rev 221873)
b1574e
b1574e
* Mon Mar 23 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.2.svn.20150322.r221575
b1574e
- Update to gcc 5 20150322 snapshot (rev 221575)
b1574e
b1574e
* Sat Mar  7 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.1.svn.20150301.r221092
b1574e
- Update to gcc 5 20150301 snapshot (rev 221092)
b1574e
b1574e
* Thu Jan 29 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.2-2
b1574e
- The package cloog-ppl-devel was renamed to cloog-devel in rawhide
b1574e
b1574e
* Wed Dec  3 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.2-1
b1574e
- Update to 4.9.2
b1574e
b1574e
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.9.1-4
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b1574e
b1574e
* Wed Jul 30 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.1-3
b1574e
- Use /usr/lib instead of %%{_libdir} (like also is done in
b1574e
  the native gcc and cross-gcc packages)
b1574e
b1574e
* Mon Jul 28 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.1-2
b1574e
- Really enable std::threads support
b1574e
b1574e
* Fri Jul 18 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.1-1
b1574e
- Update to gcc 4.9.1
b1574e
b1574e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.9.0-2
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b1574e
b1574e
* Wed Apr 23 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.0-1
b1574e
- Update to gcc 4.9.0
b1574e
b1574e
* Sun Apr 13 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.9.0-0.1.rc1
b1574e
- Update to gcc 4.9.0 RC1
b1574e
b1574e
* Fri Jan 10 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.2-2
b1574e
- Dropped xmmintrin patch as the issue is resolved in mingw-w64 3.1.0
b1574e
b1574e
* Sat Oct 19 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.2-1
b1574e
- Update to 4.8.2
b1574e
- Build with C++11 std::thread support (F21+ only)
b1574e
b1574e
* Fri Sep 20 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.1-4
b1574e
- Rebuild against winpthreads
b1574e
b1574e
* Sat Aug  3 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.1-3
b1574e
- Own the folders %%{_libexecdir}/gcc/%%{mingw32_target}/%%{version},
b1574e
  %%{_libexecdir}/gcc/%%{mingw32_target}, %%{_libexecdir}/gcc/%%{mingw64_target}
b1574e
  and %%{_libexecdir}/gcc/%%{mingw64_target}/%%{version}
b1574e
b1574e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.1-2
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b1574e
b1574e
* Sat Jun 15 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.1-1
b1574e
- Update to 4.8.1
b1574e
b1574e
* Sat Jun  1 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-4
b1574e
- Revised patch for GCC bug #56742
b1574e
b1574e
* Sun Apr 14 2013 Nicola Fontana <ntd@entidi.it> - 4.8.0-3
b1574e
- Dropped dependency on PPL (#951914)
b1574e
b1574e
* Sun Apr 14 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-2
b1574e
- Fix optimization bug which can lead to uncaught throw (SEH related) (GCC bug #56742)
b1574e
b1574e
* Sat Mar 23 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-1
b1574e
- Update to gcc 4.8.0 final
b1574e
b1574e
* Mon Mar 11 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.6.svn.20130310.r196584
b1574e
- Update to gcc 4.8 20130310 snapshot (rev 196584)
b1574e
b1574e
* Fri Feb  8 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.5.svn.20130203.r195703
b1574e
- Update to gcc 4.8 20130203 snapshot (rev 195703)
b1574e
b1574e
* Sun Jan 27 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.4.svn.20130120.r195326
b1574e
- Update to gcc 4.8 20130120 snapshot (rev 195326)
b1574e
b1574e
* Fri Jan 18 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.3.svn.20130113.r195137
b1574e
- Make sure the header xmmintrin.h is C++ compatible. Fixes build
b1574e
  failure in the mingw-qt5-qtbase package
b1574e
b1574e
* Wed Jan 16 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.2.svn.20130113.r195137
b1574e
- Update to gcc 4.8 20130113 snapshot (rev 195137)
b1574e
b1574e
* Sat Jan 12 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.8.0-0.1.svn.20130106.r194954
b1574e
- Update to gcc 4.8 20130106 snapshot (rev 194954)
b1574e
- The win64 compiler now uses SEH by default
b1574e
b1574e
* Wed Jan  2 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-7
b1574e
- Backported imported fix regarding virtual thunks as recommended
b1574e
  by upstream mingw-w64 developers (gcc bug #55171)
b1574e
b1574e
* Tue Dec 04 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-6
b1574e
- Re-enable libgomp support
b1574e
b1574e
* Mon Dec 03 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-5
b1574e
- Temporary build without libgomp support because of the broken circular
b1574e
  dependency between mingw-gcc and mingw-pthreads which was caused by the
b1574e
  latest PPL update
b1574e
b1574e
* Mon Dec 03 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.2-4
b1574e
- Made this package compatible with RHEL6 and RHEL7
b1574e
- Build with --disable-ppl-version-check (fixes FTBFS against latest PPL)
b1574e
b1574e
* Fri Nov 30 2012 Tom Callaway <spot@fedoraproject.org> - 4.7.2-3
b1574e
- rebuild for new ppl/cloog
b1574e
b1574e
* Mon Oct 15 2012 Jon Ciesla <limbugher@gmail.com> - 4.7.2-2
b1574e
- Provides: bundled(libiberty)
b1574e
b1574e
* Fri Sep 21 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.2-1
b1574e
- Update to 4.7.2
b1574e
b1574e
* Sat Jul 21 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.1-3
b1574e
- Revert back to 4.7.1 final
b1574e
b1574e
* Wed Jul 18 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.1-2.20120718
b1574e
- Update to gcc 4.7 20120718 snapshot
b1574e
b1574e
* Sun Jul 15 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.1-1
b1574e
- Update to 4.7.1
b1574e
b1574e
* Wed Apr 04 2012 Kalev Lember <kalevlember@gmail.com> - 4.7.0-2
b1574e
- Fix the build
b1574e
- Switch to the release tarball
b1574e
- Disable the testsuite again to avoid breaking build on arches where
b1574e
  wine is unavailable
b1574e
b1574e
* Wed Mar 28 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-1.20120322
b1574e
- Update to gcc 4.7.0 final release (20120322 snapshot)
b1574e
- Dropped upstreamed patches
b1574e
- Enable the testsuite
b1574e
b1574e
* Tue Mar  6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.9.20120224
b1574e
- Re-enable libgomp support
b1574e
b1574e
* Tue Mar  6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.8.20120224
b1574e
- Perform a regular build
b1574e
b1574e
* Tue Mar  6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.7.20120224
b1574e
- Added support for both win32 and win64 targets
b1574e
- Perform a bootstrap build
b1574e
- Split out the OpenMP pieces to mingw{32,64}-libgomp packages to avoid
b1574e
  forced dependency on mingw{32,64}-pthreads
b1574e
- Added support for running the testsuite for both win32 and win64 targets
b1574e
- Added a %%global called enable_winpthreads which can be used to enable
b1574e
  C++11 threads support (requires winpthreads instead of pthreads-w32)
b1574e
b1574e
* Tue Mar 06 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.6.20120224
b1574e
- Renamed the source package to mingw-gcc (RHBZ #673788)
b1574e
- Use mingw macros without leading underscore
b1574e
b1574e
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.5.20120224
b1574e
- Re-enable libgomp support
b1574e
b1574e
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.4.20120224
b1574e
- Perform a regular build
b1574e
b1574e
* Sat Feb 25 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.3.20120224
b1574e
- Update to gcc 4.7 20120224 snapshot
b1574e
- Perform a bootstrap build using mingw-w64
b1574e
- Dropped the /lib/i686-pc-mingw32-cpp symlink
b1574e
- Dropped the float.h patch as it isn't needed anymore with mingw-w64
b1574e
- Added some patches which upstream mingw-w64 recommends us to apply
b1574e
b1574e
* Fri Jan 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.2.20120126
b1574e
- Update to gcc 4.7 20120126 snapshot (fixes mingw32-qt build failure)
b1574e
b1574e
* Tue Jan 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.7.0-0.1.20120106
b1574e
- Update to gcc 4.7 20120106 snapshot
b1574e
b1574e
* Wed Oct 26 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.6.1-3.2
b1574e
- rebuild with new gmp without compat lib
b1574e
b1574e
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 4.6.1-3.1
b1574e
- rebuild with new gmp
b1574e
b1574e
* Fri Aug 26 2011 Kalev Lember <kalevlember@gmail.com> - 4.6.1-3
b1574e
- Fix float.h inclusion when gcc's headers precede mingrt in include path
b1574e
b1574e
* Fri Aug 19 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.6.1-2
b1574e
- Build against ppl and cloog
b1574e
b1574e
* Mon Jun 27 2011 Kalev Lember <kalev@smartlink.ee> - 4.6.1-1
b1574e
- Update to 4.6.1
b1574e
b1574e
* Sat May 21 2011 Kalev Lember <kalev@smartlink.ee> - 4.5.3-3
b1574e
- Rebuilt with automatic dep extraction and removed all manual
b1574e
  mingw32(...) provides / requires
b1574e
- Cleaned up the spec file from cruft not needed with latest rpm
b1574e
b1574e
* Tue May 10 2011 Kalev Lember <kalev@smartlink.ee> - 4.5.3-2
b1574e
- Disable plugin support with a configure option, instead of deleting
b1574e
  the files in the install section
b1574e
- Use the %%{_mingw32_target} macro in files section
b1574e
b1574e
* Sat Apr 30 2011 Kalev Lember <kalev@smartlink.ee> - 4.5.3-1
b1574e
- Update to 4.5.3
b1574e
b1574e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.1-2
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b1574e
b1574e
* Thu Aug 05 2010 Kalev Lember <kalev@smartlink.ee> - 4.5.1-1
b1574e
- Update to 4.5.1
b1574e
b1574e
* Thu May 13 2010 Kalev Lember <kalev@smartlink.ee> - 4.5.0-1
b1574e
- Update to vanilla gcc 4.5.0
b1574e
- Drop patches specific to Fedora native gcc.
b1574e
- BuildRequires libmpc-devel and zlib-devel
b1574e
- Added Provides for additional shared language runtime DLLs
b1574e
b1574e
* Thu Dec 17 2009 Chris Bagwell <chris@cnpbagwell.com> - 4.4.2-2
b1574e
- Enable libgomp support.
b1574e
b1574e
* Sun Nov 22 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.2-1
b1574e
- Update to gcc 4.4.2 20091114 svn 154179, which includes
b1574e
  VTA backport from 4.5 branch.
b1574e
- Patches taken from native Fedora gcc-4.4.2-10.
b1574e
b1574e
* Fri Sep 18 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.1-3
b1574e
- Require mingw32-binutils >= 2.19.51.0.14 for %%gnu_unique_object support.
b1574e
b1574e
* Thu Sep 03 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.1-2
b1574e
- Update to gcc 4.4.1 20090902 svn 151328.
b1574e
- Patches taken from native Fedora gcc-4.4.1-8.
b1574e
- Another license update to keep it in sync with native gcc package.
b1574e
b1574e
* Sun Aug 23 2009 Kalev Lember <kalev@smartlink.ee> - 4.4.1-1
b1574e
- Update to gcc 4.4.1 20090818 svn 150873.
b1574e
- Patches taken from native Fedora gcc-4.4.1-6.
b1574e
- Replaced %%define with %%global and updated %%defattr.
b1574e
- Changed license to match native Fedora gcc package.
b1574e
b1574e
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-0.8
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b1574e
b1574e
* Mon Mar 23 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.7
b1574e
- New native Fedora version gcc 4.4.0 20090319 svn 144967.
b1574e
- Enable _smp_mflags.
b1574e
b1574e
* Wed Mar  4 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.6
b1574e
- Fix libobjc and consequently Objective C and Objective C++ compilers.
b1574e
b1574e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-0.5
b1574e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b1574e
b1574e
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.4
b1574e
- Rebuild for mingw32-gcc 4.4
b1574e
b1574e
* Thu Feb 19 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.0-0.2
b1574e
- Move to upstream version 4.4.0-20090216 (same as Fedora native version).
b1574e
- Added FORTRAN support.
b1574e
- Added Objective C support.
b1574e
- Added Objective C++ support.
b1574e
b1574e
* Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-12
b1574e
- Rebuild against latest filesystem package.
b1574e
b1574e
* Fri Nov 21 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-11
b1574e
- Remove obsoletes for a long dead package.
b1574e
b1574e
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-10
b1574e
- Rebuild against mingw32-filesystem 37
b1574e
b1574e
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-9
b1574e
- Rebuild against mingw32-filesystem 36
b1574e
b1574e
* Thu Oct 30 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-8
b1574e
- Don't BR mpfr-devel for RHEL/EPEL-5 (Levente Farkas).
b1574e
b1574e
* Thu Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-7
b1574e
- Rename mingw -> mingw32.
b1574e
b1574e
* Thu Sep  4 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-6
b1574e
- Use RPM macros from mingw-filesystem.
b1574e
b1574e
* Mon Jul  7 2008 Richard W.M. Jones <rjones@redhat.com> - 4.3.2-3
b1574e
- Initial RPM release, largely based on earlier work from several sources.