SPECS: uClibc.spec - 0.9.30.1 - epoch 3 - filter out -Wl, -z, combreloc and -...

baggins baggins at pld-linux.org
Sat Mar 14 02:42:03 CET 2009


Author: baggins                      Date: Sat Mar 14 01:42:03 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.9.30.1
- epoch 3
- filter out -Wl,-z,combreloc and -Wl,-z,relro in gcc wrapper
- use linker GNU hash style (fixes _stdio_openlist_use_count problem)
- fixed ppoll syscall (it has 5 args, not 4)

---- Files affected:
SPECS:
   uClibc.spec (1.176 -> 1.177) 

---- Diffs:

================================================================
Index: SPECS/uClibc.spec
diff -u SPECS/uClibc.spec:1.176 SPECS/uClibc.spec:1.177
--- SPECS/uClibc.spec:1.176	Wed Feb 25 15:46:14 2009
+++ SPECS/uClibc.spec	Sat Mar 14 02:41:56 2009
@@ -1,12 +1,5 @@
 # $Revision$, $Date$
 #
-# TODO:
-# - add filtering out -Wl,-z,-combreloc in gcc wrapper
-#   (causes linking to be done against glibc instead of uclibc)
-# - 0.9.30 is broken. First build it and then try to build
-#   lvm2.spec on i686 (or any *.c program like printf("test")).
-#   Fails with: symbol '_stdio_openlist_use_count': can't resolve symbol ...
-#
 # Conditional build:
 %bcond_without	shared		# don't build shared lib support
 %bcond_with	verbose		# verbose mode
@@ -18,20 +11,20 @@
 Summary:	C library optimized for size
 Summary(pl.UTF-8):	Biblioteka C zoptymalizowana na rozmiar
 Name:		uClibc
-Version:	0.9.30
-Release:	3.1
-Epoch:		2
+Version:	0.9.30.1
+Release:	1
+Epoch:		3
 License:	LGPL v2.1
 Group:		Libraries
 Source0:	http://uclibc.org/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5:	e5766e2566e0297adebebbcc0aba1f2d
+# Source0-md5:	1a4b84e5536ad8170563ffa88c34679c
 Patch0:		%{name}-newsoname.patch
 Patch1:		%{name}-toolchain-wrapper.patch
 Patch2:		%{name}-targetcpu.patch
 Patch3:		%{name}-debug.patch
 Patch4:		%{name}-stdio-unhide.patch
 Patch5:		%{name}-sparc.patch
-Patch6:		%{name}-headers.patch
+Patch6:		%{name}-ppoll.patch
 URL:		http://uclibc.org/
 BuildRequires:	binutils-gasp
 BuildRequires:	cpp
@@ -90,7 +83,7 @@
 %patch4 -p1
 # check if it's needed now... ldso is broken on sparc anyway
 #%patch5 -p1
-%patch6 -p1
+%patch6 -p2
 
 # ARCH is already determined by uname -m
 %ifarch %{ix86}
@@ -141,6 +134,7 @@
 # UCLIBC_HAS_REENTRANT_RPC is not set
 UCLIBC_HAS_SYS_SIGLIST=y
 SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)/lib"
+LDSO_GNU_HASH_SUPPORT=y
 %if %{without shared}
 HAVE_NO_SHARED=y
 # HAVE_SHARED is not set
@@ -162,8 +156,8 @@
 	TARGET_CPU="%{_target_cpu}" \
 	GCC_BIN=%{_host_cpu}-%{_vendor}-%{_os}-gcc \
 	HOSTCC="%{__cc}" \
-	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
 	CC="%{__cc}" \
+	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
 	OPTIMIZATION="%{rpmcflags} -Os"
 
 # The Makefile includes .config and later tries to assign same variable,
@@ -178,8 +172,8 @@
 	TARGET_ARCH=$target_arch \
 	GCC_BIN=%{_host_cpu}-%{_vendor}-%{_os}-gcc \
 	HOSTCC="%{__cc}" \
-	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
 	CC="%{__cc}" \
+	HOSTCFLAGS="%{rpmcflags} %{rpmldflags}" \
 	OPTIMIZATION="%{rpmcflags} -Os"
 
 %install
@@ -327,6 +321,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.177  2009/03/14 01:41:56  baggins
+- 0.9.30.1
+- epoch 3
+- filter out -Wl,-z,combreloc and -Wl,-z,relro in gcc wrapper
+- use linker GNU hash style (fixes _stdio_openlist_use_count problem)
+- fixed ppoll syscall (it has 5 args, not 4)
+
 Revision 1.176  2009/02/25 14:46:14  baggins
 - BR ncurses-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/uClibc.spec?r1=1.176&r2=1.177&f=u



More information about the pld-cvs-commit mailing list