SPECS: glibc.spec - postshell.patch obsolete, postshell.c is now u...

glen glen at pld-linux.org
Tue Jul 11 17:31:09 CEST 2006


Author: glen                         Date: Tue Jul 11 15:31:09 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- postshell.patch obsolete, postshell.c is now used
- use diet rather klcc (merge from AC-branch)
- (unable to test due lack of Th build env)

---- Files affected:
SPECS:
   glibc.spec (1.637 -> 1.638) 

---- Diffs:

================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.637 SPECS/glibc.spec:1.638
--- SPECS/glibc.spec:1.637	Tue Jul  4 08:45:32 2006
+++ SPECS/glibc.spec	Tue Jul 11 17:31:04 2006
@@ -10,7 +10,7 @@
 #
 # TODO:
 # - look at locale fixes/updates in bugzilla
-# - restore postshell.c updates (see AC-branch or old HEAD)
+# - no more chicken-egg problem (postshell is no more dynamically linked with libc), remove SONAME symlinks? see files section.
 # [OLD]
 # - localedb-gen man pages(?)
 # - math/{test-fenv,test-tgmath,test-float,test-ifloat},
@@ -58,7 +58,7 @@
 Patch4:		%{name}-alpha-ev6-opcodes.patch
 
 Patch6:		%{name}-paths.patch
-Patch7:		%{name}-postshell.patch
+
 Patch8:		%{name}-missing-nls.patch
 Patch9:		%{name}-java-libc-wait.patch
 
@@ -821,7 +821,7 @@
 %patch4 -p1
 
 %patch6 -p1
-%patch7 -p1
+
 %patch8 -p1
 %patch9 -p1
 
@@ -891,9 +891,9 @@
 %endif
 
 %if %{without cross}
-# compiling static using klibc vs glibc saves 490k
-klcc %{SOURCE8} %{rpmcflags} -static -o postshell
-klcc %{SOURCE7} %{rpmcflags} -static -o glibc-postinst
+# compiling static using diet vs glibc saves 400k
+diet -Os %{__cc} %{SOURCE8} %{rpmcflags} -static -o postshell
+diet -Os %{__cc} %{SOURCE7} %{rpmcflags} -static -o glibc-postinst
 %endif
 
 %install
@@ -1102,7 +1102,7 @@
 %attr(755,root,root) /sbin/ldconfig
 # ld* and libc.so.6 SONAME symlinks must be in package because of
 # chicken-egg problem (postshell is dynamically linked with libc);
-# NOTE: postshell is now linked statically with klibc
+# NOTE: postshell is now linked statically with diet
 # ld-*.so SONAME is:
 #   ld.so.1 on ppc
 #   ld64.so.1 on ppc64,s390x
@@ -1445,6 +1445,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.638  2006/07/11 15:31:04  glen
+- postshell.patch obsolete, postshell.c is now used
+- use diet rather klcc (merge from AC-branch)
+- (unable to test due lack of Th build env)
+
 Revision 1.637  2006/07/04 06:45:32  glen
 - regression detected with postshell.c
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/glibc.spec?r1=1.637&r2=1.638&f=u



More information about the pld-cvs-commit mailing list