diff --git a/gcc.spec b/gcc.spec index 57b2206..6546345 100644 --- a/gcc.spec +++ b/gcc.spec @@ -40,7 +40,7 @@ %define majver %(echo %version | cut -d. -f 1-2) Name: gcc -Version: 4.8.2 +Version: 4.9.0 Release: 1mamba Summary: GNU Compiler Collection (C, C++, Fortran, Java, Ada) Group: Applications/Development @@ -255,6 +255,13 @@ Group: System/Libraries %description -n libgfortran This package contains Fortran 95 shared library which is needed to run Fortran 95 dynamically linked programs. +%package -n libiberty-devel +Summary: Development files for libiberty +Group: Development/Libraries + +%description -n libiberty-devel +This package contains the libiberty static library and includes. + %package -n libitm Summary: Transactional Memory library Group: System/Libraries @@ -301,23 +308,6 @@ Requires: libobjc = %{version}-%{release} %description -n libobjc-devel This package contains Objective-C static library and includes which are needed to build Objective-C statically linked programs. -%package -n libmudflap -Summary: GCC mudflap support -Group: System/Libraries - -%description -n libmudflap -This package contains GCC shared support library which is needed for mudflap support. - -%package -n libmudflap-devel -Summary: GCC mudflap support -Group: Development/Libraries -Requires: libmudflap = %{version}-%{release} - -%description -n libmudflap-devel -This package contains headers and static libraries for building mudflap-instrumented programs. - -To instrument a non-threaded program, add -fmudflap option to GCC and when linking add -lmudflap, for threaded programs also add -fmudflapth and -lmudflapth. - # # libssp packages # @@ -372,6 +362,21 @@ Requires: libasan = %{version}-%{release} %description -n libasan-devel This package contains static libraries and headers to be used for development. +%package -n liblsan +Summary: GCC Leak Sanitizer runtime library +Group: System/Libraries + +%description -n liblsan +This package contains the GCC Leak Sanitizer runtime library. + +%package -n liblsan-devel +Summary: liblsan development libraries and headers +Group: Development/Libraries +Requires: liblsan = %{version}-%{release} + +%description -n liblsan-devel +This package contains static libraries and headers to be used for development. + %package -n libatomic Summary: GCC Atomic library Group: System/Libraries @@ -387,6 +392,51 @@ Requires: libatomic = %{version}-%{release} %description -n libatomic-devel This package contains static libraries and headers to be used for development. +%package -n libcilkrts +Summary: GCC Cilk runtime library +Group: System/Libraries + +%description -n libcilkrts +This package contains the GCC Cilk runtime library. + +%package -n libcilkrts-devel +Summary: libubsan development libraries and headers +Group: Development/Libraries +Requires: libcilkrts = %{version}-%{release} + +%description -n libcilkrts-devel +This package contains static libraries and headers to be used for development. + +%package -n libubsan +Summary: GCC Undefined Behavior Sanitizer library +Group: System/Libraries + +%description -n libubsan +This package contains the GCC Undefined Behavior Sanitizer library. + +%package -n libubsan-devel +Summary: libubsan development libraries and headers +Group: Development/Libraries +Requires: libubsan = %{version}-%{release} + +%description -n libubsan-devel +This package contains static libraries and headers to be used for development. + +%package -n libvtv +Summary: GCC vtable verification library +Group: System/Libraries + +%description -n libvtv +This package contains the GCC vtable verification library. + +%package -n libvtv-devel +Summary: libubsan development libraries and headers +Group: Development/Libraries +Requires: libvtv = %{version}-%{release} + +%description -n libvtv-devel +This package contains static libraries and headers to be used for development. + # # Documentation # @@ -411,8 +461,9 @@ AutoReqProv: no Cross Platform gcc for %{_target_platform}. %prep -%setup -n gcc-%{version}%{?gcc_extraver} -q -D -T -:<< ___EOF +%setup -n gcc-%{version}%{?gcc_extraver} -q +# -D -T +#:<< ___EOF %patch2 -p0 sed -i -e 's/libjawt/libgcjawt/g' libjava/Makefile.{am,in} @@ -432,12 +483,12 @@ sed -i -e 's/libjawt/libgcjawt/g' libjava/Makefile.{am,in} %patch11 -p1 #%patch12 -p1 #%patch13 -p1 -%patch14 -p1 +#%patch14 -p1 %build -:<< ____EOF +#:<< ____EOF rm -rf ../%{name}-build -____EOF + mkdir ../%{name}-build && cd ../%{name}-build @@ -505,7 +556,6 @@ esac --enable-languages=c,objc,fortran \ --with-newlib \ --without-headers \ - --disable-libmudflap \ --disable-libssp \ --disable-libgomp \ %if "%{_target_platform}" != "%{_host}" @@ -538,6 +588,7 @@ CROSS_SYSTEM_HEADER_DIR=/usr/%{_target_platform}/include \ --enable-java-awt=gtk \ --with-java-home=%{java_home} \ --enable-libgcj-multifile \ + --enable-install-libiberty \ --with-system-zlib \ %if "%{?disable_jack}" == "1" --disable-dssi \ @@ -630,12 +681,10 @@ cp gcc/doc/*.pdf %{_builddir}/gcc-%{version}%{?gcc_extraver}/gcc/doc/ mkdir -p %{buildroot}%{_datadir}/gdb/auto-load/%{_libdir} mv %{buildroot}%{_libdir}/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gdb/auto-load/%{_libdir}/ %ifarch x86_64 -%if "%{_target_platform}" != "%{_host}" # fix for 32bit multilib build mkdir -p %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/lib mv %{buildroot}%{_prefix}/lib/libstdc++.so.*-gdb.py %{buildroot}%{_datadir}/gdb/auto-load/%{_prefix}/lib/ %endif -%endif (cd ../gcc-%{version}%{?gcc_extraver} %find_lang gcc @@ -663,11 +712,6 @@ rm -f %{buildroot}%{_libdir}/libffi* rm -f %{buildroot}%{_libdir}/nof/libffi* rm -f %{buildroot}%{_mandir}/man3/ffi*.3* rm -f %{buildroot}%{_infodir}/libffi.info* -# remove libiberty (we use the one from binutils) -rm -f %{buildroot}%{_libdir}/libiberty.a -rm -f %{buildroot}%{_libdir}/nof/libiberty.a -rm -f %{buildroot}%{_prefix}/%{_target_platform}/%{_lib}/libiberty.a -rm -f %{buildroot}%{_prefix}/%{_target_platform}/%{_lib}/nof/libiberty.a # don't strip libraries for avr %if "%{target_cpu}" == "avr" @@ -692,9 +736,15 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %post -n libquadmath -p /sbin/ldconfig %postun -n libquadmath -p /sbin/ldconfig -%post -n libasan -p /sbin/ldconfig +%post -n libatomic -p /sbin/ldconfig %postun -n libatomic -p /sbin/ldconfig +%post -n libasan -p /sbin/ldconfig +%postun -n libasan -p /sbin/ldconfig + +%post -n liblsan -p /sbin/ldconfig +%postun -n liblsan -p /sbin/ldconfig + %post doc %install_info cppinternals.info %install_info gcc.info @@ -746,6 +796,7 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %endif %dir %{_prefix}/libexec/gcc/%{_target_platform}/%{version} %{_prefix}/libexec/gcc/%{_target_platform}/%{version}/* + %{_datadir}/gcc-%{version}/python/libstdcxx/__init__.py %{_datadir}/gcc-%{version}/python/libstdcxx/v6/__init__.py %{_datadir}/gcc-%{version}/python/libstdcxx/v6/printers.py @@ -781,6 +832,15 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %{_infodir}/cp-tools.info.* %endif +%files -n libiberty-devel +%defattr(-,root,root) +%dir %{_includedir}/libiberty +%{_includedir}/libiberty/*.h +%{_libdir}/libiberty.a +#%{_prefix}/%{_target_platform}/%{_lib}/libiberty.a +#%{_libdir}/nof/libiberty.a +#%{_prefix}/%{_target_platform}/%{_lib}/nof/libiberty.a + %files -n libitm %defattr(-,root,root) %{_libdir}/libitm.so.* @@ -834,32 +894,6 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %dir %{_libdir}/gcc/%{_target_platform}/%{version}/include/objc %{_libdir}/gcc/%{_target_platform}/%{version}/include/objc/* -%files -n libmudflap -%defattr(-,root,root) -%{_libdir}/libmudflap.so.* -%{_libdir}/libmudflapth.so.* -%ifarch ppc -%{_libdir}/nof/libmudflap.so.* -%{_libdir}/nof/libmudflapth.so.* -%endif - -%files -n libmudflap-devel -%defattr(-,root,root) -%{_libdir}/libmudflap.a -%{_libdir}/libmudflap.la -%{_libdir}/libmudflap.so -%{_libdir}/libmudflapth.a -%{_libdir}/libmudflapth.la -%{_libdir}/libmudflapth.so -%ifarch ppc -%{_libdir}/nof/libmudflap.a -%{_libdir}/nof/libmudflap.la -%{_libdir}/nof/libmudflap.so -%{_libdir}/nof/libmudflapth.a -%{_libdir}/nof/libmudflapth.la -%{_libdir}/nof/libmudflapth.so -%endif - %files -n libssp %defattr(-,root,root) %{_libdir}/libssp.so.* @@ -884,12 +918,9 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %dir %{_libdir}/gcc/%{_target_platform}/%{version}/include/ssp %{_libdir}/gcc/%{_target_platform}/%{version}/include/ssp/* -%ifnarch arm %files -n libasan %defattr(-,root,root) -%ifnarch arm %{_libdir}/libasan.so.* -%endif %ifarch x86_64 %{_libdir}/libtsan.so.* %endif @@ -905,6 +936,17 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %{_libdir}/libtsan.la %{_libdir}/libtsan.so %endif + +%ifarch x86_64 +%files -n liblsan +%defattr(-,root,root) +%{_libdir}/liblsan.so.* + +%files -n liblsan-devel +%defattr(-,root,root) +%{_libdir}/liblsan.a +%{_libdir}/liblsan.la +%{_libdir}/liblsan.so %endif %files -n libatomic @@ -917,6 +959,42 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %{_libdir}/libatomic.la %{_libdir}/libatomic.so +%ifnarch arm +%files -n libcilkrts +%defattr(-,root,root) +%{_libdir}/libcilkrts.so.* + +%files -n libcilkrts-devel +%defattr(-,root,root) +%{_libdir}/libcilkrts.a +%{_libdir}/libcilkrts.la +%{_libdir}/libcilkrts.so +%{_libdir}/libcilkrts.spec +%endif + +%files -n libubsan +%defattr(-,root,root) +%{_libdir}/libubsan.so.* + +%files -n libubsan-devel +%defattr(-,root,root) +%{_libdir}/libubsan.a +%{_libdir}/libubsan.la +%{_libdir}/libubsan.so +%{_libdir}/libsanitizer.spec + +%ifnarch arm +%files -n libvtv +%defattr(-,root,root) +%{_libdir}/libvtv.so.* + +%files -n libvtv-devel +%defattr(-,root,root) +%{_libdir}/libvtv.a +%{_libdir}/libvtv.la +%{_libdir}/libvtv.so +%endif + %if "%{disable_cpp}" != "1" # # C++ language @@ -1217,7 +1295,12 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %{_libdir}/gcc/%{_target_platform}/%{version}/32/* /lib/libgcc_s.so /lib/libgcc_s.so.1 -/usr/lib/gcj-*/* +# +%{_prefix}/lib/libstdc++.a +%{_prefix}/lib/libstdc++.la +%{_prefix}/lib/libstdc++.so +%{_prefix}/lib/libstdc++.so.* +# %{_prefix}/lib/libasan.a %{_prefix}/lib/libasan.la %{_prefix}/lib/libasan.so @@ -1227,26 +1310,28 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; %{_prefix}/lib/libatomic.la %{_prefix}/lib/libatomic.so %{_prefix}/lib/libatomic.so.* -#/usr/lib/libgcj-tools.a -/usr/lib/libgcj-tools.la -/usr/lib/libgcj-tools.so -/usr/lib/libgcj-tools.so.* -#/usr/lib/libgcj.a -/usr/lib/libgcj.la -/usr/lib/libgcj.so -/usr/lib/libgcj.so.* -#/usr/lib/libgcj_bc.a -/usr/lib/libgcj_bc.so -/usr/lib/libgcj_bc.so.* -/usr/lib/libgfortran.a -/usr/lib/libgfortran.la -/usr/lib/libgfortran.so -/usr/lib/libgfortran.so.* -/usr/lib/libgfortran.spec -#/usr/lib/libgij.a -/usr/lib/libgij.la -/usr/lib/libgij.so -/usr/lib/libgij.so.* +# +%{_prefix}/lib/gcj-*/* +%{_prefix}/lib/libgcj-tools.la +%{_prefix}/lib/libgcj-tools.so +%{_prefix}/lib/libgcj-tools.so.* +%{_prefix}/lib/libgcj.la +%{_prefix}/lib/libgcj.so +%{_prefix}/lib/libgcj.so.* +%{_prefix}/lib/libgcj_bc.so +%{_prefix}/lib/libgcj_bc.so.* +%{_prefix}/lib/libgij.la +%{_prefix}/lib/libgij.so +%{_prefix}/lib/libgij.so.* +%{_prefix}/lib/logging.properties +%{_prefix}/lib/security/classpath.security +%{_prefix}/lib/pkgconfig/libgcj-*.pc +# +%{_prefix}/lib/libgfortran.a +%{_prefix}/lib/libgfortran.la +%{_prefix}/lib/libgfortran.so +%{_prefix}/lib/libgfortran.so.* +%{_prefix}/lib/libgfortran.spec /usr/lib/libgomp.a /usr/lib/libgomp.la /usr/lib/libgomp.so @@ -1257,42 +1342,43 @@ find %{buildroot}%{_libdir}/gcc -name lib*.a -exec chmod -w {} \; /usr/lib/libitm.so /usr/lib/libitm.so.* /usr/lib/libitm.spec -#/usr/lib/libiberty.a -/usr/lib/libmudflap.a -/usr/lib/libmudflap.la -/usr/lib/libmudflap.so -/usr/lib/libmudflap.so.* -/usr/lib/libmudflapth.a -/usr/lib/libmudflapth.la -/usr/lib/libmudflapth.so -/usr/lib/libmudflapth.so.* /usr/lib/libobjc.a /usr/lib/libobjc.la /usr/lib/libobjc.so /usr/lib/libobjc.so.* -%ifnarch arm -/usr/lib/libquadmath.a -/usr/lib/libquadmath.la -/usr/lib/libquadmath.so -/usr/lib/libquadmath.so.* -%endif /usr/lib/libssp.a /usr/lib/libssp.la /usr/lib/libssp.so /usr/lib/libssp.so.* /usr/lib/libssp_nonshared.a /usr/lib/libssp_nonshared.la -/usr/lib/libstdc++.a -/usr/lib/libstdc++.la -/usr/lib/libstdc++.so -/usr/lib/libstdc++.so.* /usr/lib/libsupc++.a /usr/lib/libsupc++.la -/usr/lib/logging.properties -/usr/lib/security/classpath.security +/usr/lib/libcilkrts.a +/usr/lib/libcilkrts.la +/usr/lib/libcilkrts.so +/usr/lib/libcilkrts.so.* +/usr/lib/libcilkrts.spec +/usr/lib/libquadmath.a +/usr/lib/libquadmath.la +/usr/lib/libquadmath.so +/usr/lib/libquadmath.so.* +/usr/lib/libsanitizer.spec +/usr/lib/libubsan.a +/usr/lib/libubsan.la +/usr/lib/libubsan.so +/usr/lib/libubsan.so.* +/usr/lib/libvtv.a +/usr/lib/libvtv.la +/usr/lib/libvtv.so +/usr/lib/libvtv.so.* +%{_datadir}/gdb/auto-load/usr/lib/libstdc++.so.*-gdb.py %endif %changelog +* Sat May 03 2014 Automatic Build System 4.9.0-1mamba +- automatic version update by autodist + * Wed Oct 16 2013 Automatic Build System 4.8.2-1mamba - automatic version update by autodist