| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
This will make it possible to check whether we can use pkgsStatic
opportunistically, in places like busybox-sandbox-shell, which
currently decides not to use pkgsStatic based on a hard-coded set of
platforms.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before the change separate-debug-info.sh did the stripping itself.
This scheme has a few problems:
1. Stripping happens only on ELF files. *.a and *.o files are skipped.
Derivations have to do it manually. Usually incorrectly
as they don't run $RANLIB (true for `glibc` and `musl`).
2. Stripping happens on all paths. Ideally only `stripDebugList` paths
should be considered.
3. Host strip is called on Target files.
This change offloads stripping logic to strip hook. This strips more
files for `glibc` and `musl`. Now we can remove most $STRIP calls
from individual derivations.
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
|
|
|
| |
https://www.openwall.com/lists/musl/2022/04/07/1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old stdenv adapters were subtly wrong in two ways:
- `overrideAttrs` leaked the original, unoverridden `mkDerivation`.
- `stdenv.override` would throw away any manually-set `mkDerivation`
from a stdenv reverting to the original.
Now, `mkDerivation` is controlled (nearly directly) via an argument, and
always correctly closes over the final ("self") stdenv. This means the
adapters can work entirely via `.override` without any manual `stdenv //
...`, and both those issues are fixed.
Note hashes are changed, because stdenvs no previously overridden like
`stdenvNoCC` and `crossLibcStdenv` now are. I had to add some
`dontDisableStatic = true` accordingly. The flip side however is that
since the overrides compose, we no longer need to override anything but
the default `stdenv` from which all the others are created.
|
|
|
|
| |
https://git.musl-libc.org/cgit/musl/tree/WHATSNEW?h=v1.2.2#n2242
|
|
|
|
|
|
|
|
| |
In order to support stackprotector on musl32, this change import a
couple of patches from alpinelinux:
1. libssp_nonshared.a is built alongside musl's libc
2. the above library is automatically linked when compiling with gcc6
or gcc7
|
|\
| |
| | |
musl: 1.2.0 -> 1.2.1
|
| | |
|
|/
|
|
|
|
| |
Destination buffer overflow in wcsnrtombs.
Fixes: CVE-2020-28928
|
|
|
|
|
| |
The libdrm `musl-ioctl.patch` is no longer necessary, see:
https://github.com/openembedded/openembedded-core/commit/015e631cd18d982df03d4c829c0f8229a2face38
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
https://www.openwall.com/lists/musl/2019/10/13/5
Apparently 1.1.23 never made it to nixpkgs proper (?!), see:
https://git.musl-libc.org/cgit/musl/commit/?id=b07d45eb01e900f0176894fdedab62285f5cb8be
(sorry I apparently dropped the ball here)
|
|
|
|
| |
https://www.openwall.com/lists/musl/2019/04/10/1
|
|
|
|
|
|
| |
https://www.openwall.com/lists/musl/2019/01/21/8
\o/
|
|
|
|
|
|
|
| |
The others rely on some of the recent restructuring+cleanup in musl,
which hopefully reaches us soon :).
For now just bump the default sizes.
|
|
|
|
|
| |
Also supports setting default thread stack size via linker,
making it possible to fix programs without modifying source.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ppc64le enablement
* gcc, glibc: properly handle __float128
* lib/systems, stdenv: syntax cleanup
* gcc7: remove ugly hack
* gcc: add/update __float128 flags
* stdenv: add another pair of quotes for consistency
* gcc: move __float128 flag for ppc64le-glibc into common/platform-flags.nix
|
| |
|
|
|
|
|
|
|
|
|
| |
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
|
| |
|
|
|
|
|
| |
Also fix some setup hooks that unnecessarily used environment hooks,
which revolted in the same variable being modified too many times.
|
|
|
|
| |
Minor touchup while rebuilding things anyway.
|
|
|
|
|
| |
This is a bit unusual for a package,
but not libc's as they should stand alone.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
These are convenient for projects with mixed musl/glibc build targets.
For pure musl builds in nixpkgs, we probably want a musl stdenv.
|
|/ |
|
|
|
|
|
|
|
| |
Also by setting --enable-debug, asm is preprocessed with CFI directives.
Keep unwind tables does not increase size by much,
and helps debuggers and similar make sense of things.
|
|
|
|
| |
Remove patch, no longer needed.
|
| |
|
| |
|
| |
|
| |
|