From 0978e4c8435a3084a7ae36241243e64fde2d9ba9 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 9 Apr 2009 20:46:33 +0000 Subject: Updated to fedora-glibc-20090409T1422 --- fedora/glibc.spec.in | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) (limited to 'fedora') diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in index 62e55145ab..e388b94a1c 100644 --- a/fedora/glibc.spec.in +++ b/fedora/glibc.spec.in @@ -229,6 +229,31 @@ package or when debugging this package. %endif %endif +mkdir -p override_headers/asm +cat > override_headers/asm/unistd.h < +%ifarch %{ix86} +#ifndef __NR_preadv +#define __NR_preadv 333 +#define __NR_pwritev 334 +#endif +%endif +%ifarch x86_64 +#ifndef __NR_preadv +#define __NR_preadv 295 +#define __NR_pwritev 296 +#endif +%endif +%ifarch ppc ppc64 +#ifndef __NR_preadv +#define __NR_preadv 320 +#define __NR_pwritev 321 +#endif +%endif +#endif +EOF + # A lot of programs still misuse memcpy when they have to use # memmove. The memcpy implementation below is not tolerant at # all. @@ -317,10 +342,10 @@ mkdir $builddir ; cd $builddir build_CFLAGS="$BuildFlags -g -O3 $*" CC="$GCC" CXX="$GXX" CFLAGS="$build_CFLAGS" ../configure --prefix=%{_prefix} \ --enable-add-ons=nptl$AddOns --without-cvs $EnableKernel \ - --with-headers=%{_prefix}/include --enable-bind-now \ + --with-headers=`cd ..; pwd`/override_headers:%{_prefix}/include --enable-bind-now \ --with-tls --with-__thread --build %{nptl_target_cpu}-redhat-linux \ --host %{nptl_target_cpu}-redhat-linux \ - --disable-profile --enable-nss-crypt + --disable-profile --enable-experimental-malloc --enable-nss-crypt make %{?_smp_mflags} -r CFLAGS="$build_CFLAGS" PARALLELMFLAGS=-s cd .. @@ -1009,6 +1034,10 @@ rm -f *.filelist* %endif %changelog +* Thu Apr 9 2009 Jakub Jelinek 2.9.90-15 +- rebuilt with fixed gcc to avoid miscompilation of i586 memmove +- reenable experimental malloc again + * Wed Apr 8 2009 Jakub Jelinek 2.9.90-14 - update from trunk - temporarily disable experimental malloc -- cgit v1.2.3