Accepting request 131848 from home:a_jaeger:devel-glibc

Update to latest 2.16 git head

OBS-URL: https://build.opensuse.org/request/show/131848
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=208
This commit is contained in:
2012-08-28 12:25:24 +00:00
committed by Git OBS Bridge
parent b507b48218
commit a30da1c424
58 changed files with 789 additions and 5160 deletions

View File

@@ -3,27 +3,25 @@
configure | 16 +++++++++++++++-
configure.in | 1 +
posix/Makefile | 2 +-
sunrpc/Makefile | 2 +-
timezone/Makefile | 2 +-
6 files changed, 20 insertions(+), 4 deletions(-)
Index: glibc-2.15/config.make.in
Index: glibc-2.15.90/config.make.in
===================================================================
--- glibc-2.15.orig/config.make.in
+++ glibc-2.15/config.make.in
@@ -100,6 +100,7 @@ add-ons = @add_ons@
--- glibc-2.15.90.orig/config.make.in
+++ glibc-2.15.90/config.make.in
@@ -97,6 +97,7 @@ add-ons = @add_ons@
add-on-subdirs = @add_on_subdirs@
sysdeps-add-ons = @sysdeps_add_ons@
cross-compiling = @cross_compiling@
+compiled-binaries-can-run-on-buildhost = @compiled_binaries_can_run_on_buildhost@
force-install = @force_install@
link-obsolete-rpc = @link_obsolete_rpc@
# Build tools.
Index: glibc-2.15/configure.in
Index: glibc-2.15.90/configure.in
===================================================================
--- glibc-2.15.orig/configure.in
+++ glibc-2.15/configure.in
@@ -15,6 +15,7 @@ if test $host != $build; then
--- glibc-2.15.90.orig/configure.in
+++ glibc-2.15.90/configure.in
@@ -20,6 +20,7 @@ if test $host != $build; then
AC_CHECK_PROGS(BUILD_CC, gcc cc)
fi
AC_SUBST(cross_compiling)
@@ -31,10 +29,10 @@ Index: glibc-2.15/configure.in
AC_PROG_CPP
# We need the C++ compiler only for testing.
AC_PROG_CXX
Index: glibc-2.15/configure
Index: glibc-2.15.90/configure
===================================================================
--- glibc-2.15.orig/configure
+++ glibc-2.15/configure
--- glibc-2.15.90.orig/configure
+++ glibc-2.15.90/configure
@@ -553,6 +553,7 @@ ac_clean_files=
ac_config_libobj_dir=.
LIBOBJS=
@@ -43,7 +41,7 @@ Index: glibc-2.15/configure
subdirs=
MFLAGS=
MAKEFLAGS=
@@ -706,6 +707,7 @@ CXXFLAGS
@@ -667,6 +668,7 @@ CXXFLAGS
CXX
CPP
cross_compiling
@@ -51,7 +49,7 @@ Index: glibc-2.15/configure
BUILD_CC
OBJEXT
ac_ct_CC
@@ -1250,6 +1252,13 @@ do
@@ -1208,6 +1210,13 @@ do
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
@@ -65,7 +63,7 @@ Index: glibc-2.15/configure
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
@@ -1265,6 +1274,7 @@ if test "x$host_alias" != x; then
@@ -1223,6 +1232,7 @@ if test "x$host_alias" != x; then
If a cross compiler is detected then cross compile mode will be used" >&2
elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes
@@ -73,21 +71,21 @@ Index: glibc-2.15/configure
fi
fi
@@ -1450,6 +1460,9 @@ Optional Features:
--enable-multi-arch enable single DSO with optimizations for multiple
architectures
--enable-nss-crypt enable libcrypt to use nss
@@ -1407,6 +1417,9 @@ Optional Features:
--enable-obsolete-rpc build and install the obsolete RPC code for
link-time usage
--enable-systemtap enable systemtap static probe points [default=no]
+ --enable-runbinaries the compiled binaries should run on the buildhost because
+ it happens to have a compatible cpu
+
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
Index: glibc-2.15/posix/Makefile
Index: glibc-2.15.90/posix/Makefile
===================================================================
--- glibc-2.15.orig/posix/Makefile
+++ glibc-2.15/posix/Makefile
@@ -320,7 +320,7 @@ $(inst_libexecdir)/getconf: $(inst_bindi
--- glibc-2.15.90.orig/posix/Makefile
+++ glibc-2.15.90/posix/Makefile
@@ -305,7 +305,7 @@ $(inst_libexecdir)/getconf: $(inst_bindi
done < $(objpfx)getconf.speclist
$(objpfx)getconf.speclist: $(objpfx)getconf
@@ -96,29 +94,3 @@ Index: glibc-2.15/posix/Makefile
LC_ALL=C GETCONF_DIR=/dev/null \
$(run-program-prefix) $< _POSIX_V7_WIDTH_RESTRICTED_ENVS > $@.new
LC_ALL=C GETCONF_DIR=/dev/null \
Index: glibc-2.15/sunrpc/Makefile
===================================================================
--- glibc-2.15.orig/sunrpc/Makefile
+++ glibc-2.15/sunrpc/Makefile
@@ -108,7 +108,7 @@ otherlibs += $(nssobjdir)/libnss_files.a
$(resolvobjdir)/libresolv.a
endif
-ifeq (no,$(cross-compiling))
+ifeq (yes,$(compiled-binaries-can-run-on-buildhost))
# We can only build this library if we can run the rpcgen we build.
headers += $(rpcsvc:%.x=rpcsvc/%.h)
extra-libs := librpcsvc
Index: glibc-2.15/timezone/Makefile
===================================================================
--- glibc-2.15.orig/timezone/Makefile
+++ glibc-2.15/timezone/Makefile
@@ -69,7 +69,7 @@ installed-posixrules-file := $(firstword
$(addprefix $(inst_zonedir)/, \
$(posixrules-file)))
-ifeq ($(cross-compiling),no)
+ifeq (yes,$(compiled-binaries-can-run-on-buildhost))
# Don't try to install the zoneinfo files since we can't run zic.
install-others = $(addprefix $(inst_zonedir)/,$(zonenames) \
$(zonenames:%=posix/%) \