aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/glibc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* glibc: fix cross-compile to ppc64leRyan Burns2020-11-231-0/+4
| | | | | | Fixes cross-compilation when build == host != target == ppc64le. Glibc invokes objcopy during cross-compilation to ppc64le, which fails when the nonprefixed objcopy can't understand the target format.
* glibc: 2.31 -> 2.32Maximilian Bosch2020-09-123-154/+6
| | | | | | | | | | | | | | | | | | | | | | ChangeLog: https://sourceware.org/pipermail/libc-announce/2020/000029.html Patches removed: * `rpcgen-path.patch` is obsolete as the support for SunOS RPC has been removed in 2.32[1]. * The vulnerabilities CVE-2020-1752[2] & CVE-2020-10029[3] are fixed in `glibc-2.32`[4][5], thus applying those manually isn't necessary anymore. I also added myself as second maintainer as I'm quite regularly doing `glibc`-related stuff in `nixpkgs`, so let's make this situation official. [1] https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=5500cdba4018ddbda7909bc7f4f9718610b43cf0 [2] https://nvd.nist.gov/vuln/detail/CVE-2020-1752 [3] https://nvd.nist.gov/vuln/detail/CVE-2020-10029 [4] Commit 9333498794cde1d5cca518badf79533a24114b6f (CVE-2020-1752) [5] Commit ddc650e9b3dc916eab417ce9f79e67337b05035c (CVE-2020-10029)
* treewide: add warning comment to “boot” packagesMatthew Bauer2020-07-311-0/+5
| | | | | | | | | | | | | | | This adds a warning to the top of each “boot” package that reads: Note: this package is used for bootstrapping fetchurl, and thus cannot use fetchpatch! All mutable patches (generated by GitHub or cgit) that are needed here should be included directly in Nixpkgs as files. This makes it clear to maintainer that they may need to treat this package a little differently than others. Importantly, we can’t use fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale hashes, we need to include patches that are subject to changing overtime (for instance, gitweb’s patches contain a version number at the bottom).
* glibc: build with patches for CVE-2020-1752 & CVE-2020-10029Maximilian Bosch2020-06-302-0/+81
| | | | /cc roundup #88306
* glibc: 2.30 -> 2.31Maximilian Bosch2020-06-292-22/+2
| | | | https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00001.html
* glibc: patch CVE-2020-1752Vladimír Čunát2020-05-312-2/+64
| | | | | | | /cc roundup #88306; the issue seems quite serious to me. I also made two other patches non-conditional, as we rebuild all platforms anyway.
* Revert "Merge pull request #86954 from lovesegfault/binutils-2.34"Frederik Rietdijk2020-05-231-1/+1
| | | | | | | | | Pythons find_library is broken with binutils 2.34, and numpy could not import libraries because of not properly aligned ELF's. This is the second time binutils 2.34 got reverted. Next time, we should have a dedicated Hydra job for it. This reverts commit 629fa8a2d459449eeb3f7c911b765e58ac830254, reversing changes made to 4ddd080d1978b821391ad099806c18ac6a654e41.
* glibc: force OBJDUMP to cc.bintoolsBernardo Meurer2020-05-091-1/+1
|
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-101-1/+1
|
* glibc: provide fallback for kernels with missing prlimit64Dmitry Kalinkin2020-03-011-0/+12
| | | | | | | | | | | | | | | | | | | The current version of glibc implements support for kernels down to 3.2.0 (and we make sure to enable such support with apporopriate --enable-kernel setting). The current RHEL6 operating system is based on a maintained kernel based on 2.6.32 with lots of backports. We provide basic support for this specific kernel by patching glibc to provide an exception for this specific version of kernel. This allows for nixpkgs software distribution to work on RHEL6 and it does so quite well with almost no problems. There are, however, a few syscalls that are missing in the 2.6.32 kernel, one of which is prlimit64. This commit provides a fallback that uses an older {get,set}rlimit syscalls in cases when prlimit64 is not available. This should streamline the experience for nixpkgs users wanting to run it on RHEL6, namely, this fixes one of the tests in findutils. See also discussion in guix: https://lists.gnu.org/archive/html/guix-devel/2018-03/msg00356.html
* glibc: use python3Minimal instead of python3Vladimír Čunát2020-02-141-2/+2
| | | | | | This should improve the speed of bootstrapping process. Cost of evaluation also decreases a bit, but I don't expect that will be significant.
* glibc, openssl: unbreak cross eval (with minor caveats)Vladimír Čunát2020-02-101-0/+4
| | | | | | It's certainly better to have those two caveats than not evaluate. Both seem rather niche. Unfortunately I failed to find a better way. I started testing builds of several cross variants; all seem OK.
* glibc/*.patch: revert no-op changes done in 447edaa3Vladimír Čunát2020-02-056-50/+58
| | | | | I suppose the diff of the glibc-upgrade branch is a bit cleaner without including these unnecessary changes.
* Merge branch 'staging' into glibc230Maximilian Bosch2020-02-011-1/+2
|\
| * glibc: Fix build error due to warning with musl. Fixes #78805Niklas Hambüchen2020-01-301-1/+2
| |
* | glibc: remove outdated patchesMaximilian Bosch2020-01-145-286/+2
| | | | | | | | Co-authored-by: Luka Blaskovic <lblasc@znode.net>
* | glibc: depend on libidn2 (and libunistring, transitively)Vladimír Čunát2020-01-141-0/+10
| | | | | | | | | | | | It's a bit hacky, but ATM I can't see any better way for glibc >= 2.28. Signed-off-by: Luka Blaskovic <lblasc@tvbeat.com>
* | glibc: 2.27 -> 2.30Luka Blaskovic2020-01-147-61/+54
|/
* glibc: backport fix for out of bounds access in IBM-1390 converterAndrew Childs2020-01-122-0/+39
|
* glibc: fix cross compilation build failure (again)Andrew Childs2020-01-123-0/+36
|
* Revert "glibc: fix cross compilation build failure"Florian Klink2020-01-113-38/+0
| | | | This reverts commit 51014768d2f2cc61fd70d39747f6d070583864ec.
* glibc: fix cross compilation build failureAndrew Childs2020-01-123-0/+38
|
* glibc: remove TODO that is now doneAndrew Childs2020-01-121-14/+6
| | | | | This was preventing a mass-rebuild by returning null. As of 5f2d96ba2e8324fa4488fc689f324dbbb25be486 it always returns a string.
* glibc: make NIX_CFLAGS_COMPILE a stringJan Tojnar2019-12-311-4/+4
|
* Merge gcc-9 into staging (#68029)Frederik Rietdijk2019-12-301-3/+11
|\
| * Merge remote-tracking branch 'origin/master' into gcc-9Franz Pletz2019-12-262-1/+22
| |\
| * | glibc_memusage: fix build with gcc9Franz Pletz2019-11-031-2/+10
| | |
* | | glibc: NIX_CFLAGS_COMPILE -> always stringRobin Gloster2019-12-301-3/+3
| |/ |/|
* | glibc: add patch for CVE-2019-19126Robert Scott2019-12-102-1/+22
|/ | | | | including patch in-repo as it needs modification to remove the changes to NEWS but fetchpatch doesn't work here
* Merge pull request #71480 from nh2/glibc-musl-gcc8-werror-fixesNiklas Hambüchen2019-10-312-2/+16
|\ | | | | glibc: Fix building with musl on GCC 8
| * glibc: Fix building with musl on GCC 8.Niklas Hambüchen2019-10-302-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | GCC 8 introduced new warnings that were picked up by -Werror; this commit makes them non-errors until fixed upstream. See * https://github.com/NixOS/nixpkgs/pull/68244#issuecomment-544307798 * https://github.com/nh2/static-haskell-nix/issues/56 This commit takes care to not change the derivation for non-musl builds.
* | glibc: patch CVE-2018-11236, CVE-2018-11237Pierre Bourdon2019-10-033-0/+206
|/ | | | | Patches have been imported into nixpkgs and manually edited to avoid merge conflicts on ChangeLog / NEWS files.
* glibc: fix cross compilation with gcc8Matthew Bauer2019-09-161-2/+10
|
* glibc: fix withGd build with gcc8Robin Gloster2019-06-171-0/+2
|
* [treewide] delete unused patchesc0bw3b2019-05-041-11/+0
|
* glibc: re-enable stripping in cross buildsPierre Bourdon2019-04-171-4/+0
| | | | | | | | | | | | | | References to the host toolchain are leaking through debug symbols in glibc, causing gnu cross-builds to always depend on the host toolchain. The decision to not strip was made in 2012 in order to improve GNU/Hurd support, and I suspect the reasons that justified it back then do not apply anymore in 2019. Closure size before: /nix/store/v5pxj0bgg627hic2khk4d43z6cjp5v7d-hello-2.10-armv7l-unknown-linux-gnueabihf 596.8M After: /nix/store/llp1ncmpar406rc2vhj7g5ix4yqwna3n-hello-2.10-armv7l-unknown-linux-gnueabihf 23.6M
* glibcLocales: also build C.UTF-8Jörg Thalheim2019-03-211-0/+2
| | | | | | | | Previously we only build C.UTF-8 as part of the locale-archive that comes with the glibc core package. However for consistent use of LANG=C.UTF-8 we also want support in our glibcLocales as well. fixes https://github.com/NixOS/nixpkgs/issues/57974
* glibc: fix cross builds on DarwinMichael Roitzsch2019-02-261-1/+1
| | | | evaluate buildPackages.glibc exclusively on Linux, evaluating it on Darwin will lead to an unsupported platform error
* glibc: fix cross-buildJörg Thalheim2019-02-241-1/+22
| | | | | | glibc's buildsystem uses its own executables to generate locales. This does not work for cross-compilation so instead we use localedef from buildPackages.
* Merge branch 'staging-next'Vladimír Čunát2019-02-203-9/+9
|\ | | | | | | | | | | | | This round is without the systemd CVE, as we don't have binaries for that yet. BTW, I just ignore darwin binaries these days, as I'd have to wait for weeks for them.
| * Revert "glibc: fix build with newer bison"Vladimír Čunát2019-01-291-3/+0
| | | | | | | | This reverts commit aa9821bbb9ce1085205eeb01bcfe3529617ed712.
| * glibc: fix build with newer bisonVladimír Čunát2019-01-291-0/+3
| | | | | | | | Fixes https://github.com/NixOS/nixpkgs/issues/54870
| * Revert "Merge pull request #36948 from dtzWill/fix/glibc-libgcc_s"Matthew Bauer2019-01-261-0/+16
| | | | | | | | | | This reverts commit 80ff19a45f40ddb3a3c55dbd929295fcb946eabb, reversing changes made to 43e867a226a8dc5c9c968aeae1c526697c71cd32.
| * Merge pull request #36948 from dtzWill/fix/glibc-libgcc_sMatthew Bauer2019-01-231-16/+0
| |\ | | | | | | glibc: don't use bootstrap libgcc_s
| | * Merge branch 'staging' into fix/glibc-libgcc_sMatthew Bauer2019-01-232-2/+11
| | |\
| | * | glibc: don't use bootstrap libgcc_sWill Dietz2018-11-031-16/+0
| | | | | | | | | | | | | | | | Fixes #36947
| * | | glibc: add support for C.utf-8Jörg Thalheim2019-01-222-3/+7
| | | |
| * | | glibc: remove installLocales argumentJörg Thalheim2019-01-223-6/+2
| | |/ | |/| | | | | | | | | | Since we now install a sane default this should be no longer necessary. If it is still needed, it should be easy enough to do this in an overlay.
* / | glibc: enable cross builds on DarwinMichael Roitzsch2019-02-172-1/+105
|/ / | | | | | | | | add patch file for cross compilation on Darwin documentation of the changes is at the top of the patch file
* | Treewide: use HTTPS on GNU domainsc0bw3b2018-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/