summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks/separate-debug-info.sh
Commit message (Collapse)AuthorAge
* misc setup-hooks: Use env vars to refer to binutils programsJohn Ericson2017-12-13
| | | | This is more robust for cross-compilation
* setup-hooks: do not pass missing dirs to find (close #15405)Guillaume Maudoux2016-05-22
| | | | | | find fails when called with an inexistent search path. That situation may arise when the output is created after by a postFixup hook. vcunat amended the PR by clarifying one more `return` to `return 0`.
* glibc: Enable separate debug symbolsEelco Dolstra2016-02-28
| | | | | | | | | | | The importance of glibc makes it worthwhile to provide debug symbols. However, this revealed an issue with separateDebugInfo: it was indiscriminately adding --build-id to all ld invocations, while in fact it should only do that for final links. Glibc also uses non-final ("relocatable") links, leading to subsequent failure to apply a build ID ("Cannot create .note.gnu.build-id section, --build-id ignored"). So now ld-wrapper.sh only passes --build-id for final links.
* separateDebugInfo: Compress debug sections at compile/link timeEelco Dolstra2016-02-28
|
* Don't try to apply patchelf to non-ELF binariesEelco Dolstra2016-02-18
|
* separateDebugInfo: Handle weird filenames properlyEelco Dolstra2016-02-18
|
* separateDebugInfo: Restore ELF checkEelco Dolstra2016-02-18
|
* separateDebugInfo: Create symlinks matching original binariesEelco Dolstra2016-01-15
| | | | | | | | For instance, a binary like libfoo.so will cause a symlink lib/debug/libfoo.so.debug -> .build-id/<build-ID>.debug to be created. This is primarily useful for use with eu-addr2line, if you know the name of a binary and the relative address, but not the build ID.
* separateDebugInfo: one more commentVladimír Čunát2015-09-23
|
* separateDebugInfo: fix typo in commentVladimír Čunát2015-09-22
|
* separateDebugInfo: compress it by defaultVladimír Čunát2015-09-22
| | | | | Using zlib should be cheap enough and save lots of HDD space. Case study (glib): 11 MB -> 4 MB.
* separateDebugInfo: Assert LinuxEelco Dolstra2015-09-22
| | | | Also remove some unintended setting of separateDebugInfo.
* Enable separate debug infoEelco Dolstra2015-09-17
You can now pass separateDebugInfo = true; to mkDerivation. This causes debug info to be separated from ELF binaries and stored in the "debug" output. The advantage is that it enables installing lean binaries, while still having the ability to make sense of core dumps, etc.