]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Updated to fedora-glibc-20090409T1422
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Apr 2009 20:46:33 +0000 (20:46 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 9 Apr 2009 20:46:33 +0000 (20:46 +0000)
fedora/glibc.spec.in

index 62e55145ab0564150da21c6f4a2ac4926387d51a..e388b94a1cf5399b187937b6cc31d9932eda383a 100644 (file)
@@ -229,6 +229,31 @@ package or when debugging this package.
 %endif
 %endif
 
+mkdir -p override_headers/asm
+cat > override_headers/asm/unistd.h <<EOF
+#ifndef _HACK_ASM_UNISTD_H
+#include_next <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 <jakub@redhat.com> 2.9.90-15
+- rebuilt with fixed gcc to avoid miscompilation of i586 memmove
+- reenable experimental malloc again
+
 * Wed Apr  8 2009 Jakub Jelinek <jakub@redhat.com> 2.9.90-14
 - update from trunk
 - temporarily disable experimental malloc