SHA256
1
0
forked from pool/glibc

- Upgrade to latest release/2.11/master - glibc-2.11.3-b72646ad0c41

- Random assortion of bugfixes, some #defines for new kernels
- Retired patches:
  - glibc-2.11.3-bnc658509.diff
  - glibc-2.11.3-bso12397.diff
  - glibc-sparc64-fxstat.diff
- Remove the NSS hack of opening modules using RTLD_DEEPBIND.
  This was useful for nss_ldap, since some applications used a different
  LDAP library with clashing symbol names. However, it also created
  many headaches, especially with the NSS modules not respecting
  malloc() overrides. Now, sssd is used by default for LDAP resolutions
  and we can therefore safely get rid of the hack. [bnc#477061]
- Remove the currently disabled AMD string function overrides.
  Benchmarking did not unearth any differences that would make
  convincing case for keeping the functions with all the associated
  maintenance headaches; AMD does not recommend keeping their custom
  versions of the functions either.

OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=47
This commit is contained in:
Petr Baudis
2011-02-04 01:37:38 +00:00
committed by Git OBS Bridge
parent 978b829750
commit 6199fe8ce7
9 changed files with 30 additions and 4525 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package glibc (Version 2.11.3)
# spec file for package glibc
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -68,7 +68,7 @@ Release: 3
Url: http://www.gnu.org/software/libc/libc.html
PreReq: filesystem
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: glibc-%{version}.tar.bz2
Source: glibc-%{version}-b72646ad0c41.tar.bz2
Source2: glibc-ports-2.10.1-2b2b217196.tar.bz2
Source3: noversion.tar.bz2
Source4: manpages.tar.bz2
@@ -98,7 +98,6 @@ Patch9: glibc-2.3-regcomp.diff
Patch10: glibc-2.3.2-revert_tcsetattr.diff
Patch11: glibc-2.3.1.localedef.diff
Patch12: glibc-2.3.2.no_archive.diff
Patch13: glibc-2.3.3-amd64-string.diff
Patch14: libm-x86-64.diff.bz2
Patch15: glibc-2.3.90-bindresvport.blacklist.diff
Patch16: glibc-suse-note.diff
@@ -119,7 +118,6 @@ Patch32: glibc-2.8-getconf.diff
Patch33: getaddrinfo-ipv6-sanity.diff
Patch35: ppc-atomic.diff
Patch36: glibc-2.8-clone.diff
Patch37: glibc-nss-deepbind.diff
Patch39: glibc-compiled-binaries.diff
Patch40: glibc-selinux.diff
Patch41: glibc-check-native-missing-include.diff
@@ -139,10 +137,6 @@ Patch500: ARM_glibc-2.10.1-local-eabi-wchar.diff
Patch501: ARM_glibc-2.10.1-local-hwcap-updates.diff
Patch502: ARM_glibc-2.10.1-local-lowlevellock.diff
Patch503: ARM_glibc-2.10.1-local-no-hwcap.diff
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=11155
Patch600: glibc-sparc64-fxstat.diff
Patch601: glibc-2.11.3-bnc658509.diff
Patch602: glibc-2.11.3-bso12397.diff
%description
The GNU C Library provides the most important standard libraries used
@@ -311,11 +305,8 @@ versions of your software.
%patch10
%patch11
%patch12
#%patch13
# strncmp.S triggers amd64 assembler bug [bnc#540647]
#rm sysdeps/x86_64/strncmp.S
%patch14 -E
# We have s_sincos.c in patch13, remove duplicate
# We have s_sincos.c in patch14, remove duplicate
rm sysdeps/x86_64/fpu/s_sincos.S
%patch15
%patch16
@@ -341,7 +332,6 @@ rm nscd/s-stamp
%patch33
%patch35
%patch36
%patch37
%patch39
%patch40
%patch41
@@ -363,9 +353,6 @@ rm nscd/s-stamp
%patch502
%patch503
%endif
%patch600 -p1
%patch601
%patch602
#
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
#
@@ -386,12 +373,12 @@ rm nscd/s-stamp
rm -fv sysdeps/powerpc/powerpc32/power4/hp-timing.c sysdeps/powerpc/powerpc32/power4/hp-timing.h
find . -name configure | xargs touch
#######################################################################
###
### BUILD
###
#######################################################################
%build
if [ -x /bin/uname.bin ]; then
/bin/uname.bin -a
@@ -556,7 +543,6 @@ $BuildCC -static -Os -g $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgra
%endif
'-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_prefix}/%{_lib}/gconv"'
#######################################################################
###
### CHECK
@@ -579,7 +565,6 @@ $BuildCC -static -Os -g $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgra
%endif
make -C cc-base check-abi || echo check-abi failed
#######################################################################
###
### INSTALL
@@ -672,7 +657,6 @@ cp -av bits/stdio-lock.h $RPM_BUILD_ROOT%{_prefix}/include/bits/stdio-lock.h
ln -sf ../%{_lib}/ld-%{version}.so $RPM_BUILD_ROOT/lib/ld64.so.1
%endif
# Miscelanna:
install -m 0700 glibc_post_upgrade $RPM_BUILD_ROOT%{_sbindir}
@@ -693,7 +677,6 @@ cp -p manual/libc/*.html $RPM_BUILD_ROOT/usr/share/doc/glibc
cd manpages; make install_root=$RPM_BUILD_ROOT install; cd ..
# nscd tools:
cp nscd/nscd.conf $RPM_BUILD_ROOT/etc
@@ -767,7 +750,6 @@ for o in $RPM_BUILD_ROOT/%{_libdir}/crt[1in].o $RPM_BUILD_ROOT/%{_libdir}/lib*_n
objcopy -R ".comment.SUSE.OPTs" -R ".note.gnu.build-id" $o
done
#######################################################################
###
### ...
@@ -805,7 +787,6 @@ done
%insserv_cleanup
exit 0
#######################################################################
###
### FILES
@@ -813,6 +794,7 @@ exit 0
#######################################################################
# glibc
%files
%defattr(-,root,root)
%doc LICENSES