summary refs log tree commit diff
path: root/config.make.in
Commit message (Collapse)AuthorAgeFilesLines
* Use -Werror by default, add --disable-werror.Joseph Myers2014-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed starting at <https://sourceware.org/ml/libc-alpha/2014-11/msg00323.html>, this patch makes the glibc build use -Werror by default to avoid accidentally adding new warnings to the build. The configure option --disable-werror can be used to disable this. -Wno-error=undef is temporarily used because the build isn't clean regarding -Wundef warnings. The idea is that once the remaining -Wundef warnings have been cleaned up (in at least one configuration), -Wno-error=undef will be removed. I get a clean build and test on x86_64 (GCC 4.9 branch) with this patch. The expectation is that this may well break the build for some other configurations, and people seeing such breakage should make appropriate fixes to fix or suppress the warnings for their configurations. In some cases that may involve using pragmas as the right fix (I think that will be right for the -Wno-inline issue for MIPS I referred to in <https://sourceware.org/ml/libc-alpha/2012-11/msg00798.html>, for example), in some cases -Wno-error in sysdeps makefiles (__restore_rt in MIPS sigaction, for example), in some cases substantive fixes for the warnings. Note that if, with a view to listing all the warnings then fixing them all, you just look for "warning:" in output from building and testing with --disable-werror, you'll see lots of warnings from the linker about functions such as tmpnam. Those warnings can be ignored - only compiler warnings are relevant to -Werror, not linker warnings. * configure.ac (--disable-werror): New configure option. (enable_werror): New AC_SUBST. * configure: Regenerated. * config.make.in (enable-werror): New variable. * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror -Wno-error=undef. (+gccwarn-c): Do not use -Werror=implicit-function-declaration. * manual/install.texi (Configuring and compiling): Document --disable-werror. * INSTALL: Regenerated. * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error. (CFLAGS-tst-chk2.c): Likewise. (CFLAGS-tst-chk3.c): Likewise. (CFLAGS-tst-chk4.cc): Likewise. (CFLAGS-tst-chk5.cc): Likewise. (CFLAGS-tst-chk6.cc): Likewise. (CFLAGS-tst-lfschk1.c): Likewise. (CFLAGS-tst-lfschk2.c): Likewise. (CFLAGS-tst-lfschk3.c): Likewise. (CFLAGS-tst-lfschk4.cc): Likewise. (CFLAGS-tst-lfschk5.cc): Likewise. (CFLAGS-tst-lfschk6.cc): Likewise.
* Remove bitrotten --enable-oldest-abi (bug 6652).Joseph Myers2014-09-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the --enable-oldest-abi configure option, which has long been bitrotten (as reported in bug 6652). The principle of removing this option was agreed in the thread starting at <https://sourceware.org/ml/libc-alpha/2013-07/msg00174.html>. Tested for x86_64 and x86 that the installed shared libraries other than libc.so are unchanged by this patch and that libc.so disassembly and symbol versions are unchanged (debug info changes because of changed line numbers in csu/version.c). [BZ #6652] * Makeconfig (soversions-default-setname): Remove variable. ($(common-objpfx)soversions.i): Don't pass default_setname to soversions.awk. * Makerules ($(common-objpfx)abi-versions.h): Don't pass oldest_abi to abi-versions.awk. * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine. * config.make.in (oldest-abi): Remove variable. * configure.ac (--enable-oldest-abi): Remove configure option. * configure: Regenerated. * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional text. * scripts/abi-versions.awk: Do not handle oldest_abi variable. * scripts/soversions.awk: Do not handle default_setname variable. * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi variable. * sysdeps/mach/hurd/configure: Regenerated. * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi variable. * sysdeps/unix/sysv/linux/configure: Regenerated.
* S/390: Port of lock elision to System/zDominik Vogt2014-05-091-0/+1
| | | | | | | | | | Added support for TX lock elision of pthread mutexes on s390 and s390x. This may improve lock scaling of existing programs on TX capable systems. The lock elision code is only built with --enable-lock-elision=yes and then requires a GCC version supporting the TX builtins. With lock elision default mutexes are elided via __builtin_tbegin, if the cpu supports transactions. By default lock elision is not enabled and the elision code is not built.
* PowerPC: define _CALL_ELF if compiler does notAdhemerval Zanella2014-04-061-0/+1
| | | | | | | | | | | | This patch makes the configure adds -D_CALL_ELF=1 when compiler does not define _CALL_ELF (versions before powerpc64le support). It cleans up compiler warnings on old compiler where _CALL_ELF is not defined on powerpc64(be) builds. It does by add a new config.make variable for configure-deduced CPPFLAGS and accumulate into that (confix-extra-cppflags). It also generalizes libc_extra_cflags so it accumulates in sysdeps configure fragmenets.
* stop supporting bash-1.xMike Frysinger2014-03-131-2/+0
| | | | | We've stopped supporting toolchain packages older than 2009, so punting bash-1.x is reasonable when bash-2 was released almost 20 years ago.
* delete ksh checksMike Frysinger2014-03-131-2/+0
| | | | Nothing in the tree uses ksh anymore, so punt these checks.
* Remove --disable-versioning.Joseph Myers2013-09-041-1/+0
|
* CVE-2013-2207, BZ #15755: Disable pt_chown.Carlos O'Donell2013-07-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | The helper binary pt_chown tricked into granting access to another user's pseudo-terminal. Pre-conditions for the attack: * Attacker with local user account * Kernel with FUSE support * "user_allow_other" in /etc/fuse.conf * Victim with allocated slave in /dev/pts Using the setuid installed pt_chown and a weak check on whether a file descriptor is a tty, an attacker could fake a pty check using FUSE and trick pt_chown to grant ownership of a pty descriptor that the current user does not own. It cannot access /dev/pts/ptmx however. In most modern distributions pt_chown is not needed because devpts is enabled by default. The fix for this CVE is to disable building and using pt_chown by default. We still provide a configure option to enable hte use of pt_chown but distributions do so at their own risk.
* Move system-specific settings out of toplevel configure.in and config.make.in.Joseph Myers2013-03-201-8/+0
|
* Add support for rtld directory different from slib directoryAndreas Schwab2013-03-191-0/+1
|
* Remove bounded-pointers build system support.Joseph Myers2013-02-151-1/+0
|
* Add --enable-hardcoded-path-in-tests configure optionH.J. Lu2013-01-111-0/+1
|
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-091-0/+6
|
* Use $(NM) not nm in tst-cancel-wrappers.Jim Blandy2012-10-211-0/+1
|
* Remove $(have-cpp-asm-debuginfo) checkH.J. Lu2012-09-151-1/+0
|
* Add --disable-build-nscd configure option.Roland McGrath2012-08-221-0/+1
|
* BZ#13696: Add --disable-nscd configure option.Roland McGrath2012-08-221-0/+1
|
* Make sysheaders available in config.make.Roland McGrath2012-08-171-0/+1
|
* Respect --localstatedir for /var/db parent directory.Roland McGrath2012-06-221-0/+1
|
* BZ#10375: Configure magic to use -fno-stack-protector if needed.Roland McGrath2012-05-161-0/+1
|
* BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.Roland McGrath2012-05-161-0/+1
|
* Make sunrpc code usable againAndreas Jaeger2012-05-101-0/+1
| | | | | | | | New configure option --enable-obsolete-rpc makes the deprecated RPC headers and functions available at compile time as they were before version 2.14. This option will be removed at some time in the future after the TI-RPC library becomes fully sufficient for the needs of existing applications.
* Do check-textrel test using readelf rather than a build-time C program.Roland McGrath2012-05-011-0/+1
|
* Always run check-abiAndreas Jaeger2012-04-291-1/+0
| | | | | Remove the configure options for running of check-abi and always run it as part of the testsuite
* Remove --as-needed configure test.Joseph Myers2012-04-251-1/+0
|
* Don't handle libgcc_s suffixes.Joseph Myers2012-04-241-1/+0
|
* Disable use of FMA instructions in branredAndreas Schwab2012-03-211-0/+1
|
* Add framework for using sparc VIS3 instructions, use it for copysign/signbit.David S. Miller2012-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/configure.in: New file. * sysdeps/sparc/configure: Generate. * configure.in (libc_cv_sparc_as_vis3): Substitute. * configure: Regenerate. * config.h.in (HAVE_AS_VIS3_SUPPORT): New. * config.make.in (have-as-vis3): New. * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is available use -Av9d instead of -Av9a. * sysdeps/sparc/sparc64/Makefile: Likewise. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S: New file. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
* Remove have-initfini and need-nopic-initfiniAndreas Schwab2012-02-081-2/+0
|
* Fix makefile/configure problems with sse2avx changes.Joseph Myers2012-01-301-0/+1
|
* Static linking is always neededUlrich Drepper2012-01-081-1/+0
|
* Remove pwd tst from configureUlrich Drepper2012-01-081-1/+0
|
* More fallout from supporting only ELFUlrich Drepper2012-01-081-1/+1
|
* Remove non-ELF supportUlrich Drepper2012-01-071-1/+0
|
* Remove --enable-omitfp supportUlrich Drepper2012-01-071-1/+0
|
* Optimize accurate 64-bit routines for FMA4 on x86-64Ulrich Drepper2011-10-241-0/+1
|
* Use CPPFLAGS from configure.Mike Frysinger2011-09-191-0/+1
|
* Cleanup of configuration optionsUlrich Drepper2011-09-101-1/+0
| | | | Make several tool features mandatory and simplify the code.
* Remove support for automatic cvs check-insUlrich Drepper2011-09-081-1/+0
| | | | CVS use for glibc is long gone.
* Use linker --print-output-format option if available.Roland McGrath2011-07-141-0/+1
|
* Default install_root value from DESTDIR.Roland McGrath2011-07-051-1/+1
|
* Explicitly remove .gnu.glibc-stub sections with objcopy when not usingRoland McGrath2011-07-021-0/+1
| | | | linker script.
* Add --with-default-link configure option.Roland McGrath2011-07-021-0/+1
|
* Remove the --experimental-malloc optionUlrich Drepper2011-06-281-2/+0
| | | | It's well tested, make it the default.
* No need for RANLIB make variable anymoreUlrich Drepper2011-05-311-1/+0
|
* AVX audit test failures with gcc 4.6H.J. Lu2011-02-021-0/+1
|
* BZ #11840: Fix config.cache usage for -fgnu89-inline check.Roland McGrath2010-07-261-1/+1
|
* Pass -mtune=i686 to assembler when compiling for i686H.J. Lu2010-03-041-0/+1
|
* Add AVX support to ld.so auditing for x86-64.H.J. Lu2009-07-101-0/+1
|
* Add SSE4.2 support for strcspn, strpbrk, and strspn on x86-64.H.J. Lu2009-07-031-0/+2
|