SHA256
1
0
forked from pool/glibc

Accepting request 85072 from home:a_jaeger:branches:openSUSE:Factory

Fix changes entry.

OBS-URL: https://build.opensuse.org/request/show/85072
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=109
This commit is contained in:
Andreas Jaeger 2011-09-27 11:48:32 +00:00 committed by Git OBS Bridge
parent 71a49f5879
commit 454dec769f
5 changed files with 52 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2455ca82dd99d898d8000fc0b6130d4ab80a5394fe3c1dfa6b5e9c894a73384
size 15640243

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3b9989d779eeac58033375d0fcfbb984127291658f5133bd155d452ec702540
size 15643610

View File

@ -0,0 +1,30 @@
Index: glibc-2.14/elf/soinit.c
===================================================================
--- glibc-2.14.orig/elf/soinit.c
+++ glibc-2.14/elf/soinit.c
@@ -26,7 +26,11 @@ void
__libc_global_ctors (void)
{
/* Call constructor functions. */
- run_hooks (__CTOR_LIST__);
+ void (**tem)();
+ asm ("" : "=r" (tem) : "0" (__CTOR_LIST__));
+ /* Call destructor functions. */
+
+ run_hooks (tem);
}
@@ -36,7 +40,11 @@ void
__libc_fini (void)
{
/* Call destructor functions. */
- run_hooks (__DTOR_LIST__);
+ void (**tem)();
+ asm ("" : "=r" (tem) : "0" (__DTOR_LIST__));
+ /* Call destructor functions. */
+
+ run_hooks (tem);
}
void (*_fini_ptr) (void) __attribute__ ((section (".fini_array")))

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Sep 27 11:24:02 UTC 2011 - aj@suse.de
- Update to 2.14 git version 8bd683657e8a, it contains backports from
glibc trunk:
+ Avoid race between {,__de}allocate_stack and __reclaim_stacks
during fork
- Add glibc-2.14-fix-ctors.patch to run ctors (bnc#717671), gcc 4.7
optimized these away.
-------------------------------------------------------------------
Thu Sep 22 21:07:43 CEST 2011 - dmueller@suse.de
@ -9,6 +19,11 @@ Thu Sep 22 13:10:02 UTC 2011 - adrian@suse.de
- add armv8l architecture
- don't enforce armv5tel for all arm architectures anymore
-------------------------------------------------------------------
Tue Sep 20 07:54:21 UTC 2011 - aj@suse.de
- Cleanup spec file: remove some tags
-------------------------------------------------------------------
Mon Sep 19 08:09:40 UTC 2011 - opensuse@cboltz.de

View File

@ -77,12 +77,11 @@ Obsoletes: glibc-64bit
%ifarch ppc
Obsoletes: glibc-32bit
%endif
AutoReqProv: on
Version: 2.14
Release: 11
Url: http://www.gnu.org/software/libc/libc.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: glibc-%{version}-69c1dfc1a796.tar.bz2
Source: glibc-%{version}-8bd683657e8a.tar.bz2
Source2: http://ftp.gnu.org/gnu/glibc/glibc-ports-2.14.tar.bz2
Source3: noversion.tar.bz2
Source4: manpages.tar.bz2
@ -205,6 +204,8 @@ Patch71: x86-cpuid-level2.patch
Patch72: glibc-2.15-avoid-vsyscall.patch
# PATCH-FIX-UPSTREAM Fix assertion error in res_query.c (bso#13013)
Patch73: glibc-resolv-assert.diff
# PATCH-FIX-OPENSUSE Run ctors (bnc#717671) aj@suse.de
Patch74: glibc-2.14-fix-ctors.patch
# PATCH-FEATURE-OPENSUSE -- add sha support to crypt_blowfish lnussel@suse.de
Patch80: crypt_blowfish-1.2-sha.diff
# PATCH-FEATURE-OPENSUSE -- use separate symbol version for Owl extensions - lnussel@suse.de
@ -440,6 +441,7 @@ rm nscd/s-stamp
%patch71 -p1
%patch72 -p1
%patch73 -p1
%patch74 -p1
#
# Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map->l_init_called' failed!
@ -845,9 +847,6 @@ install -m 644 %{SOURCE22} %{buildroot}/lib/systemd/system
###
#######################################################################
%clean
rm -rf %{buildroot}
# Note: glibc_post_upgrade does:
# %%set_permissions %%{_libdir}/pt_chown
# since we cannot do it in our own post section