about summary refs log tree commit diff
path: root/manual/install.texi
Commit message (Collapse)AuthorAgeFilesLines
* Increase minimum Linux kernel version to 2.6.32.Joseph Myers2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch increases the minimum Linux kernel version for glibc to 2.6.32, as discussed in the thread starting at <https://sourceware.org/ml/libc-alpha/2014-01/msg00511.html>. This patch just does the minimal change to arch_minimum_kernel settings (and LIBC_LINUX_VERSION, which determines the minimum kernel headers version, as it doesn't make sense for that to be older than the minimum kernel that can be used at runtime). Followups would be expected to do, roughly and not necessarily precisely in this order: * Remove __LINUX_KERNEL_VERSION checks in kernel-features.h files where those checks are always true / always false for kernels 2.6.32 and above. * Otherwise simplify/improve conditionals in those files (for example, where defining once in the main file then undefining in architecture-specific files makes things clearer than having lots of separate definitions of the same macro), possibly fixing in the process cases where a macro should optimally have been defined for a given architecture but wasn't. (In the review in preparation for this version increase I checked what the right conditions should be for all macros in the main kernel-features.h whose definitions there would have been affected by the increase - but I only fixed that subset of the issues found where --enable-kernel=2.6.32 would have caused a kernel feature to be wrongly assumed to be present, not any cases where a feature is not assumed but could be assumed.) * Remove conditionals on __ASSUME_* where they can now be taken to be always-true, and the definitions when the macros are only used in Linux-specific files. * Split more architectures out of the main kernel-features.h (like ex-ports architectures), once various of the architecture conditionals there have been eliminated so the new architecture-specific files are no larger than actually necessary. Tested x86_64. 2014-03-27 Joseph Myers <joseph@codesourcery.com> [BZ #9894] * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION): Change to 2.6.32. (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32. * sysdeps/unix/sysv/linux/configure: Regenerated. * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file. * sysdeps/unix/sysv/linux/microblaze/configure: Likewise. * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise. * sysdeps/unix/sysv/linux/tile/configure: Likewise. * README: Update reference to required Linux kernel version. * manual/install.texi (Linux): Update reference to required Linux kernel headers version. * INSTALL: Regenerated.
* Do not terminate default test runs on test failure.Joseph Myers2014-03-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is an updated version of <https://sourceware.org/ml/libc-alpha/2014-01/msg00198.html> and <https://sourceware.org/ml/libc-alpha/2014-03/msg00180.html>. Normal practice for software testsuites is that rather than terminating immediately when a test fails, they continue running and report at the end on how many tests passed or failed. The principle behind the glibc testsuite stopping on failure was probably that the expected state is no failures and so any failure indicates a problem such as miscompilation. In practice, while this is fairly close to true for native testing on x86_64 and x86 (kernel bugs and race conditions can still cause intermittent failures), it's less likely to be the case on other platforms, and so people testing glibc run the testsuite with "make -k" and then examine the logs to determine whether the failures are what they expect to fail on that platform, possibly with some automation for the comparison. This patch switches the glibc testsuite to the normal convention of not stopping on failure - unless you use stop-on-test-failure=y, in which case it behaves essentially as it did before (and does not generate overall test summaries on failure). Instead, the summary tests.sum may contain tests that FAILed. At the end of the test run, any FAIL or ERROR lines from tests.sum are printed, and then it exits with error status if there were any such lines. In addition, build failures will also cause the test run to stop - this has the justification that those *do* indicate serious problems that should be promptly fixed and aren't generally hard to fix (but apart from that, avoiding the build stopping on those failures seems harder). Note that unlike the previous patches in this series, this *does* require people with automation around testing glibc to change their processes - either to start using tests.sum / xtests.sum to track failures and compare them with expectations (with or without also using "make -k" and examining "make" logs to identify build failures), or else to use stop-on-test-failure=y and ignore the new tests.sum / xtests.sum mechanism. (If all you check is the exit status from "make check", no changes are needed unless you want to avoid test runs continuing after the first failure.) Tested x86_64. * scripts/evaluate-test.sh: Handle fourth argument to determine whether test run should stop on failure. * Makeconfig (stop-on-test-failure): New variable. (evaluate-test): Pass fourth argument to evaluate-test.sh based on $(stop-on-test-failure). * Makefile (tests): Give a summary of results from testing and exit with failure status if they include an ERROR or FAIL. (xtests): Likewise. * manual/install.texi (Configuring and compiling): Mention stop-on-test-failure=y. * INSTALL: Regenerated.
* Fix two spaces after sentence.Ondřej Bílka2014-02-261-1/+1
| | | | | Minor formatting fix that was carried by issuing sed -e"s/\. \([A-Z]\)/. \1/" followed by editing result.
* Stop partial menu generation in INSTALL fileAllan McRae2013-12-191-0/+2
| | | | | | | | | | The commit d136c6dc resulted in menu text for the "Top" node being added to the INSTALL file on regeneration. As the full menu is not displayed in the plain text file anyway, suppress the menu section completely to avoid the additional text. Also regenerate the INSTALL file to commit a small formatting change introduced in the same commit.
* BZ #15941: Fix INSTALL file regeneration failure with makeinfo 5.xSiddhesh Poyarekar2013-12-051-3/+3
| | | | | I have skipped regenerating the INSTALL file because we want to continue using the 4.x generator for now.
* rename configure.in to configure.acMike Frysinger2013-10-301-1/+1
| | | | | | | Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Revert "Remove references to non-existent content items in install.texi"Allan McRae2013-09-281-1/+1
| | | | | | | | This reverts commit 583c76a7ce305d24e0625a22caed317b3e001d91 which breaks building info pages during "make install". Conflicts: ChangeLog
* Remove references to non-existent content items in install.texiAllan McRae2013-09-271-1/+1
| | | | | These were left in when the installation section was split out into its own file.
* Update pt_chown sections of the manualAllan McRae2013-09-101-8/+5
| | | | | | | The pt-chown binary is discussed in the "Running make install" section without clarification of the needed configure option. Clarify this and simplfy the discription which is already covered in the "Configuring and compiling" section.
* Remove --disable-versioning.Joseph Myers2013-09-041-5/+0
|
* CVE-2013-2207, BZ #15755: Disable pt_chown.Carlos O'Donell2013-07-211-0/+14
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Add a configure option to enable lock elision and disable by defaultAndi Kleen2013-07-021-0/+3
| | | | Can be enabled with --enable-lock-elision=yes at configure time.
* Require GCC 4.4 or later to build glibc.Joseph Myers2013-06-261-2/+2
|
* Sort sysd-rules-patterns by descending pattern length.Roland McGrath2013-06-171-3/+4
|
* Remove mention of i386-pc-linux-gnu.Carlos O'Donell2013-03-121-4/+4
| | | | | | The GNU C Library does not support building for i386 therefore we remove mention of this configuration from the INSTALL file.
* Add --enable-hardcoded-path-in-tests configure optionH.J. Lu2013-01-111-0/+5
|
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-091-2/+17
|
* Document general use of test-wrapper and test-wrapper-env.Joseph Myers2012-10-311-0/+11
|
* Add cross-test-ssh.sh.Joseph Myers2012-10-251-1/+8
|
* Do not mention old Linux kernel versions in installation documentation.Joseph Myers2012-05-231-7/+2
|
* Fix INSTALL description for modified files in source dirAndreas Jaeger2012-05-181-2/+2
|
* Update Texinfo version requirement.Joseph Myers2012-05-161-1/+1
|
* Do not build manual in source dirAndreas Jaeger2012-05-141-4/+4
| | | | | | | [BZ #13750] Do not build manual anymore in the source dir. Also clean up the Makefile and remove rules that have been used previously when we had a stand-alone Makefile which was obsoleted recently.
* Revert "Update install.texi for building manual in build dir"Andreas Jaeger2012-05-041-4/+4
| | | | | | | This reverts commit 0d80ac6813e3bf21fad6d87202e9efe6d0c17a82. Reverting since e3945c47bdac1149a1fec5d46bd567a248cd17b9 gets reverted as well.
* Update install.texi for building manual in build dirAndreas Jaeger2012-05-041-4/+4
|
* Move FAQ to wikiAndreas Jaeger2012-05-031-4/+4
| | | | | The FAQ is now at http://sourceware.org/glibc/wiki/FAQ and not anymore part of the repository.
* Use sourceware.org for email and web references.Carlos O'Donell2012-04-091-1/+1
| | | | | | | | | We use sourceware.org consistently to reference the server that RedHat provides for community services to open-source projects. [BZ # 13963] * manual/install.texi: Use sourceware.org.
* Clean up glibc manual references to "GNU system" (bug 6911).Joseph Myers2012-03-081-6/+7
|
* Require binutils 2.20 or later.Joseph Myers2012-03-011-1/+1
|
* Use Texinfo macros to refer to the GNU C Library within the manual.Joseph Myers2012-02-281-44/+47
|
* Require GCC 4.3 or later.Joseph Myers2012-02-271-13/+5
|
* Require Linux kernel headers from "make headers_install", >= 2.6.19.1.Joseph Myers2012-02-271-33/+32
|
* Fix stray word in line-wrapped comment in install.texi.Joseph Myers2012-02-211-2/+1
|
* Update or avoid glibc version numbers in manual.Joseph Myers2012-02-211-7/+7
|
* Remove documentation of upgrading from libc5.Joseph Myers2012-02-181-28/+11
|
* Remove --enable-omitfp supportUlrich Drepper2012-01-071-7/+0
|
* Remove use of ranlib.Ulrich Drepper2011-02-151-2/+2
|
* Update wording for gcc requirement.Ulrich Drepper2010-01-151-6/+5
|
* * version.h (VERSION): 2.4 glibc-2.4 cvs/glibc-2_4 cvs/fedora-glibc-20060306T1239Roland McGrath2006-03-061-108/+27
| | | | | | | | | | * README.template: Update for 2.4. * README: Regenerated. * manual/install.texi (Configuring and compiling): Separate build directory is mandatory. Use glibc-2.4 in example. Update --enable-add-ons description. (Supported Configurations): Remove section. * INSTALL: Regenerated.
* * manual/install.texi (Tools for Compilation): Require gcc 3.4,Roland McGrath2006-02-021-3/+10
| | | | | | recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for powerpc, s390{x,} with new long double. * INSTALL: Regenerated.
* [BZ #1908]Ulrich Drepper2005-11-221-4/+3
| | | | | | | | | | | 2005-11-22 Ulrich Drepper <drepper@redhat.com> [BZ #1908] * manual/install.texi (Tools for Compilation): Require gawk. 2005-11-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove unused is_static field from slotinfo array.
* * manual/install.texi (Installation): Don't mention linuxthreads.Roland McGrath2005-07-031-10/+2
| | | | | | | | | | | | | (Configuring and compiling): Don't use linuxthreads as example. * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only, not linuxthreads. * sysdeps/unix/sysv/linux/configure: Regenerated. * resolv/Depend: Add nptl. * rt/Depend: Likewise. * linuxthreads, linuxthreads_db: Directories removed (preserved in ports repository).
* * manual/install.texi (Tools for Compilation): GNU binutils 2.15Roland McGrath2005-03-291-1/+1
| | | | is now needed.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-42/+125
|
* 2.5-18.1Jakub Jelinek2007-07-121-125/+42
|
* 2004-08-09 Roland McGrath <roland@frob.com>Roland McGrath2004-08-101-1/+3
| | | | | | | | | | * manual/install.texi (Supported Configurations): Replace bug-glibc mention with web URL. * INSTALL: Regenerated. * locale/iso-3166.def: Likewise, in comment. * locale/iso-4217.def: Likewise. * locale/iso-639.def: Likewise. * posix/cpio.h: Remove bug reporting comment.
* [BZ #40]Ulrich Drepper2004-05-171-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update. 2004-05-15 Petter Reinholdtsen <pere@hungry.com> * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND MONTENEGRO" which have taken over the code 819. Patch from Danilo Segan. [BZ #40] 2004-05-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to __sparc_get_pic_l7. 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk> * catgets/gencat.c: Update bug reporting instructions. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldd.bash.in: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * manual/crypt.texi: Likewise. * manual/install.texi: Likewise. * nss/makedb.c: Likewise. 2004-05-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only CHECK_STATIC_TLS if sym != NULL. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. 2004-05-12 Andreas Schwab <schwab@suse.de> * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs when translating. 2004-05-13 H.J. Lu <hongjiu.lu@intel.com> * Rules (xtests): Depend on tests.
* (Tools for Compilation): Autoconf 2.53 is required. (Supported ↵Andreas Jaeger2004-02-291-1/+2
| | | | Configurations): Add x86_64-*-linux.
* (Tools for Compilation): Grammar fixes.Roland McGrath2004-01-301-1/+1
|
* Update.Ulrich Drepper2003-01-151-6/+18
| | | | | | | 2003-01-14 Ulrich Drepper <drepper@redhat.com> * manual/install.texi: Correct description of header preparation for Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].