aboutsummaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2013-08-25configure: add missing quotes in $build_pt_chown testMike Frysinger1-1/+1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-07-21CVE-2013-2207, BZ #15755: Disable pt_chown.Carlos O'Donell1-0/+16
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.
2013-07-04Fix lock elision help text in INSTALL and configureSiddhesh Poyarekar1-2/+1
2013-07-02Add a configure option to enable lock elision and disable by defaultAndi Kleen1-0/+16
Can be enabled with --enable-lock-elision=yes at configure time.
2013-06-26Require GCC 4.4 or later to build glibc.Joseph Myers1-1/+1
2013-06-20Fix loop construction to functions callsAdhemerval Zanella1-0/+33
Check wheter the compiler has the option -fno-tree-loop-distribute-patterns to inhibit loop transformation to library calls and uses it on memset and memmove default implementation to avoid recursive calls.
2013-06-17Sort sysd-rules-patterns by descending pattern length.Roland McGrath1-1/+1
2013-04-17Configuring for i386 is no longer supported.Carlos O'Donell1-10/+1
We no longer support configuring for i386, nor do we elide such a configuration to i686. Configuring with i386-* is a failure, and we provide an example of how to fix that. --- 2013-04-17 Carlos O'Donell <carlos@redhat.com> * configure.in: Remove i386 configure warning. Remove i386 case. * configure: Regenerate. * sysdeps/i386/configure.in: Raise error if config_machine is i386. Add example to error message. * sysdeps/i386/configure: Regenerate.
2013-04-06i386: Fail at configure time for i386 builds.Carlos O'Donell1-0/+9
This change does two things: * Treats a target i386-* as if it were i686. * Fails configure if the user is generating code for i386. We no longer support i386 code-generation because the i386 lacks the atomic operations we need in glibc. You can still configure for i386-*, but you get i686 code. You can't build with --march=i386, --mtune=i386 or a compiler that defaults to i386 code-generation. I've added two i386 entries in the master todo list to discuss merging and renaming: http://sourceware.org/glibc/wiki/Development_Todo/Master#i386 The failure modes are fail-safe here. You compile for i386, get i686, and try to run on i386 and it fails. The configure log has a warning saying we elided to i686. There is no situation that I can see where we run into any serious problems. The patch makes the current state better in that we get less confused users and we build successfully in more default configurations. The next enhancement would be to add --march=i?86 as suggested in #c20 of BZ#10062 for any i?86-* builds, which would solve the problem of a 32-bit compiler that defaults to i386 code-gen and glibc configured for i686-* target. Which previously failed at build time, and now will fail at configure time (requires adding --march=i686). Updated NEWS with BZ #10060 and #10062. No regressions. --- 2013-04-06 Carlos O'Donell <carlos@redhat.com> [BZ #10060, #10062] * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro. * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and fail configure if __sync_val_compare_and_swap is not inlined. * sysdeps/i386/configure: Regenerate. * configure.in: Build for i686 when configured for i386. * configure: Regenerate. * README: Remove i386 reference.
2013-03-20Move system-specific settings out of toplevel configure.in and config.make.in.Joseph Myers1-18/+2
2013-03-19Add support for rtld directory different from slib directoryAndreas Schwab1-0/+2
2013-01-25Don't bother checking for $CC option to accept ISO C89.Thomas Schwinge1-90/+5
2013-01-25configure: Default to CPP="$CC -E" unless overridden.Thomas Schwinge1-167/+6
2013-01-11Fix multiarch handling in sysdeps generation.Roland McGrath1-4/+10
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu1-0/+14
2013-01-10Remove some old cruft variables from configure.Roland McGrath1-2/+3
2012-11-24Fix C++ header directory detection for non-standard paths.Adam Conrad1-6/+5
Stop assuming specific path layouts for C++ headers, and instead use an autodetection method that looks for paths with '/[cg]++' in the g++ include list.
2012-11-21Properly check linker -z XXX supportH.J. Lu1-60/+80
2012-11-18Fix ifunc configure check for 64-bit targetsAndreas Schwab1-2/+6
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers1-0/+66
2012-10-24BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath1-0/+7
2012-10-24change ifunc assembly test to a link testMike Frysinger1-105/+116
The test currently tests the binutils frontend support which passes for all versions of binutils we currently require (2.20+). It doesn't test the backend which is required for ifunc to actually work, and which most targets don't yet support. Change the assembly code so that when we link it, we get a file that has ifunc relocations if the backend supports it. That way we can test to see if binutils supports everything we need. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-24drop -q flag when using grepMike Frysinger1-3/+3
We don't currently want to rely on the -q option to grep. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-19Remove relics of support for configuring in the source directory.Joseph Myers1-8/+2
2012-10-10Use $CXX not cc1plus to locate C++ headers.Joseph Myers1-3/+2
2012-10-03Clean up conditionalize of ld.so.cache support.Roland McGrath1-0/+4
2012-09-15Remove $(have-cpp-asm-debuginfo) checkH.J. Lu1-2/+0
2012-09-06Improve C++ header location detection (bug 13966)Allan McRae1-6/+4
2012-09-02Check for gawk >= 3.0 (bug 13412)Allan McRae1-44/+64
2012-08-22Add --disable-build-nscd configure option.Roland McGrath1-0/+15
2012-08-22BZ#13696: Add --disable-nscd configure option.Roland McGrath1-0/+20
2012-08-22Fix sed configure check for newer sed --version output.Dmitry V. Levin1-1/+1
2012-08-17Make sysheaders available in config.make.Roland McGrath1-0/+2
2012-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek1-38/+2
2012-07-23configure.in <sysdeps resolving>: Correct printing Implies_before.Thomas Schwinge1-1/+1
2012-07-10Get rid of ASM_GLOBAL_DIRECTIVE.Marek Polacek1-40/+5
2012-06-22Respect --localstatedir for /var/db parent directory.Roland McGrath1-0/+3
2012-05-30Weaken PIE configure test to a compile test.Joseph Myers1-9/+3
2012-05-25Don't use header files in glibc configureH.J. Lu1-328/+4
2012-05-25Add --enable-systemtap configuration to define static probe points.Roland McGrath1-0/+48
2012-05-21Filter out unknown symbols in stack-protector test.Joseph Myers1-0/+7
2012-05-16BZ#10375: Configure magic to use -fno-stack-protector if needed.Roland McGrath1-0/+139
2012-05-16BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed.Roland McGrath1-0/+35
2012-05-16Update Texinfo version requirement.Joseph Myers1-1/+1
2012-05-15configure change to handle Implies-{before,after} filesRoland McGrath1-33/+38
2012-05-10Make sunrpc code usable againAndreas Jaeger1-0/+18
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.
2012-04-29Always run check-abiAndreas Jaeger1-13/+0
Remove the configure options for running of check-abi and always run it as part of the testsuite
2012-04-26Don't handle unsupported OSes in configure (base_os settings).Joseph Myers1-12/+2
2012-04-25Remove --as-needed configure test.Joseph Myers1-29/+0
2012-04-24Don't handle libgcc_s suffixes.Joseph Myers1-20/+1