diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-04-09 20:46:33 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-04-09 20:46:33 +0000 |
commit | 0978e4c8435a3084a7ae36241243e64fde2d9ba9 (patch) | |
tree | d3b9f05d2839c36b8ffe4591412a511d82607b73 | |
parent | 1ad9ccd18a9d2ca18c12143a2a0d6dfe78a382a5 (diff) |
Updated to fedora-glibc-20090409T1422
-rw-r--r-- | fedora/glibc.spec.in | 33 |
1 files changed, 31 insertions, 2 deletions
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 <<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 |