summaryrefslogtreecommitdiff
path: root/guix/build/gremlin.scm
AgeCommit message (Collapse)Author
2018-05-07gremlin: Add 'strip-runpath'.Ludovic Courtès
* guix/build/gremlin.scm (strip-runpath): New procedure. * tests/gremlin.scm (c-compiler): New variable. ("strip-runpath"): New test.
2018-05-07gremlin: Preserve offset info for dynamic entries.Ludovic Courtès
* guix/build/gremlin.scm (<dynamic-entry>): New record type. (raw-dynamic-entries): Return a list of <dynamic-entry>. (dynamic-entries): Adjust accordingly and return a list of <dynamic-entry>. (elf-dynamic-info)[matching-entry]: New procedure. Use it.
2018-03-29gremlin: Fix typo in export list.Ludovic Courtès
* guix/build/gremlin.scm: Really export 'elf-dynamic-info-soname'.
2015-04-23gremlin: Add support for the expansion of $ORIGIN in RUNPATH.Ludovic Courtès
* guix/build/gremlin.scm (expand-variable, expand-origin): New procedures. (validate-needed-in-runpath): Map 'expand-origin' to the RUNPATH field of DYNINFO. * tests/gremlin.scm ("expand-origin"): New test.
2015-04-05gremlin: Ignore non-store file names in RUNPATH and warn about them.Ludovic Courtès
* guix/build/gremlin.scm (validate-needed-in-runpath)[runpath]: Add (filter absolute-file-name? ...). Emit a warning when RUNPATH file names that do not match 'store-file-name?'. Change format of error message to begin with file name. * guix/build/utils.scm (store-file-name?): New procedure.
2015-04-01gremlin: Guard against invalid ELF segments.Ludovic Courtès
* guix/build/gremlin.scm (&elf-error, &invalid-segment-size): New error condition types. (dynamic-link-segment): Compare SEGMENT's offset + size to ELF's total size. (validate-needed-in-runpath): Wrap body in 'guard' form.
2015-04-01gremlin: Add libnsl to libc's library list.Ludovic Courtès
* guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".
2015-03-31Add (guix build gremlin).Ludovic Courtès
* guix/build/gremlin.scm, tests/gremlin.scm: New files. * Makefile.am (MODULES): Add guix/build/gremlin.scm. (SCM_TESTS): Add tests/gremlin.scm.