Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-glibc-2.15 grimoire by Ladislav Hagara (59144dee93ca4fd553927614769441e382ee5a31)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel-glibc-2.15 grimoire by Ladislav Hagara (59144dee93ca4fd553927614769441e382ee5a31)
  • Date: Sun, 1 Jul 2012 09:09:06 -0500

GIT changes to devel-glibc-2.15 grimoire by Ladislav Hagara <hgr AT vabo.cz>:

libs/glibc/BUILD | 2
libs/glibc/DETAILS | 2
libs/glibc/HISTORY | 8 +
libs/glibc/PRE_BUILD | 15 --
libs/glibc/do-not-install-timezones-2.patch | 20 ---
libs/glibc/do-not-install-timezones.patch | 124 --------------------
libs/glibc/gcc45.patch | 49 -------
libs/glibc/glibc-2.15-fixes-1.patch | 173
----------------------------
libs/glibc/test-installation.pl.patch | 4
9 files changed, 15 insertions(+), 382 deletions(-)

New commits:
commit 59144dee93ca4fd553927614769441e382ee5a31
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

glibc 2.16.0

scripts/test-installation.pl fails for me with

CC="gcc" /usr/bin/perl scripts/test-installation.pl
/usr/src/glibc-2.16.0.bld/
Unmatched ( in regex; marked by <-- HERE in m/$( <-- HERE if
$(abi-32-ld-soname)
,$(abi-32-ld-soname),ld/ at scripts/test-installation.pl line 172, <LDD>
line 1

diff --git a/libs/glibc/BUILD b/libs/glibc/BUILD
index f9c2ec6..33f4735 100755
--- a/libs/glibc/BUILD
+++ b/libs/glibc/BUILD
@@ -139,6 +139,8 @@ ln -s /usr/include/sys/capability.h
$SOURCE_DIRECTORY/nscd/sys/capability.h &&
#
cd $SOURCE_DIRECTORY.bld &&

+OPTS="--enable-obsolete-rpc $OPTS" &&
+
#
# Configure glibc to use the sanitised headers
# http://bugs.sourcemage.org/show_bug.cgi?id=7560
diff --git a/libs/glibc/DETAILS b/libs/glibc/DETAILS
index 68a3111..5621f74 100755
--- a/libs/glibc/DETAILS
+++ b/libs/glibc/DETAILS
@@ -31,7 +31,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git

SOURCE_URL="git://sourceware.org/git/glibc.git:$SPELL-git:release/${GLIBC_BRANCH#scm-}/master"
SOURCE_IGNORE=volatile
else
- VERSION=2.15
+ VERSION=2.16.0
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE2=$SOURCE.sig
diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index 81d2c4a..0c8f813 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,11 @@
+2012-07-01 Ladislav Hagara <hgr AT vabo.cz>
+ * DETAILS: 2.16.0
+ * BUILD: --enable-obsolete-rpc added
+ * PRE_BUILD, glibc-2.15-fixes-1.patch, gcc45.patch,
+ do-not-install-timezones.patch, do-not-install-timezones-2.patch,
+ test-installation.pl.patch: patches removed
+ * PRE_BUILD: removed scripts/test-installation.pl, broken for me
+
2012-06-26 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS: version 2.15
* PRE_BUILD: added gcc specific fixes, added patch to fix segfaults
diff --git a/libs/glibc/PRE_BUILD b/libs/glibc/PRE_BUILD
index bf42cf5..87a0c69 100755
--- a/libs/glibc/PRE_BUILD
+++ b/libs/glibc/PRE_BUILD
@@ -1,11 +1,10 @@
default_pre_build &&

+# seems perl script scripts/test-installation.pl is broken now
+sed -i 's:CC="$(CC)" $(PERL) scripts/test-installation.pl
$(common-objpfx)::' $SOURCE_DIRECTORY/Makefile &&
+
if [ "$GLIBC_NPTL" = "y" ]; then
cd $SOURCE_DIRECTORY &&
-
#http://sourceware.org/git/?p=glibc.git;a=commit;h=482ff4dae91cf9a288284072d1a299868db7a634
- patch -p1 -d $SOURCE_DIRECTORY <
$SPELL_DIRECTORY/do-not-install-timezones.patch &&
-
#http://sourceware.org/git/?p=glibc.git;a=commit;h=a458e7fe3835b8a3bcac5a54733af45cc06fc0da
- patch -p1 -d $SOURCE_DIRECTORY <
$SPELL_DIRECTORY/do-not-install-timezones-2.patch &&
#
# Unpack glibc-kernel-headers
#
@@ -94,8 +93,6 @@ rm -rf $GLIBC_HEADERS_DIR/include/drm &&
cd $SOURCE_DIRECTORY &&
patch -p0 < $SCRIPT_DIRECTORY/Makefile.patch &&
patch -p1 < $SCRIPT_DIRECTORY/as-test-x.patch &&
-patch -p1 < $SPELL_DIRECTORY/gcc45.patch &&
-patch -Np1 < $SPELL_DIRECTORY/glibc-2.15-fixes-1.patch &&

# disabled libgd detection/building memusagestat for now until a better
# fix has been found, bug #8277
@@ -117,8 +114,4 @@ mk_source_dir $SOURCE_DIRECTORY.bld &&
local test_path=$SOURCE_DIRECTORY.bld/test-installation &&
mkdir $test_path &&
sed -i "s,/tmp,$test_path,g" scripts/test-installation.pl &&
-sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile &&
-
-# CC="gcc" /usr/bin/perl scripts/test-installation.pl
/usr/src/glibc-2.13.bld/
-# /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lnss_test1
-patch scripts/test-installation.pl <
$SPELL_DIRECTORY/test-installation.pl.patch
+sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile
diff --git a/libs/glibc/do-not-install-timezones-2.patch
b/libs/glibc/do-not-install-timezones-2.patch
deleted file mode 100644
index 13b6ddc..0000000
--- a/libs/glibc/do-not-install-timezones-2.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/timezone/Makefile b/timezone/Makefile
-index 00bfba6..9e55a6a 100644
---- a/timezone/Makefile
-+++ b/timezone/Makefile
-@@ -45,7 +45,6 @@ include ../Makeconfig # Get objpfx defined so we
can use it below.
- CPPFLAGS-zic = -DNOT_IN_libc
-
- ifeq ($(have-ksh),yes)
--install-others += $(inst_zonedir)/iso3166.tab $(inst_zonedir)/zone.tab
- install-bin-script = tzselect
- generated += tzselect
- endif
-@@ -111,7 +110,3 @@ $(objpfx)tzselect: tzselect.ksh
$(common-objpfx)config.make
- -e 's%@TZDIR@%$(zonedir)%g' < $< > $@.new
- chmod 555 $@.new
- mv -f $@.new $@
--
--$(addprefix $(inst_zonedir)/,iso3166.tab zone.tab): \
-- $(inst_zonedir)/%: % $(+force)
-- $(do-install)
diff --git a/libs/glibc/do-not-install-timezones.patch
b/libs/glibc/do-not-install-timezones.patch
deleted file mode 100644
index 61b8226..0000000
--- a/libs/glibc/do-not-install-timezones.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-diff --git a/timezone/Makefile b/timezone/Makefile
-index e8fb716..d5ea538 100644
---- a/timezone/Makefile
-+++ b/timezone/Makefile
-@@ -1,4 +1,4 @@
--# Copyright (C) 1998,1999,2000,2002,2005,2007 Free Software Foundation, Inc.
-+# Copyright (C) 1998-2000,2002,2005,2007,2012 Free Software Foundation, Inc.
- # This file is part of the GNU C Library.
-
- # The GNU C Library is free software; you can redistribute it and/or
-@@ -49,33 +49,6 @@ include ../Makeconfig # Get objpfx defined so we
can use it below.
-
- CPPFLAGS-zic = -DNOT_IN_libc
-
--# z.* use this variable.
--define nl
--
--
--endef
--ifndef avoid-generated
--ifndef inhibit_timezone_rules
---include $(addprefix $(objpfx)z.,$(tzfiles))
--endif
--endif
--
--# Make these absolute file names.
--installed-localtime-file := $(firstword $(filter /%,$(inst_localtime-file))
\
-- $(addprefix $(inst_zonedir)/, \
-- $(localtime-file)))
--installed-posixrules-file := $(firstword $(filter /%,$(posixrules-file)) \
-- $(addprefix $(inst_zonedir)/, \
-- $(posixrules-file)))
--
--ifeq ($(cross-compiling),no)
--# Don't try to install the zoneinfo files since we can't run zic.
--install-others = $(addprefix $(inst_zonedir)/,$(zonenames) \
-- $(zonenames:%=posix/%) \
-- $(zonenames:%=right/%)) \
-- $(installed-localtime-file) $(installed-posixrules-file)
--endif
--
- ifeq ($(have-ksh),yes)
- install-others += $(inst_zonedir)/iso3166.tab $(inst_zonedir)/zone.tab
- install-bin-script = tzselect
-@@ -85,79 +58,6 @@ endif
- include ../Rules
-
-
--$(tzfiles:%=$(objpfx)z.%): $(objpfx)z.%: % Makefile
--# Kludge alert: we use an implicit rule (in what we are generating here)
--# because that is the only way to tell Make that the one command builds all
--# the files.
--# The extra kludge for the $(tzlinks) files is necessary since running zic
--# this file requires all other files to exist. Blech!
-- $(make-target-directory)
-- (echo 'define $*-zones' ;\
-- $(AWK) '$$1 == "Zone" { print $$2 } $$1 == "Link" { print $$3 }' $^
;\
-- echo 'endef' ;\
-- echo '$*-zones := $$(subst $$(nl), ,$$($*-zones))' ;\
-- echo 'ifdef $*-zones' ;\
-- if test x$(findstring $*, $(tzlinks)) != x; then \
-- echo '$$(addprefix $$(inst_zonedir)/right/,$$($*-zones)): \';\
-- echo '$$(foreach t,$$(tzbases),$$(addprefix
$$(inst_zonedir)/right/,$$($$t-zones)))' ;\
-- echo '$$(addprefix $$(inst_zonedir)/posix/,$$($*-zones)): \';\
-- echo '$$(foreach t,$$(tzbases),$$(addprefix
$$(inst_zonedir)/posix/,$$($$t-zones)))' ;\
-- echo '$$(addprefix $$(inst_zonedir)/,$$($*-zones)): \' ;\
-- echo '$$(foreach t,$$(tzbases),$$(addprefix
$$(inst_zonedir)/,$$($$t-zones)))' ;\
-- fi ;\
-- echo '$$(addprefix $$(dir
$$(inst_zonedir))zone%/right/,$$($*-zones)): \' ;\
-- echo '$< $$(objpfx)zic leapseconds yearistype' ;\
-- echo ' $$(tzcompile)' ;\
-- echo '$$(addprefix $$(dir
$$(inst_zonedir))zone%/posix/,$$($*-zones)): \' ;\
-- echo '$< $$(objpfx)zic /dev/null yearistype' ;\
-- echo ' $$(tzcompile)' ;\
-- echo '$$(addprefix $$(dir $$(inst_zonedir))zone%/,$$($*-zones)): \'
;\
-- echo '$< $$(objpfx)zic $$(leapseconds) yearistype' ;\
-- echo ' $$(tzcompile)' ;\
-- echo 'endif' ;\
-- echo 'zonenames := $$(zonenames) $$($*-zones)' ;\
-- ) > $@.new
-- mv $@.new $@
--
--.PHONY: echo-zonenames
--echo-zonenames:
-- @echo 'Known zones: $(zonenames)'
--
--
--# We have to use `-d $(inst_zonedir)' to explictly tell zic where to
--# place the output files although $(zonedir) is compiled in. But the
--# user might have set $(install_root) on the command line of `make install'.
--zic-cmd = $(built-program-cmd) -d $(inst_zonedir)
--tzcompile = $(zic-cmd)$(target-zone-flavor) -L $(word 3,$^) \
-- -y $(dir $(word 4,$^))$(notdir $(word 4,$^)) $<
--
--# The source files specify the zone names relative to the -d directory,
--# so for the posix/ and right/ flavors we need to pass -d
$(inst_zonedir)/posix
--# and the like. This magic extracts /posix or /right if it's the first
--# component after $(inst_zonedir) in the target name $@.
--target-zone-flavor = $(filter /posix /right, \
-- /$(firstword $(subst /, , \
-- $(patsubst
$(inst_zonedir)/%,%,$@))))
--
--ifdef localtime
--$(installed-localtime-file): $(inst_zonedir)/$(localtime) $(objpfx)zic \
-- $(+force)
-- $(make-target-directory)
-- if test -r $@; then \
-- echo Site timezone NOT reset to Factory.; \
-- else \
-- rm -f $@T; \
-- $(SHELL) $(..)scripts/rellns-sh $< $@T; \
-- mv -f $@T $@; \
-- fi
--endif
--ifdef posixrules
--$(installed-posixrules-file): $(inst_zonedir)/$(posixrules) $(objpfx)zic \
-- $(+force)
-- $(zic-cmd) -p $(posixrules)
--endif
--
--
- $(objpfx)zic: $(objpfx)scheck.o $(objpfx)ialloc.o
-
- tz-cflags = -DTZDIR='"$(zonedir)"' \
diff --git a/libs/glibc/gcc45.patch b/libs/glibc/gcc45.patch
deleted file mode 100644
index 02920c1..0000000
--- a/libs/glibc/gcc45.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Submitted By: Matt Burgess <matthew_at_linuxfromscratch_dot_org>
-Date: 2010-04-18
-Initial Package Version: 2.11.1
-Upstream Status: Not Submitted
-Origin: http://www.eglibc.org/archives/patches/msg00073.html
-Description: Fixes the following build problem with GCC-4.5.0:
-
-/mnt/lfs/sources/libc-build/math/s_frexp.os.dt -MT
/mnt/lfs/sources/libc-build/math/s_frexp.os
-./sysdeps/i386/fpu/s_frexp.S: Assembler messages:
-./sysdeps/i386/fpu/s_frexp.S:66: Error: invalid identifier for ".ifdef"
-./sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first
unrecognized character is `1'
-./sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first
unrecognized character is `1'
-./sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first
unrecognized character is `1'
-./sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first
unrecognized character is `.'
-./sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first
unrecognized character is `1'
-./sysdeps/i386/fpu/s_frexp.S:66: Error: expected comma after name `' in
.size directive
-./sysdeps/i386/fpu/s_frexp.S:66: Error: ".endif" without ".if"
-./sysdeps/i386/fpu/s_frexp.S:66: Error: junk `.get_pc_thunk.dx' after
expression
-make[2]: *** [/mnt/lfs/sources/libc-build/math/s_frexp.os] Error 1
-
-diff -Naur glibc-2.11.1.orig/nptl/sysdeps/pthread/pt-initfini.c
glibc-2.11.1/nptl/sysdeps/pthread/pt-initfini.c
---- glibc-2.11.1.orig/nptl/sysdeps/pthread/pt-initfini.c 2009-12-08
20:10:20.000000000 +0000
-+++ glibc-2.11.1/nptl/sysdeps/pthread/pt-initfini.c 2010-04-17
11:34:06.882681001 +0000
-@@ -45,6 +45,11 @@
- /* Embed an #include to pull in the alignment and .end directives. */
- asm ("\n#include \"defs.h\"");
-
-+asm ("\n#if defined __i686 && defined __ASSEMBLER__");
-+asm ("\n#undef __i686");
-+asm ("\n#define __i686 __i686");
-+asm ("\n#endif");
-+
- /* The initial common code ends here. */
- asm ("\n/*@HEADER_ENDS*/");
-
-diff -Naur glibc-2.11.1.orig/sysdeps/unix/sysv/linux/i386/sysdep.h
glibc-2.11.1/sysdeps/unix/sysv/linux/i386/sysdep.h
---- glibc-2.11.1.orig/sysdeps/unix/sysv/linux/i386/sysdep.h 2009-12-08
20:10:20.000000000 +0000
-+++ glibc-2.11.1/sysdeps/unix/sysv/linux/i386/sysdep.h 2010-04-17
11:34:06.882681001 +0000
-@@ -29,6 +29,10 @@
- #include <dl-sysdep.h>
- #include <tls.h>
-
-+#if defined __i686 && defined __ASSEMBLER__
-+#undef __i686
-+#define __i686 __i686
-+#endif
-
- /* For Linux we can use the system call table in the header file
- /usr/include/asm/unistd.h
diff --git a/libs/glibc/glibc-2.15-fixes-1.patch
b/libs/glibc/glibc-2.15-fixes-1.patch
deleted file mode 100644
index 193fd1a..0000000
--- a/libs/glibc/glibc-2.15-fixes-1.patch
+++ /dev/null
@@ -1,173 +0,0 @@
-Submitted By: Matt Burgess <matthew_at_linuxfromscratch_dot_org>
-Date: 2012-05-06
-Initial Package Version: 2.15
-Upstream Status: Not Submitted
-Origin: Attached to the upstream bug (see Description below)
-Description: Fixes segfaults in various programs including, but
- not limited to aplay. This is upstream bug 13579:
- http://sourceware.org/bugzilla/show_bug.cgi?id=13579
-
-diff -Naur glibc-2.15.orig/ChangeLog glibc-2.15/ChangeLog
---- glibc-2.15.orig/ChangeLog 2012-01-01 12:16:32.000000000 +0000
-+++ glibc-2.15/ChangeLog 2012-05-01 21:51:52.395250598 +0000
-@@ -4980,17 +4980,10 @@
- __bzero_ultra1 instead of __memset_ultra1.
-
- 2011-02-23 Andreas Schwab <schwab AT redhat.com>
-- Ulrich Drepper <drepper AT gmail.com>
-
- [BZ #12509]
-- * include/link.h (struct link_map): Add l_orig_initfini.
- * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
- returning unsuccessfully.
-- * elf/dl-close.c (_dl_close_worker): If this is the last explicit
-- close of a file loaded at startup, restore the original l_initfini
-- list.
-- * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
-- list, store the pointer.
- * elf/Makefile ($(objpfx)noload-mem): New rule.
- (noload-ENV): Define.
- (tests): Add $(objpfx)noload-mem.
-@@ -5842,6 +5835,13 @@
-
- 2010-09-27 Andreas Schwab <schwab AT redhat.com>
-
-+ * include/link.h (struct link_map): Add l_free_initfini.
-+ * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
-+ l_initfini.
-+ * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
-+ * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
-+ set.
-+
- [BZ #11611]
- * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
- Mask out sign-bit copies when constructing f_fsid.
-diff -Naur glibc-2.15.orig/elf/dl-close.c glibc-2.15/elf/dl-close.c
---- glibc-2.15.orig/elf/dl-close.c 2012-01-01 12:16:32.000000000 +0000
-+++ glibc-2.15/elf/dl-close.c 2012-05-01 21:48:34.130781862 +0000
-@@ -1,5 +1,5 @@
- /* Close a shared object opened by `_dl_open'.
-- Copyright (C) 1996-2007, 2009, 2010, 2011 Free Software Foundation, Inc.
-+ Copyright (C) 1996-2007, 2009, 2010 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
-@@ -119,17 +119,8 @@
- if (map->l_direct_opencount > 0 || map->l_type != lt_loaded
- || dl_close_state != not_pending)
- {
-- if (map->l_direct_opencount == 0)
-- {
-- if (map->l_type == lt_loaded)
-- dl_close_state = rerun;
-- else if (map->l_type == lt_library)
-- {
-- struct link_map **oldp = map->l_initfini;
-- map->l_initfini = map->l_orig_initfini;
-- _dl_scope_free (oldp);
-- }
-- }
-+ if (map->l_direct_opencount == 0 && map->l_type == lt_loaded)
-+ dl_close_state = rerun;
-
- /* There are still references to this object. Do nothing more. */
- if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0))
-diff -Naur glibc-2.15.orig/elf/dl-deps.c glibc-2.15/elf/dl-deps.c
---- glibc-2.15.orig/elf/dl-deps.c 2012-01-01 12:16:32.000000000 +0000
-+++ glibc-2.15/elf/dl-deps.c 2012-05-01 21:53:12.098407007 +0000
-@@ -489,6 +489,7 @@
- nneeded * sizeof needed[0]);
- atomic_write_barrier ();
- l->l_initfini = l_initfini;
-+ l->l_free_initfini = 1;
- }
-
- /* If we have no auxiliary objects just go on to the next map. */
-@@ -689,6 +690,7 @@
- l_initfini[nlist] = NULL;
- atomic_write_barrier ();
- map->l_initfini = l_initfini;
-+ map->l_free_initfini = 1;
- if (l_reldeps != NULL)
- {
- atomic_write_barrier ();
-@@ -697,7 +699,7 @@
- _dl_scope_free (old_l_reldeps);
- }
- if (old_l_initfini != NULL)
-- map->l_orig_initfini = old_l_initfini;
-+ _dl_scope_free (old_l_initfini);
-
- if (errno_reason)
- _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,
-diff -Naur glibc-2.15.orig/elf/dl-libc.c glibc-2.15/elf/dl-libc.c
---- glibc-2.15.orig/elf/dl-libc.c 2012-01-01 12:16:32.000000000 +0000
-+++ glibc-2.15/elf/dl-libc.c 2012-05-01 21:48:34.131781864 +0000
-@@ -270,13 +270,13 @@
-
- for (Lmid_t ns = 0; ns < GL(dl_nns); ++ns)
- {
-- /* Remove all additional names added to the objects. */
- for (l = GL(dl_ns)[ns]._ns_loaded; l != NULL; l = l->l_next)
- {
- struct libname_list *lnp = l->l_libname->next;
-
- l->l_libname->next = NULL;
-
-+ /* Remove all additional names added to the objects. */
- while (lnp != NULL)
- {
- struct libname_list *old = lnp;
-@@ -284,6 +284,10 @@
- if (! old->dont_free)
- free (old);
- }
-+
-+ /* Free the initfini dependency list. */
-+ if (l->l_free_initfini)
-+ free (l->l_initfini);
- }
-
- if (__builtin_expect (GL(dl_ns)[ns]._ns_global_scope_alloc, 0) != 0
-diff -Naur glibc-2.15.orig/elf/rtld.c glibc-2.15/elf/rtld.c
---- glibc-2.15.orig/elf/rtld.c 2012-01-01 12:16:32.000000000 +0000
-+++ glibc-2.15/elf/rtld.c 2012-05-01 21:48:34.135781872 +0000
-@@ -2276,6 +2276,7 @@
- lnp->dont_free = 1;
- lnp = lnp->next;
- }
-+ l->l_free_initfini = 0;
-
- if (l != &GL(dl_rtld_map))
- _dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0,
-diff -Naur glibc-2.15.orig/include/link.h glibc-2.15/include/link.h
---- glibc-2.15.orig/include/link.h 2012-01-01 12:16:32.000000000 +0000
-+++ glibc-2.15/include/link.h 2012-05-01 21:48:34.136781874 +0000
-@@ -1,6 +1,6 @@
- /* Data structure for communication from the run-time dynamic linker for
- loaded ELF shared objects.
-- Copyright (C) 1995-2006, 2007, 2009, 2010, 2011 Free Software
Foundation, Inc.
-+ Copyright (C) 1995-2006, 2007, 2009, 2010 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
-@@ -192,6 +192,9 @@
- during LD_TRACE_PRELINKING=1
- contains any DT_SYMBOLIC
- libraries. */
-+ unsigned int l_free_initfini:1; /* Nonzero if l_initfini can be
-+ freed, ie. not allocated with
-+ the dummy malloc in ld.so. */
-
- /* Collected information about own RPATH directories. */
- struct r_search_path_struct l_rpath_dirs;
-@@ -240,9 +243,6 @@
-
- /* List of object in order of the init and fini calls. */
- struct link_map **l_initfini;
-- /* The init and fini list generated at startup, saved when the
-- object is also loaded dynamically. */
-- struct link_map **l_orig_initfini;
-
- /* List of the dependencies introduced through symbol binding. */
- struct link_map_reldeps
diff --git a/libs/glibc/test-installation.pl.patch
b/libs/glibc/test-installation.pl.patch
deleted file mode 100644
index cc5a891..0000000
--- a/libs/glibc/test-installation.pl.patch
+++ /dev/null
@@ -1,4 +0,0 @@
-108c108
-< if ($name ne "nss_ldap" && $name ne "db1"
----
-> if ($name ne "nss_ldap" && $name ne "db1" && $name ne "nss_test1"



  • [SM-Commit] GIT changes to devel-glibc-2.15 grimoire by Ladislav Hagara (59144dee93ca4fd553927614769441e382ee5a31), Ladislav Hagara, 07/01/2012

Archive powered by MHonArc 2.6.24.

Top of Page