nixpkgs/pkgs/development/compilers/gcc
Guillaume Girol 9cb3614007 gcc: prevent runtime references via __FILE__ but in a reversible manner
the mangling done by mangle-NIX_STORE-in-__FILE__.patch also applies to
source paths embedded in debug symbols. When putting a breakpoint in a
template instanciation from another lib, the path that gdb looks for is
therefore mangled (/nix/store/eeeeeee;...-the-lib-dev/include/foo.h)
This severely degrades the debugging experience. To alleviate that, it's
possible to make the mangling reversible: a debuginfod server can then
reverse the mangling. I plan to implement that in nixseparatedebuginfod.
The reversible mangling that was chosen in making the hash of the store
path uppercase.
2024-01-07 12:00:00 +00:00
..
common gcc.libgcc: compare host and target platforms, rathern than their triples 2023-11-04 05:58:23 +00:00
patches gcc: prevent runtime references via __FILE__ but in a reversible manner 2024-01-07 12:00:00 +00:00
all.nix gcc48: disable on x86_64-darwin 2023-11-08 07:32:47 +00:00
default.nix gcc8: support avr cross compilation on aarch64-darwin 2023-12-04 06:32:32 +11:00
versions.nix gcc: move version information to gcc/versions.nix 2023-11-07 09:57:54 +00:00