about summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc
AgeCommit message (Collapse)AuthorFilesLines
2019-09-16glibc: fix cross compilation with gcc8Matthew Bauer1-2/+10
2019-06-17glibc: fix withGd build with gcc8Robin Gloster1-0/+2
2019-05-04[treewide] delete unused patchesc0bw3b1-11/+0
2019-04-17glibc: re-enable stripping in cross buildsPierre Bourdon1-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
2019-03-21glibcLocales: also build C.UTF-8Jörg Thalheim1-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
2019-02-26glibc: fix cross builds on DarwinMichael Roitzsch1-1/+1
evaluate buildPackages.glibc exclusively on Linux, evaluating it on Darwin will lead to an unsupported platform error
2019-02-24glibc: fix cross-buildJörg Thalheim1-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.
2019-02-20Merge branch 'staging-next'Vladimír Čunát3-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.
2019-02-17glibc: enable cross builds on DarwinMichael Roitzsch2-1/+105
add patch file for cross compilation on Darwin documentation of the changes is at the top of the patch file
2019-01-29Revert "glibc: fix build with newer bison"Vladimír Čunát1-3/+0
This reverts commit aa9821bbb9ce1085205eeb01bcfe3529617ed712.
2019-01-29glibc: fix build with newer bisonVladimír Čunát1-0/+3
Fixes https://github.com/NixOS/nixpkgs/issues/54870
2019-01-26Revert "Merge pull request #36948 from dtzWill/fix/glibc-libgcc_s"Matthew Bauer1-0/+16
This reverts commit 80ff19a45f40ddb3a3c55dbd929295fcb946eabb, reversing changes made to 43e867a226a8dc5c9c968aeae1c526697c71cd32.
2019-01-23Merge pull request #36948 from dtzWill/fix/glibc-libgcc_sMatthew Bauer1-16/+0
glibc: don't use bootstrap libgcc_s
2019-01-23Merge branch 'staging' into fix/glibc-libgcc_sMatthew Bauer2-2/+11
2019-01-22glibc: add support for C.utf-8Jörg Thalheim2-3/+7
2019-01-22glibc: remove installLocales argumentJörg Thalheim3-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.
2018-12-02Treewide: use HTTPS on GNU domainsc0bw3b1-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/
2018-11-18Merge master into staging-nextFrederik Rietdijk1-1/+10
2018-11-15glibc: disable pie hardening, limit to musl for nowWill Dietz1-1/+4
2018-11-13glibc: Add helpful comment.Niklas Hambüchen1-0/+6
Intended to avoid contributor confusion as in #50231.
2018-11-03glibc: don't use bootstrap libgcc_sWill Dietz1-16/+0
Fixes #36947
2018-10-25linux-headers: Clean up with mass rebuildDaiderd Jordan1-3/+1
2018-10-23linux-headers: Fix Darwin cross buildDaiderd Jordan1-1/+3
Carefully fake cc-version and cc-fullversion to avoid needing a compiler for the kernel itself to build the headers. For some reason, doing `make install_headers` twice, first without INSTALL_HDR_PATH=$out then with, is neccessary to get this to work.
2018-09-18mkDerivation: Make `separateDebugInfo` assertion lazier to match other ↵John Ericson1-2/+1
assertions This is needed to access attributes of derivations on platforms where they cannot be built.
2018-09-15glibc: Expose the versionJohn Ericson1-0/+2
2018-09-15glibc, kernel-headers: Fix some eval errors on DarwinJohn Ericson1-3/+2
Need to get the source to get elf.h
2018-09-11glibc: Use lib.enableFeature and friendsJohn Ericson1-9/+4
2018-08-30treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson1-6/+5
Want to get this out of here for 18.09, so it can be deprecated thereafter.
2018-07-21pkgs/*: remove unreferenced function argumentsvolth1-1/+1
2018-06-26glibc: remove unused 2.26 patch seriesWill Dietz3-0/+0
2018-05-14Merge remote-tracking branch 'upstream/staging' into strictDepsJohn Ericson8-584/+153
2018-05-14treewide: Get rid of all uses of crossConfigJohn Ericson2-12/+14
The hack of using `crossConfig` to enforce stricter handling of dependencies is replaced with a dedicated `strictDeps` for that purpose. (Experience has shown that my punning was a terrible idea that made more difficult and embarrising to teach teach.) Now that is is clear, a few packages now use `strictDeps`, to fix various bugs: - bintools-wrapper and cc-wrapper
2018-05-11Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson1-10/+7
2018-05-10Merge remote-tracking branch 'upstream/master' into lib-floatJohn Ericson8-583/+151
2018-05-10glibc: Remove old-style nullable "cross" variableJohn Ericson2-20/+12
Much better to just use {build,host}Platform directly.
2018-05-10lib: Clean up float/fpu optionsJohn Ericson1-1/+3
ARM ABIs now have a float field. This is used as a fallback to lessen our use of `platform.gcc.float`. I didn't know what the MIPs convention is so I kept using `platform.gcc.float` in that case.
2018-05-02Merge branch 'staging' into fix-ncurses-darwin-extensionsMatthew Justin Bauer1-0/+2
2018-04-25treewide: isArm -> isAarch32John Ericson2-2/+2
Following legacy packing conventions, `isArm` was defined just for 32-bit ARM instruction set. This is confusing to non packagers though, because Aarch64 is an ARM instruction set. The official ARM overview for ARMv8[1] is surprisingly not confusing, given the overall state of affairs for ARM naming conventions, and offers us a solution. It divides the nomenclature into three levels: ``` ISA: ARMv8 {-A, -R, -M} / \ Mode: Aarch32 Aarch64 | / \ Encoding: A64 A32 T32 ``` At the top is the overall v8 instruction set archicture. Second are the two modes, defined by bitwidth but differing in other semantics too, and buttom are the encodings, (hopefully?) isomorphic if they encode the same mode. The 32 bit encodings are mostly backwards compatible with previous non-Thumb and Thumb encodings, and if so we can pun the mode names to instead mean "sets of compatable or isomorphic encodings", and then voilà we have nice names for 32-bit and 64-bit arm instruction sets which do not use the word ARM so as to not confused either laymen or experienced ARM packages. [1]: https://developer.arm.com/products/architecture/a-profile (cherry picked from commit ba52ae50488de85a9cf60a3a04f1c9ca7122ec74)
2018-04-25treewide: isArm -> isAarch32John Ericson1-1/+1
Following legacy packing conventions, `isArm` was defined just for 32-bit ARM instruction set. This is confusing to non packagers though, because Aarch64 is an ARM instruction set. The official ARM overview for ARMv8[1] is surprisingly not confusing, given the overall state of affairs for ARM naming conventions, and offers us a solution. It divides the nomenclature into three levels: ``` ISA: ARMv8 {-A, -R, -M} / \ Mode: Aarch32 Aarch64 | / \ Encoding: A64 A32 T32 ``` At the top is the overall v8 instruction set archicture. Second are the two modes, defined by bitwidth but differing in other semantics too, and buttom are the encodings, (hopefully?) isomorphic if they encode the same mode. The 32 bit encodings are mostly backwards compatible with previous non-Thumb and Thumb encodings, and if so we can pun the mode names to instead mean "sets of compatable or isomorphic encodings", and then voilà we have nice names for 32-bit and 64-bit arm instruction sets which do not use the word ARM so as to not confused either laymen or experienced ARM packages. [1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25tree-wide: disable `doCheck` and `doInstallCheck` where it fails (the ↵Jan Malakhovski1-0/+2
trivial part)
2018-04-24glibc: use local copy of patch to fix w/muslWill Dietz2-6/+39
fetchpatch doesn't work with bootstrap fetchurl, so just use local file like we do for other glibc patches.
2018-04-22Merge #31320: docs and glibc: explicit comments on outputsVladimír Čunát1-1/+17
2018-03-17glibc: Make 2.27 the default.Shea Levy7-589/+93
2018-03-11glibc: make fetchpatch optional ("? null"), just in case.Will Dietz2-2/+2
2018-03-11glibc: patch to fix building w/musl-based stdenvWill Dietz2-4/+16
See: https://sourceware.org/bugzilla/show_bug.cgi?id=21604
2018-02-28glibc_2_27: LOCAL_ARCHIVE -> LOCALE_ARCHIVEShea Levy1-6/+6
2018-02-18gnumake: Fix build against glibc 2.27.Shea Levy1-0/+2
2018-02-17glibc: Add 2.27Shea Levy4-0/+473
2018-02-13glibc: Fix cross-compilation of localesBen Gamari2-3/+3
2018-01-26glibc: Remove two tiny old cross hacksJohn Ericson1-7/+1
- Name is already suffixed - Env vars are already exported