This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-38-g0726704


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  07267045332c7839083e407911b72373cfd581b1 (commit)
       via  f03fe7f932295de840e2a661b6d38c1cf3b2c65c (commit)
       via  bdeba1354b7364d9b7857a048286a71ddbcdff86 (commit)
      from  d75a0a62b12c35ee85f786d5f8d155ab39909411 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=07267045332c7839083e407911b72373cfd581b1

commit 07267045332c7839083e407911b72373cfd581b1
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sat Jan 7 11:40:36 2012 -0500

    Fix WS

diff --git a/INSTALL b/INSTALL
index 3fcdb5c..43a15ee 100644
--- a/INSTALL
+++ b/INSTALL
@@ -452,4 +452,3 @@ or the manual has a bug, so report the disagreement.  If you find any
 errors or omissions in this manual, please report them to the bug
 database.  If you refer to specific sections of the manual, please
 include the section names for easier identification.
-

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f03fe7f932295de840e2a661b6d38c1cf3b2c65c

commit f03fe7f932295de840e2a661b6d38c1cf3b2c65c
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sat Jan 7 11:39:33 2012 -0500

    More ia64 removal changes

diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index a8ebcf2..19dd744 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -487,9 +487,6 @@ case "$machine" in
   i[3456]86* | m68*)
     ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
     ;;
-  ia64*)
-    ldd_rewrite_script=sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
-    ;;
   s390*)
     ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
     ;;
diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in
index 3f1daab..922f11f 100644
--- a/sysdeps/unix/sysv/linux/configure.in
+++ b/sysdeps/unix/sysv/linux/configure.in
@@ -226,9 +226,6 @@ case "$machine" in
   i[3456]86* | m68*)
     ldd_rewrite_script=sysdeps/unix/sysv/linux/ldd-rewrite.sed
     ;;
-  ia64*)
-    ldd_rewrite_script=sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed
-    ;;
   s390*)
     ldd_rewrite_script=sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed
     ;;
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c b/sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c
index 075b267..e6210f6 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c
@@ -1 +1,60 @@
-#include <sysdeps/unix/sysv/linux/ia64/wordexp.c>
+/* Copyright (C) 2001, 2004, 2005, 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <shlib-compat.h>
+
+/* For Linux/Alpha we have to make the wordexp symbols versioned.  */
+#define wordexp(words, pwordexp, flags) \
+  __new_wordexp (words, pwordexp, flags)
+
+#include <posix/wordexp.c>
+
+versioned_symbol (libc, __new_wordexp, wordexp, GLIBC_2_2_2);
+
+
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2_2)
+/* The old, incorrect wordexp_t definition.  */
+typedef struct
+  {
+    int we_wordc;              /* Count of words matched.  */
+    char **we_wordv;           /* List of expanded words.  */
+    int we_offs;               /* Slots to reserve in `we_wordv'.  */
+  } old_wordexp_t;
+
+
+int
+attribute_compat_text_section
+__old_wordexp (const char *words, old_wordexp_t *pwordexp, int flags)
+{
+  wordexp_t we;
+  int result;
+
+  we.we_wordc = pwordexp->we_wordc;
+  we.we_wordv = pwordexp->we_wordv;
+  we.we_offs = pwordexp->we_offs;
+
+  result = __new_wordexp (words, &we, flags);
+
+  pwordexp->we_wordc = we.we_wordc;
+  pwordexp->we_wordv = we.we_wordv;
+  pwordexp->we_offs = we.we_offs;
+
+  return result;
+}
+compat_symbol (libc, __old_wordexp, wordexp, GLIBC_2_1);
+#endif
diff --git a/sysdeps/unix/sysv/linux/x86_64/sigpending.c b/sysdeps/unix/sysv/linux/x86_64/sigpending.c
index c7ddb1f..f150806 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sigpending.c
+++ b/sysdeps/unix/sysv/linux/x86_64/sigpending.c
@@ -1 +1,39 @@
-#include <sysdeps/unix/sysv/linux/ia64/sigpending.c>
+/* Copyright (C) 1997-2000, 2003, 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+/* Linux/ia64 only has rt signals, thus we do not even want to try falling
+   back to the old style signals as the default Linux handler does. */
+
+#include <errno.h>
+#include <signal.h>
+#include <unistd.h>
+
+#include <sysdep.h>
+#include <sys/syscall.h>
+#include <bp-checks.h>
+
+/* Change the set of blocked signals to SET,
+   wait until a signal arrives, and restore the set of blocked signals.  */
+int
+sigpending (set)
+     sigset_t *set;
+{
+  /* XXX The size argument hopefully will have to be changed to the
+     real size of the user-level sigset_t.  */
+  return INLINE_SYSCALL (rt_sigpending, 2, CHECK_SIGSET (set), _NSIG / 8);
+}
diff --git a/sysdeps/unix/sysv/linux/x86_64/sigprocmask.c b/sysdeps/unix/sysv/linux/x86_64/sigprocmask.c
index bc0927f..22ddc75 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sigprocmask.c
+++ b/sysdeps/unix/sysv/linux/x86_64/sigprocmask.c
@@ -1 +1,44 @@
-#include <sysdeps/unix/sysv/linux/ia64/sigprocmask.c>
+/* Copyright (C) 1997-2000, 2003, 2012 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Written by Jes Sorensen, <Jes.Sorensen@cern.ch>, April 1999.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+/* Linux/ia64 only has rt signals, thus we do not even want to try falling
+   back to the old style signals as the default Linux handler does. */
+
+#include <errno.h>
+#include <signal.h>
+#include <unistd.h>
+
+#include <sysdep.h>
+#include <sys/syscall.h>
+#include <bp-checks.h>
+
+/* Get and/or change the set of blocked signals.  */
+int
+__sigprocmask (how, set, oset)
+     int how;
+     const sigset_t *set;
+     sigset_t *oset;
+{
+
+  /* XXX The size argument hopefully will have to be changed to the
+     real size of the user-level sigset_t.  */
+  return INLINE_SYSCALL (rt_sigprocmask, 4, how, CHECK_SIGSET (set),
+			CHECK_SIGSET_NULL_OK (oset), _NSIG / 8);
+}
+weak_alias (__sigprocmask, sigprocmask)

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bdeba1354b7364d9b7857a048286a71ddbcdff86

commit bdeba1354b7364d9b7857a048286a71ddbcdff86
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sat Jan 7 11:29:31 2012 -0500

    Remove --enable-omitfp support

diff --git a/ChangeLog b/ChangeLog
index 62073f0..5f89bc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
 
+	[BZ #13552]
+	* configure.in: Remove --enable-omitfp support.
+	* FAQ.in: Adjust.
+	* config.make.in: Likewise.
+	* Makeconfig: Likewise.
+	* manual/install.texi: Likewise.
+
 	In case anyone cares, the IA-64 architecture could move to ports.
 	* sysdeps/ia64/*: Removed.
 	* sysdeps/unix/sysv/linux/ia64/*: Removed.
diff --git a/FAQ b/FAQ
index bd5849e..f7e2b23 100644
--- a/FAQ
+++ b/FAQ
@@ -464,21 +464,7 @@ any other link path.
 
 1.15.	What's the problem with configure --enable-omitfp?
 
-{AJ} When --enable-omitfp is set the libraries are built without frame
-pointers.  Some compilers produce buggy code for this model and therefore we
-don't advise using it at the moment.
-
-If you use --enable-omitfp, you're on your own.  If you encounter problems
-with a library that was build this way, we advise you to rebuild the library
-without --enable-omitfp.  If the problem vanishes consider tracking the
-problem down and report it as compiler failure.
-
-Since a library built with --enable-omitfp is undebuggable on most systems,
-debuggable libraries are also built - you can use them by appending "_g" to
-the library names.
-
-The compilation of these extra libraries and the compiler optimizations slow
-down the build process and need more disk space.
+{} Removed.  Does not apply anymore.
 
 
 1.16.	I get failures during `make check'.  What should I do?
diff --git a/FAQ.in b/FAQ.in
index af61599..216155c 100644
--- a/FAQ.in
+++ b/FAQ.in
@@ -265,21 +265,7 @@ any other link path.
 
 ??	What's the problem with configure --enable-omitfp?
 
-{AJ} When --enable-omitfp is set the libraries are built without frame
-pointers.  Some compilers produce buggy code for this model and therefore we
-don't advise using it at the moment.
-
-If you use --enable-omitfp, you're on your own.  If you encounter problems
-with a library that was build this way, we advise you to rebuild the library
-without --enable-omitfp.  If the problem vanishes consider tracking the
-problem down and report it as compiler failure.
-
-Since a library built with --enable-omitfp is undebuggable on most systems,
-debuggable libraries are also built - you can use them by appending "_g" to
-the library names.
-
-The compilation of these extra libraries and the compiler optimizations slow
-down the build process and need more disk space.
+{} Removed.  Does not apply anymore.
 
 ??	I get failures during `make check'.  What should I do?
 
diff --git a/INSTALL b/INSTALL
index 3ec80e3..3fcdb5c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -113,14 +113,6 @@ will be used, and CFLAGS sets optimization options for the compiler.
      Don't build libraries with profiling information.  You may want to
      use this option if you don't plan to do profiling.
 
-`--enable-omitfp'
-     Use maximum optimization for the normal (static and shared)
-     libraries, and compile separate static libraries with debugging
-     information and no optimization.  We recommend not doing this.
-     The extra optimization doesn't gain you much, it may provoke
-     compiler bugs, and you won't be able to trace bugs through the C
-     library.
-
 `--disable-versioning'
      Don't compile the shared libraries with symbol version information.
      Doing this will make the resulting library incompatible with old
@@ -204,9 +196,9 @@ cross-compiler for the target you configured the library for; it is
 important to use this same `CC' value when running `configure', like
 this: `CC=TARGET-gcc configure TARGET'.  Set `BUILD_CC' to the compiler
 to use for programs run on the build system as part of compiling the
-library.  You may need to set `AR' and `RANLIB' to cross-compiling
-versions of `ar' and `ranlib' if the native tools are not configured to
-work with object files for the target you configured for.
+library.  You may need to set `AR' to cross-compiling versions of `ar'
+if the native tools are not configured to work with object files for
+the target you configured for.
 
 Installing the C Library
 ========================
@@ -317,12 +309,11 @@ build the GNU C library:
      Check the FAQ for any special compiler issues on particular
      platforms.
 
-   * GNU `binutils'
+   * GNU `binutils' 2.15 or later
 
      You must use GNU `binutils' (as and ld) to build the GNU C library.
      No other assembler or linker has the necessary functionality at the
-     moment.  The configure scripts checks for the appropriate version
-     for the platform.  Too-old versions will prevent building glibc.
+     moment.
 
    * GNU `texinfo' 3.12f
 
@@ -461,3 +452,4 @@ or the manual has a bug, so report the disagreement.  If you find any
 errors or omissions in this manual, please report them to the bug
 database.  If you refer to specific sections of the manual, please
 include the section names for easier identification.
+
diff --git a/Makeconfig b/Makeconfig
index 8195245..a97b7d0 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009,2010,2011
+# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009,2010,2011,2012
 #	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -762,17 +762,6 @@ CPPFLAGS-.op = -DPROF $(pic-default)
 CFLAGS-.op = -pg
 libtype.op = lib%_p.a
 endif
-ifeq (yes,$(build-omitfp))
-# Under --enable-omitfp, we build the library optimized without
-# debugging information using -fomit-frame-pointer, and build an extra
-# library with debugging information.  The debuggable objects are named foo.og.
-object-suffixes += .og
-CPPFLAGS-.og = $(pic-default)
-CFLAGS-.og = -g
-CFLAGS-.o = $(filter %frame-pointer,$(+cflags)) -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES
-CFLAGS-.os += -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES
-libtype.og = lib%_g.a
-endif
 
 bppfx = BP-
 ifeq (yes,$(build-bounded))
diff --git a/NEWS b/NEWS
index 0c91c60..a7c4569 100644
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Version 2.16
 
 * The following bugs are resolved with this release:
 
-  13526, 13527, 13528, 13529, 13531, 13532, 13533, 13547, 13555
+  13526, 13527, 13528, 13529, 13531, 13532, 13533, 13547, 13552, 13555
 
 * ISO C11 support:
 
diff --git a/config.make.in b/config.make.in
index d2baf6d..7ee0cfd 100644
--- a/config.make.in
+++ b/config.make.in
@@ -93,7 +93,6 @@ build-static = @static@
 build-shared = @shared@
 build-pic-default= @libc_cv_pic_default@
 build-profile = @profile@
-build-omitfp = @omitfp@
 build-bounded = @bounded@
 build-static-nss = @static_nss@
 add-ons = @add_ons@
diff --git a/configure b/configure
index ff680c4..9f789ef 100755
--- a/configure
+++ b/configure
@@ -612,7 +612,6 @@ DEFINES
 nopic_initfini
 static_nss
 bounded
-omitfp
 profile
 libc_cv_pic_default
 shared
@@ -777,7 +776,6 @@ enable_sanity_checks
 enable_check_abi
 enable_shared
 enable_profile
-enable_omitfp
 enable_bounded
 enable_versioning
 enable_oldest_abi
@@ -1427,7 +1425,6 @@ Optional Features:
                           [default=no]
   --enable-shared         build shared library [default=yes if GNU ld & ELF]
   --enable-profile        build profiled library [default=no]
-  --enable-omitfp         build undebuggable optimized library [default=no]
   --enable-bounded        build with runtime bounds checking [default=no]
   --disable-versioning    do not include versioning information in the library
                           objects [default=yes if supported]
@@ -3607,13 +3604,6 @@ else
   profile=no
 fi
 
-# Check whether --enable-omitfp was given.
-if test "${enable_omitfp+set}" = set; then :
-  enableval=$enable_omitfp; omitfp=$enableval
-else
-  omitfp=no
-fi
-
 # Check whether --enable-bounded was given.
 if test "${enable_bounded+set}" = set; then :
   enableval=$enable_bounded; bounded=$enableval
@@ -7984,7 +7974,6 @@ $as_echo "$libc_cv_pic_default" >&6; }
 
 
 
-
 if test "`(cd $srcdir; pwd)`" = "`pwd`"; then
   config_makefile=
 else
diff --git a/configure.in b/configure.in
index b998c47..daf5e15 100644
--- a/configure.in
+++ b/configure.in
@@ -142,11 +142,6 @@ AC_ARG_ENABLE([profile],
 			     [build profiled library @<:@default=no@:>@]),
 	      [profile=$enableval],
 	      [profile=no])
-AC_ARG_ENABLE([omitfp],
-	      AC_HELP_STRING([--enable-omitfp],
-			     [build undebuggable optimized library @<:@default=no@:>@]),
-	      [omitfp=$enableval],
-	      [omitfp=no])
 AC_ARG_ENABLE([bounded],
 	      AC_HELP_STRING([--enable-bounded],
 			     [build with runtime bounds checking @<:@default=no@:>@]),
@@ -2367,7 +2362,6 @@ rm -f conftest.*])
 AC_SUBST(libc_cv_pic_default)
 
 AC_SUBST(profile)
-AC_SUBST(omitfp)
 AC_SUBST(bounded)
 AC_SUBST(static_nss)
 AC_SUBST(nopic_initfini)
diff --git a/manual/install.texi b/manual/install.texi
index 0ef3c3c..a83a5dd 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -136,13 +136,6 @@ linker.
 Don't build libraries with profiling information.  You may want to use
 this option if you don't plan to do profiling.
 
-@item --enable-omitfp
-Use maximum optimization for the normal (static and shared)
-libraries, and compile separate static libraries with debugging
-information and no optimization.  We recommend not doing this.  The extra
-optimization doesn't gain you much, it may provoke compiler bugs, and you
-won't be able to trace bugs through the C library.
-
 @item --disable-versioning
 Don't compile the shared libraries with symbol version information.
 Doing this will make the resulting library incompatible with old

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                       |    7 +++
 FAQ                                             |   16 +------
 FAQ.in                                          |   16 +------
 INSTALL                                         |   19 ++-----
 Makeconfig                                      |   13 +-----
 NEWS                                            |    2 +-
 config.make.in                                  |    1 -
 configure                                       |   11 ----
 configure.in                                    |    6 --
 manual/install.texi                             |    7 ---
 sysdeps/unix/sysv/linux/configure               |    3 -
 sysdeps/unix/sysv/linux/configure.in            |    3 -
 sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c |   61 ++++++++++++++++++++++-
 sysdeps/unix/sysv/linux/x86_64/sigpending.c     |   40 ++++++++++++++-
 sysdeps/unix/sysv/linux/x86_64/sigprocmask.c    |   45 ++++++++++++++++-
 15 files changed, 159 insertions(+), 91 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]