nixpkgs/pkgs/stdenv/linux
Adam Joseph 96588eb3de gcc: add common/checksum.nix
This commit adds `gcc/common/checksum.nix`, which contains code
common to both gcc11 and gcc12, implementing the `enableChecksum`
feature.

When gcc's built-in bootstrap (`--enable-bootstrap`) is used, gcc
compiles itself three times and compares a hash of the unlinked `.o`
files from the second and third compilation.  The
`enableChecksum=true` parameter performs the same comparison as part
of the `postInstall` phase.

Notably, `enableChecksum=true` can be used with `enableBootstrap=false`.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-04-02 13:49:53 -07:00
..
bootstrap-files Merge remote-tracking branch 'origin/master' into staging-next 2023-03-10 13:09:25 +01:00
bootstrap-tools unpack-bootstrap-tools.sh: patchelf libgcc_s.so.1 2023-04-02 13:49:53 -07:00
bootstrap-tools-musl gcc: mark hardeningUnsupportedFlags fortify3 for all but gcc 12 2023-01-24 21:52:12 +00:00
default.nix gcc: add common/checksum.nix 2023-04-02 13:49:53 -07:00
make-bootstrap-tools-cross.nix make-bootstrap-tools-cross: enable Hydra builds of mips32el bootstrap-files 2022-06-29 14:48:13 -07:00
make-bootstrap-tools.nix make-bootstrap-tools.nix: use a patchelf built with -static-{libgcc,libstdc++} 2023-04-02 13:49:53 -07:00