]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove --enable-omitfp support
authorUlrich Drepper <drepper@gmail.com>
Sat, 7 Jan 2012 16:29:31 +0000 (11:29 -0500)
committerUlrich Drepper <drepper@gmail.com>
Sat, 7 Jan 2012 16:29:31 +0000 (11:29 -0500)
ChangeLog
FAQ
FAQ.in
INSTALL
Makeconfig
NEWS
config.make.in
configure
configure.in
manual/install.texi

index 62073f0adcfe0c87b7212aa4cc94abde7f5ef6c5..5f89bc9fb57c750d046a683be4cc1a6488e11a3e 100644 (file)
--- 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 bd5849e9b254010858eaea8e41ca80e4e29e9b0b..f7e2b23b82da279d10e1f11ee4f4545345e47498 100644 (file)
--- 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 af61599a70fcb40b0c70ecc985c8d6cd56cbb1d3..216155c763b01b76260ffb762dc0581b50925486 100644 (file)
--- 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 3ec80e384643bb0512b775d40b53b8ed8a2157bf..3fcdb5c68c800787b592204f31fcf68ad3446471 100644 (file)
--- 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.
+
index 8195245052a033152d04901c581a21b73eacf333..a97b7d0ce5f58fc8d4fc03620826aeae21aec7e1 100644 (file)
@@ -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 0c91c6013eb2f5e9cd2c5e384abf04617315978e..a7c456901edf3fd35798d915477400583aa97655 100644 (file)
--- 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:
 
index d2baf6d3a95fbd75c91ded73c34d9d937b72fdc3..7ee0cfdd6b032c6d2d398a3029c5d6e92dd8e4b7 100644 (file)
@@ -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@
index ff680c4e57eebbeedd35a6b73fa27f0ddd0fc712..9f789efee077ecb0bc7555d6df5ec5b697fa14db 100755 (executable)
--- 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
index b998c4792cdaa72df1faa25226e8aa84666dbd0e..daf5e15a24c831743bae7ff9ee575db869d4cb25 100644 (file)
@@ -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)
index 0ef3c3cf04778c719d55c7220427bdb424570460..a83a5dda01d844e28fdd1a562b09aab16ca5066e 100644 (file)
@@ -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