SPECS (GCC_3_4): gcc.spec - updated to 3.4.5.

pluto pluto at pld-linux.org
Fri Dec 9 02:40:37 CET 2005


Author: pluto                        Date: Fri Dec  9 01:40:37 2005 GMT
Module: SPECS                         Tag: GCC_3_4
---- Log message:
- updated to 3.4.5.

---- Files affected:
SPECS:
   gcc.spec (1.278.2.2 -> 1.278.2.3) 

---- Diffs:

================================================================
Index: SPECS/gcc.spec
diff -u SPECS/gcc.spec:1.278.2.2 SPECS/gcc.spec:1.278.2.3
--- SPECS/gcc.spec:1.278.2.2	Mon May 30 23:02:57 2005
+++ SPECS/gcc.spec	Fri Dec  9 02:40:31 2005
@@ -1,72 +1,39 @@
 # $Revision$, $Date$
 #
-# TODO:
-#		- http://gcc.gnu.org/PR11203 (inline-asm)
-#		- http://gcc.gnu.org/PR14776 (target / wrong SSE-code)
-#		- http://gcc.gnu.org/PR18378 (regression)
-#
 # Conditional build:
 %bcond_without	ada		# build without ADA support
 %bcond_without	java		# build without Java support
 %bcond_without	objc		# build without ObjC support
 %bcond_with	ssp		# build with stack-smashing protector support
 %bcond_with	multilib	# build with multilib support
+
 %ifnarch amd64 ppc64 s390x sparc64
 %undefine	with_multilib
 %endif
-#
+
 Summary:	GNU Compiler Collection: the C compiler and shared files
 Summary(es):	Colección de compiladores GNU: el compilador C y ficheros compartidos
 Summary(pl):	Kolekcja kompilatorów GNU: kompilator C i pliki współdzielone
 Summary(pt_BR):	Coleçăo dos compiladores GNU: o compilador C e arquivos compartilhados
 Name:		gcc
-Version:	3.4.4
+Version:	3.4.5
 Release:	1
 Epoch:		5
 License:	GPL
 Group:		Development/Languages
 Source0:	ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	b594ff4ea4fbef4ba9220887de713dfe
+# Source0-md5:	7c3c3c3e764dcee5eb771432062d69e1
 Source1:	http://ep09.pld-linux.org/~djrzulf/gcc33/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5:	4736f3422ddfb808423b745629acc321
 Source2:	http://www.trl.ibm.com/projects/security/ssp/gcc2_95_3/gcc_stack_protect.m4.gz
 # Source2-md5:	07d93ad5fc07ca44cdaba46c658820de
-Source3:	gcc_visibility.m4
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-nolocalefiles.patch
 Patch2:		%{name}-ada-link-new-libgnat.patch
-Patch3:		%{name}-nodebug.patch
-Patch4:		%{name}-ssp.patch
-Patch5:		%{name}-ada-link.patch
-Patch6:		%{name}-pr15666.patch
-Patch7:		%{name}-pr16276.patch
-#
-# -fvisibility={default|internal|hidden|protected}
-#
-# Set the default ELF image symbol visibility to the specified option.
-# All symbols will be marked with this unless overrided within the code.
-# Using this feature can very substantially improve linking and load times
-# of shared object libraries, produce more optimised code, provide near-perfect
-# API export and prevent symbol clashes. It is strongly recommended that you
-# use this in any shared objects you distribute.
-#
-# -fvisibility-inlines-hidden
-#
-# Causes all inlined methods to be marked with __attribute__((visibility("hidden")))
-# so that they do not appear in the export table of a DSO and do not require a PLT
-# indirection when used within the DSO. Enabling this option can have a dramatic
-# effect on load and link times of a DSO as it massively reduces the size
-# of the dynamic export table when the library makes heavy use of templates.
-# While it can cause bloating through duplication of code within each DSO
-# where it is used, often the wastage is less than the considerable space
-# occupied by a long symbol name in the export table which is typical when using
-# templates and namespaces.
-#
-# How to Write Shared Libraries: http://people.redhat.com/drepper/dsohowto.pdf
-#
-Patch8:		%{name}-visibility.patch
-#
-Patch20:	%{name}-ada-bootstrap.patch
+Patch3:		%{name}-ada-bootstrap.patch
+Patch4:		%{name}-nodebug.patch
+Patch5:		%{name}-ssp.patch
+Patch6:		%{name}-ada-link.patch
 URL:		http://gcc.gnu.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -89,7 +56,6 @@
 Provides:	cpp = %{epoch}:%{version}-%{release}
 %{?with_ada:Provides:	gcc(ada)}
 %{?with_ssp:Provides:	gcc(ssp)}
-# ksi for gcc > 3.3.x not ready yet
 Obsoletes:	cpp
 Obsoletes:	egcs-cpp
 Obsoletes:	gcc-cpp
@@ -651,18 +617,14 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%{!?debug:%patch3 -p1}
-%{?with_ssp:%patch4 -p1}
-%patch5 -p1
-%patch6 -p0
-%patch7 -p0
-%patch8 -p1
-
 %ifarch alpha ia64
 # needed for bootstrap using gcc 3.3.x on alpha
 # and even using the same 3.4.x(!) (but not Debian's 3.3.x) on ia64
-%patch20 -p2
+%patch3 -p2
 %endif
+%{!?debug:%patch4 -p1}
+%{?with_ssp:%patch5 -p1}
+%patch6 -p1
 
 # because we distribute modified version of gcc...
 perl -pi -e 's/(version.*)";/$1 %{?with_ssp:SSP }(PLD Linux)";/' gcc/version.c
@@ -671,10 +633,6 @@
 mv ChangeLog ChangeLog.general
 
 %build
-# because pr16276 patch modifies configure.ac
-cd gcc
-%{__autoconf}
-cd ..
 cp -f /usr/share/automake/config.sub .
 
 rm -rf obj-%{_target_platform} && install -d obj-%{_target_platform} && cd obj-%{_target_platform}
@@ -722,21 +680,11 @@
 PATH=$PATH:/sbin:%{_sbindir}
 
 cd ..
-# - on alpha stage1 needs -O0 for 3.3->3.4 bootstrap (gnat from 3.3 is seriously broken)
-# - on ia64 use bootstrap-lean as profiledbootstrap is broken (PR 13882, 15836, 16108)
 %{__make} -C obj-%{_target_platform} \
-%ifarch ia64
-	bootstrap-lean \
-%else
-	profiledbootstrap \
-%endif
+	bootstrap \
 	GCJFLAGS="%{rpmcflags}" \
 	BOOT_CFLAGS="%{rpmcflags}" \
-%ifarch alpha
 	STAGE1_CFLAGS="%{rpmcflags} -O0" \
-%else
-	STAGE1_CFLAGS="%{rpmcflags}" \
-%endif
 	LDFLAGS_FOR_TARGET="%{rpmldflags}" \
 	mandir=%{_mandir} \
 	infodir=%{_infodir}
@@ -840,7 +788,6 @@
 %if %{with ssp}
 zcat %{SOURCE2} > $RPM_BUILD_ROOT%{_aclocaldir}/gcc_stack_protect.m4
 %endif
-install %{SOURCE3} $RPM_BUILD_ROOT%{_aclocaldir}/gcc_visibility.m4
 
 # kill unpackaged files
 rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
@@ -890,7 +837,6 @@
 %dir %{_libdir}/gcc/*/*
 %dir %{_libdir}/gcc/*/*/include
 %{?with_ssp:%{_aclocaldir}/gcc_stack_protect.m4}
-%{_aclocaldir}/gcc_visibility.m4
 
 %attr(755,root,root) %{_bindir}/*-gcc*
 %attr(755,root,root) %{_bindir}/gcc
@@ -1215,6 +1161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.278.2.3  2005/12/09 01:40:31  pluto
+- updated to 3.4.5.
+
 Revision 1.278.2.2  2005/05/30 21:02:57  freetz
 - rel.1, removed unpackaged files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gcc.spec?r1=1.278.2.2&r2=1.278.2.3&f=u




More information about the pld-cvs-commit mailing list