aboutsummaryrefslogtreecommitdiff
path: root/guix/build/gremlin.scm
Commit message (Collapse)AuthorAge
* gremlin: 'elf-dynamic-info' returns a file name rathern than a dynamic entry.Dion Mendel2021-04-22
| | | | | | | | * guix/build/gremlin.scm (elf-dynamic-info): Return the dynamic entry value, not the dynamic entry. * tests/gremlin.scm ("elf-dynamic-info-soname"): New test. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gremlin: Add 'file-needed/recursive'.Ludovic Courtès2020-12-01
| | | | | * guix/build/gremlin.scm (file-needed/recursive): New procedure. * tests/gremlin.scm ("file-needed/recursive"): New test.
* gremlin: Fix typo in docstring.Ludovic Courtès2020-12-01
| | | | * guix/build/gremlin.scm (file-runpath): Fix typo.
* gremlin: Add 'set-file-runpath', 'file-runpath', and 'file-needed'.Ludovic Courtès2020-09-19
| | | | | | | | * guix/build/gremlin.scm (file-dynamic-info, file-runpath, file-needed): New procedures. (&missing-runpath-error, &runpath-too-long-error): New condition types. (set-file-runpath): New procedure. * tests/gremlin.scm ("set-file-runpath + file-runpath"): New test.
* gremlin: Add 'strip-runpath'.Ludovic Courtès2018-05-07
| | | | | | * guix/build/gremlin.scm (strip-runpath): New procedure. * tests/gremlin.scm (c-compiler): New variable. ("strip-runpath"): New test.
* gremlin: Preserve offset info for dynamic entries.Ludovic Courtès2018-05-07
| | | | | | | | * 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.
* gremlin: Fix typo in export list.Ludovic Courtès2018-03-29
| | | | * guix/build/gremlin.scm: Really export 'elf-dynamic-info-soname'.
* gremlin: Add support for the expansion of $ORIGIN in RUNPATH.Ludovic Courtès2015-04-23
| | | | | | | | * 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.
* gremlin: Ignore non-store file names in RUNPATH and warn about them.Ludovic Courtès2015-04-05
| | | | | | | | | * 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.
* gremlin: Guard against invalid ELF segments.Ludovic Courtès2015-04-01
| | | | | | | | * 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.
* gremlin: Add libnsl to libc's library list.Ludovic Courtès2015-04-01
| | | | * guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".
* Add (guix build gremlin).Ludovic Courtès2015-03-31
* guix/build/gremlin.scm, tests/gremlin.scm: New files. * Makefile.am (MODULES): Add guix/build/gremlin.scm. (SCM_TESTS): Add tests/gremlin.scm.