4.4.4-7
This commit is contained in:
parent
76b93c38a2
commit
3442905dd8
@ -1,2 +1,2 @@
|
|||||||
fastjar-0.97.tar.gz
|
fastjar-0.97.tar.gz
|
||||||
gcc-4.4.4-20100525.tar.bz2
|
gcc-4.4.4-20100608.tar.bz2
|
||||||
|
160
gcc.spec
160
gcc.spec
@ -1,9 +1,9 @@
|
|||||||
%global DATE 20100525
|
%global DATE 20100608
|
||||||
%global SVNREV 159836
|
%global SVNREV 160426
|
||||||
%global gcc_version 4.4.4
|
%global gcc_version 4.4.4
|
||||||
# Note, gcc_release must be integer, if you want to add suffixes to
|
# Note, gcc_release must be integer, if you want to add suffixes to
|
||||||
# %{release}, append them after %{gcc_release} on Release: line.
|
# %{release}, append them after %{gcc_release} on Release: line.
|
||||||
%global gcc_release 5
|
%global gcc_release 7
|
||||||
%global _unpackaged_files_terminate_build 0
|
%global _unpackaged_files_terminate_build 0
|
||||||
%global multilib_64_archs sparc64 ppc64 s390x x86_64
|
%global multilib_64_archs sparc64 ppc64 s390x x86_64
|
||||||
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
|
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
|
||||||
@ -175,7 +175,6 @@ Patch17: gcc44-pr38757.patch
|
|||||||
Patch18: gcc44-libstdc++-docs.patch
|
Patch18: gcc44-libstdc++-docs.patch
|
||||||
Patch19: gcc44-ppc64-aixdesc.patch
|
Patch19: gcc44-ppc64-aixdesc.patch
|
||||||
Patch20: gcc44-no-add-needed.patch
|
Patch20: gcc44-no-add-needed.patch
|
||||||
Patch21: gcc44-pr44199.patch
|
|
||||||
|
|
||||||
Patch1000: fastjar-0.97-segfault.patch
|
Patch1000: fastjar-0.97-segfault.patch
|
||||||
Patch1001: fastjar-0.97-len1.patch
|
Patch1001: fastjar-0.97-len1.patch
|
||||||
@ -242,6 +241,15 @@ This is the GNU implementation of the standard C++ libraries. This
|
|||||||
package includes the header files and libraries needed for C++
|
package includes the header files and libraries needed for C++
|
||||||
development. This includes rewritten implementation of STL.
|
development. This includes rewritten implementation of STL.
|
||||||
|
|
||||||
|
%package -n libstdc++-static
|
||||||
|
Summary: Static libraries for the GNU standard C++ library
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libstdc++-devel = %{version}-%{release}
|
||||||
|
Autoreq: true
|
||||||
|
|
||||||
|
%description -n libstdc++-static
|
||||||
|
Static libraries for the GNU standard C++ library.
|
||||||
|
|
||||||
%package -n libstdc++-docs
|
%package -n libstdc++-docs
|
||||||
Summary: Documentation for the GNU standard C++ library
|
Summary: Documentation for the GNU standard C++ library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -329,13 +337,21 @@ Requires: libmudflap = %{version}-%{release}
|
|||||||
Requires: gcc = %{version}-%{release}
|
Requires: gcc = %{version}-%{release}
|
||||||
|
|
||||||
%description -n libmudflap-devel
|
%description -n libmudflap-devel
|
||||||
This package contains headers and static libraries for building
|
This package contains headers for building mudflap-instrumented programs.
|
||||||
mudflap-instrumented programs.
|
|
||||||
|
|
||||||
To instrument a non-threaded program, add -fmudflap
|
To instrument a non-threaded program, add -fmudflap
|
||||||
option to GCC and when linking add -lmudflap, for threaded programs
|
option to GCC and when linking add -lmudflap, for threaded programs
|
||||||
also add -fmudflapth and -lmudflapth.
|
also add -fmudflapth and -lmudflapth.
|
||||||
|
|
||||||
|
%package -n libmudflap-static
|
||||||
|
Summary: Static libraries for mudflap support
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: libmudflap-devel = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libmudflap-static
|
||||||
|
This package contains static libraries for building mudflap-instrumented
|
||||||
|
programs.
|
||||||
|
|
||||||
%package java
|
%package java
|
||||||
Summary: Java support for GCC
|
Summary: Java support for GCC
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -459,6 +475,15 @@ Autoreq: true
|
|||||||
GNAT is a GNU Ada 95 front-end to GCC. This package includes libraries,
|
GNAT is a GNU Ada 95 front-end to GCC. This package includes libraries,
|
||||||
which are required to compile with the GNAT.
|
which are required to compile with the GNAT.
|
||||||
|
|
||||||
|
%package -n libgnat-static
|
||||||
|
Summary: GNU Ada 95 static libraries
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: libgnat-devel = %{version}-%{release}
|
||||||
|
Autoreq: true
|
||||||
|
|
||||||
|
%description -n libgnat-static
|
||||||
|
GNAT is a GNU Ada 95 front-end to GCC. This package includes static libraries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gcc-%{version}-%{DATE}
|
%setup -q -n gcc-%{version}-%{DATE}
|
||||||
%patch0 -p0 -b .hack~
|
%patch0 -p0 -b .hack~
|
||||||
@ -486,7 +511,6 @@ which are required to compile with the GNAT.
|
|||||||
%if 0%{?fedora} >= 13
|
%if 0%{?fedora} >= 13
|
||||||
%patch20 -p0 -b .no-add-needed~
|
%patch20 -p0 -b .no-add-needed~
|
||||||
%endif
|
%endif
|
||||||
%patch21 -p0 -b .pr44199~
|
|
||||||
|
|
||||||
# This testcase doesn't compile.
|
# This testcase doesn't compile.
|
||||||
rm libjava/testsuite/libjava.lang/PR35020*
|
rm libjava/testsuite/libjava.lang/PR35020*
|
||||||
@ -541,6 +565,7 @@ fi
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%if %{build_java}
|
%if %{build_java}
|
||||||
|
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
|
||||||
# gjar isn't usable, so even when GCC source tree no longer includes
|
# gjar isn't usable, so even when GCC source tree no longer includes
|
||||||
# fastjar, build it anyway.
|
# fastjar, build it anyway.
|
||||||
mkdir fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
|
mkdir fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}
|
||||||
@ -765,6 +790,7 @@ rm -fr %{buildroot}
|
|||||||
cd obj-%{gcc_target_platform}
|
cd obj-%{gcc_target_platform}
|
||||||
|
|
||||||
%if %{build_java}
|
%if %{build_java}
|
||||||
|
export GCJ_PROPERTIES=jdt.compiler.useSingleThread=true
|
||||||
export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
|
export PATH=`pwd`/../fastjar-%{fastjar_ver}/obj-%{gcc_target_platform}${PATH:+:$PATH}
|
||||||
%if !%{bootstrap_java}
|
%if !%{bootstrap_java}
|
||||||
export PATH=`pwd`/java_hacks${PATH:+:$PATH}
|
export PATH=`pwd`/java_hacks${PATH:+:$PATH}
|
||||||
@ -972,7 +998,7 @@ fi
|
|||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcj_bc.so $FULLLPATH/
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libgcj_bc.so $FULLLPATH/
|
||||||
%endif
|
%endif
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libstdc++.*a $FULLLPATH/
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libsupc++.*a $FULLLPATH/
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libgfortran.*a .
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libobjc.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libobjc.*a .
|
||||||
mv -f %{buildroot}%{_prefix}/%{_lib}/libgomp.*a .
|
mv -f %{buildroot}%{_prefix}/%{_lib}/libgomp.*a .
|
||||||
@ -1034,12 +1060,13 @@ ln -sf ../`echo ../../../../lib/libgij.so.10.* | sed s~/lib/~/lib64/~` 64/libgij
|
|||||||
ln -sf lib32/libgcj_bc.so libgcj_bc.so
|
ln -sf lib32/libgcj_bc.so libgcj_bc.so
|
||||||
ln -sf ../lib64/libgcj_bc.so 64/libgcj_bc.so
|
ln -sf ../lib64/libgcj_bc.so 64/libgcj_bc.so
|
||||||
%endif
|
%endif
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libsupc++.*a 64/
|
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libgfortran.*a 64/
|
mv -f %{buildroot}%{_prefix}/lib64/libgfortran.*a 64/
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libobjc.*a 64/
|
mv -f %{buildroot}%{_prefix}/lib64/libobjc.*a 64/
|
||||||
mv -f %{buildroot}%{_prefix}/lib64/libgomp.*a 64/
|
mv -f %{buildroot}%{_prefix}/lib64/libgomp.*a 64/
|
||||||
ln -sf lib32/libstdc++.a libstdc++.a
|
ln -sf lib32/libstdc++.a libstdc++.a
|
||||||
ln -sf ../lib64/libstdc++.a 64/libstdc++.a
|
ln -sf ../lib64/libstdc++.a 64/libstdc++.a
|
||||||
|
ln -sf lib32/libsupc++.a libsupc++.a
|
||||||
|
ln -sf ../lib64/libsupc++.a 64/libsupc++.a
|
||||||
ln -sf lib32/libmudflap.a libmudflap.a
|
ln -sf lib32/libmudflap.a libmudflap.a
|
||||||
ln -sf ../lib64/libmudflap.a 64/libmudflap.a
|
ln -sf ../lib64/libmudflap.a 64/libmudflap.a
|
||||||
ln -sf lib32/libmudflapth.a libmudflapth.a
|
ln -sf lib32/libmudflapth.a libmudflapth.a
|
||||||
@ -1067,7 +1094,6 @@ ln -sf ../`echo ../../../../lib64/libgcj.so.10.* | sed s~/../lib64/~/~` 32/libgc
|
|||||||
ln -sf ../`echo ../../../../lib64/libgcj-tools.so.10.* | sed s~/../lib64/~/~` 32/libgcj-tools.so
|
ln -sf ../`echo ../../../../lib64/libgcj-tools.so.10.* | sed s~/../lib64/~/~` 32/libgcj-tools.so
|
||||||
ln -sf ../`echo ../../../../lib64/libgij.so.10.* | sed s~/../lib64/~/~` 32/libgij.so
|
ln -sf ../`echo ../../../../lib64/libgij.so.10.* | sed s~/../lib64/~/~` 32/libgij.so
|
||||||
%endif
|
%endif
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libsupc++.*a 32/
|
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libgfortran.*a 32/
|
mv -f %{buildroot}%{_prefix}/lib/libgfortran.*a 32/
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libobjc.*a 32/
|
mv -f %{buildroot}%{_prefix}/lib/libobjc.*a 32/
|
||||||
mv -f %{buildroot}%{_prefix}/lib/libgomp.*a 32/
|
mv -f %{buildroot}%{_prefix}/lib/libgomp.*a 32/
|
||||||
@ -1075,6 +1101,8 @@ mv -f %{buildroot}%{_prefix}/lib/libgomp.*a 32/
|
|||||||
%ifarch sparc64 ppc64
|
%ifarch sparc64 ppc64
|
||||||
ln -sf ../lib32/libstdc++.a 32/libstdc++.a
|
ln -sf ../lib32/libstdc++.a 32/libstdc++.a
|
||||||
ln -sf lib64/libstdc++.a libstdc++.a
|
ln -sf lib64/libstdc++.a libstdc++.a
|
||||||
|
ln -sf ../lib32/libsupc++.a 32/libsupc++.a
|
||||||
|
ln -sf lib64/libsupc++.a libsupc++.a
|
||||||
ln -sf ../lib32/libmudflap.a 32/libmudflap.a
|
ln -sf ../lib32/libmudflap.a 32/libmudflap.a
|
||||||
ln -sf lib64/libmudflap.a libmudflap.a
|
ln -sf lib64/libmudflap.a libmudflap.a
|
||||||
ln -sf ../lib32/libmudflapth.a 32/libmudflapth.a
|
ln -sf ../lib32/libmudflapth.a 32/libmudflapth.a
|
||||||
@ -1092,6 +1120,7 @@ ln -sf lib64/adalib adalib
|
|||||||
%else
|
%else
|
||||||
%ifarch %{multilib_64_archs}
|
%ifarch %{multilib_64_archs}
|
||||||
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libstdc++.a 32/libstdc++.a
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libstdc++.a 32/libstdc++.a
|
||||||
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libsupc++.a 32/libsupc++.a
|
||||||
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflap.a 32/libmudflap.a
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflap.a 32/libmudflap.a
|
||||||
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflapth.a 32/libmudflapth.a
|
ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}/%{gcc_version}/libmudflapth.a 32/libmudflapth.a
|
||||||
%if %{build_java}
|
%if %{build_java}
|
||||||
@ -1520,10 +1549,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%ifarch sparcv9 ppc %{multilib_64_archs}
|
%ifarch sparcv9 ppc %{multilib_64_archs}
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch sparcv9 sparc64 ppc ppc64
|
%ifarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/gcc/cp/ChangeLog*
|
%doc rpm.doc/changelogs/gcc/cp/ChangeLog*
|
||||||
|
|
||||||
@ -1541,23 +1570,49 @@ fi
|
|||||||
%dir %{_prefix}/lib/gcc
|
%dir %{_prefix}/lib/gcc
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%if 0%{?fedora} < 14
|
||||||
%ifarch sparcv9 ppc
|
%ifarch sparcv9 ppc
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libsupc++.a
|
||||||
%endif
|
%endif
|
||||||
%ifarch sparc64 ppc64
|
%ifarch sparc64 ppc64
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libsupc++.a
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparcv9 sparc64 ppc ppc64
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparcv9 ppc %{multilib_64_archs}
|
%ifnarch sparcv9 ppc %{multilib_64_archs}
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.so
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
|
%doc rpm.doc/changelogs/libstdc++-v3/ChangeLog* libstdc++-v3/README*
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%files -n libstdc++-static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_prefix}/lib/gcc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%ifarch sparcv9 ppc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libsupc++.a
|
||||||
|
%endif
|
||||||
|
%ifarch sparc64 ppc64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libsupc++.a
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libstdc++.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libsupc++.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{build_libstdcxx_docs}
|
%if %{build_libstdcxx_docs}
|
||||||
%files -n libstdc++-docs
|
%files -n libstdc++-docs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -1827,15 +1882,52 @@ fi
|
|||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adainclude
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adainclude
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifarch sparc64 ppc64
|
%ifarch sparc64 ppc64
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adainclude
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adainclude
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparcv9 sparc64 ppc ppc64
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adainclude
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
|
||||||
|
%exclude %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%files -n libgnat-static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_prefix}/lib/gcc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%ifarch sparcv9 ppc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnat.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
|
%ifarch sparc64 ppc64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnat.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/adalib/libgnarl.a
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnat.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/adalib/libgnarl.a
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1857,6 +1949,7 @@ fi
|
|||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mf-runtime.h
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/include/mf-runtime.h
|
||||||
|
%if 0%{?fedora} < 14
|
||||||
%ifarch sparcv9 ppc
|
%ifarch sparcv9 ppc
|
||||||
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
|
||||||
@ -1870,12 +1963,55 @@ fi
|
|||||||
%ifnarch sparcv9 sparc64 ppc ppc64
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.so
|
||||||
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.so
|
||||||
%endif
|
%endif
|
||||||
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
|
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
%files -n libmudflap-static
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_prefix}/lib/gcc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}
|
||||||
|
%ifarch sparcv9 ppc
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflap.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib32/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%ifarch sparc64 ppc64
|
||||||
|
%dir %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflap.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/lib64/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%ifnarch sparcv9 sparc64 ppc ppc64
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflap.a
|
||||||
|
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_version}/libmudflapth.a
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 8 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-7
|
||||||
|
- update from gcc-4_4-branch
|
||||||
|
- PRs c++/43555, fortran/42900, fortran/44360, libfortran/41169,
|
||||||
|
libgcj/38251, libobjc/36610, libstdc++/32499, pch/14940,
|
||||||
|
rtl-optimization/39580, target/44075, target/44169, target/44199
|
||||||
|
- VTA backports
|
||||||
|
- PRs debug/44367, debug/44375, rtl-optimization/44013,
|
||||||
|
tree-optimization/44182
|
||||||
|
- speed up var-tracking (#598310, PR debug/41371)
|
||||||
|
- -Wunused-but-set-* bugfixes
|
||||||
|
- PRs c++/44361, c++/44362, c++/44412, c++/44443, c++/44444
|
||||||
|
- fix -mno-fused-madd -mfma4 on i?86/x86_64 (PR target/44338)
|
||||||
|
- use GCJ_PROPERTIES=jdt.compiler.useSingleThread=true when
|
||||||
|
building classes with ecj1 (#524155)
|
||||||
|
%if 0%{?fedora} >= 14
|
||||||
|
- add some static subpackages (#556049)
|
||||||
|
%endif
|
||||||
|
|
||||||
* Tue May 25 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-5
|
* Tue May 25 2010 Jakub Jelinek <jakub@redhat.com> 4.4.4-5
|
||||||
- update from gcc-4_4-branch
|
- update from gcc-4_4-branch
|
||||||
- PRs bootstrap/43870, debug/44205, target/43733, target/44074,
|
- PRs bootstrap/43870, debug/44205, target/43733, target/44074,
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
2010-05-20 Jakub Jelinek <jakub@redhat.com>
|
|
||||||
|
|
||||||
PR target/44199
|
|
||||||
* config/rs6000/rs6000.c (rs6000_emit_epilogue): If cfun->calls_alloca
|
|
||||||
or total_size is larger than red zone size for non-V4 ABI, emit a
|
|
||||||
stack_tie resp. frame_tie insn before stack pointer restore.
|
|
||||||
* config/rs6000/rs6000.md (frame_tie): New insn.
|
|
||||||
|
|
||||||
--- gcc/config/rs6000/rs6000.c.jj 2010-05-17 07:52:06.000000000 +0200
|
|
||||||
+++ gcc/config/rs6000/rs6000.c 2010-05-19 22:15:53.000000000 +0200
|
|
||||||
@@ -19775,6 +19775,16 @@ rs6000_emit_epilogue (int sibcall)
|
|
||||||
frame_reg_rtx = sp_reg_rtx;
|
|
||||||
if (DEFAULT_ABI == ABI_V4)
|
|
||||||
frame_reg_rtx = gen_rtx_REG (Pmode, 11);
|
|
||||||
+ /* Prevent reordering memory accesses against stack pointer restore. */
|
|
||||||
+ else if (cfun->calls_alloca
|
|
||||||
+ || offset_below_red_zone_p (-info->total_size))
|
|
||||||
+ {
|
|
||||||
+ rtx mem1 = gen_rtx_MEM (BLKmode, hard_frame_pointer_rtx);
|
|
||||||
+ rtx mem2 = gen_rtx_MEM (BLKmode, sp_reg_rtx);
|
|
||||||
+ MEM_NOTRAP_P (mem1) = 1;
|
|
||||||
+ MEM_NOTRAP_P (mem2) = 1;
|
|
||||||
+ emit_insn (gen_frame_tie (mem1, mem2));
|
|
||||||
+ }
|
|
||||||
|
|
||||||
insn = emit_insn (gen_add3_insn (frame_reg_rtx, hard_frame_pointer_rtx,
|
|
||||||
GEN_INT (info->total_size)));
|
|
||||||
@@ -19784,6 +19794,14 @@ rs6000_emit_epilogue (int sibcall)
|
|
||||||
&& DEFAULT_ABI != ABI_V4
|
|
||||||
&& !crtl->calls_eh_return)
|
|
||||||
{
|
|
||||||
+ /* Prevent reordering memory accesses against stack pointer restore. */
|
|
||||||
+ if (cfun->calls_alloca
|
|
||||||
+ || offset_below_red_zone_p (-info->total_size))
|
|
||||||
+ {
|
|
||||||
+ rtx mem = gen_rtx_MEM (BLKmode, sp_reg_rtx);
|
|
||||||
+ MEM_NOTRAP_P (mem) = 1;
|
|
||||||
+ emit_insn (gen_stack_tie (mem));
|
|
||||||
+ }
|
|
||||||
insn = emit_insn (gen_add3_insn (sp_reg_rtx, sp_reg_rtx,
|
|
||||||
GEN_INT (info->total_size)));
|
|
||||||
sp_offset = 0;
|
|
||||||
--- gcc/config/rs6000/rs6000.md.jj 2010-03-26 17:13:37.000000000 +0100
|
|
||||||
+++ gcc/config/rs6000/rs6000.md 2010-05-19 22:15:19.000000000 +0200
|
|
||||||
@@ -15286,6 +15286,15 @@ (define_insn "stack_tie"
|
|
||||||
""
|
|
||||||
[(set_attr "length" "0")])
|
|
||||||
|
|
||||||
+; Like stack_tie, but depend on both fp and sp based memory.
|
|
||||||
+(define_insn "frame_tie"
|
|
||||||
+ [(set (match_operand:BLK 0 "memory_operand" "+m")
|
|
||||||
+ (unspec:BLK [(match_dup 0)
|
|
||||||
+ (match_operand:BLK 1 "memory_operand" "m")] UNSPEC_TIE))]
|
|
||||||
+ ""
|
|
||||||
+ ""
|
|
||||||
+ [(set_attr "length" "0")])
|
|
||||||
+
|
|
||||||
|
|
||||||
(define_expand "epilogue"
|
|
||||||
[(use (const_int 0))]
|
|
@ -24,3 +24,4 @@ gcc-4_4_4-2_fc13:F-13:gcc-4.4.4-2.fc13.src.rpm:1272918321
|
|||||||
gcc-4_4_4-3_fc13:F-13:gcc-4.4.4-3.fc13.src.rpm:1273873717
|
gcc-4_4_4-3_fc13:F-13:gcc-4.4.4-3.fc13.src.rpm:1273873717
|
||||||
gcc-4_4_4-4_fc13:F-13:gcc-4.4.4-4.fc13.src.rpm:1274217265
|
gcc-4_4_4-4_fc13:F-13:gcc-4.4.4-4.fc13.src.rpm:1274217265
|
||||||
gcc-4_4_4-5_fc13:F-13:gcc-4.4.4-5.fc13.src.rpm:1274827909
|
gcc-4_4_4-5_fc13:F-13:gcc-4.4.4-5.fc13.src.rpm:1274827909
|
||||||
|
gcc-4_4_4-7_fc13:F-13:gcc-4.4.4-7.fc13.src.rpm:1275991168
|
||||||
|
Loading…
Reference in New Issue
Block a user