aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ld-wrapper.in
Commit message (Collapse)AuthorAge
* gnu: ld-wrapper: Also unset GUILE_LOAD_PATH.Maxim Cournoyer2024-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following problem was discovered while attempting to configure Guix to use a locally built Guile tree, via its meta/uninstalled-env script, which would attempt to use the newer Guile source files and fail with: Pre-boot error; key: unbound-variable, args: (#f "Unbound variable: ~S" (error) #f)collect2: fatal error: ld terminated with signal 6 [Aborted] With the following change, a Guix user may now configure their build to use a locally built Guile with e.g.: ~/src/guile/meta/uninstalled-env ./configure --localstatedir=/var \ --sysconfdir=/etc * gnu/packages/ld-wrapper.in: Unset GUILE_LOAD_PATH. Also unset GUILE_SYSTEM_PATH, for symmetry. Streamline exec call, using the now fixed '-l' option. (ld-wrapper): Fix args being a nested list, and strip its arg0. Series-to: 69396@debbugs.gnu.org Series-postfix: core-updates Series-version: 2 Series-changes: 2 - Revert to load-compiled scheme to load ld.go - Refine comment Change-Id: Iaaa721019f3646d851202bb018214ec9fcc04fd4
* gnu: ld-wrapper: Unset 'GUILE_SYSTEM_COMPILED_PATH'.Ludovic Courtès2020-09-25
| | | | | | | 'GUILE_SYSTEM_COMPILED_PATH' is set by guile-bootstrap@2.0. Unsetting it ensures it does not interfere. * gnu/packages/ld-wrapper.in: Unset GUILE_SYSTEM_COMPILED_PATH.
* gnu: ld-wrapper: Add support for quoted arguments in response files.Marius Bakke2020-03-05
| | | | | * gnu/packages/ld-wrapper.in (expand-arguments): Add TOKENIZE procedure, and use that to parse the response file.
* ld-wrapper: Allow linking with non-store libraries by default.Ludovic Courtès2018-03-29
| | | | | | | | | | This was suggested on several occasions, notably <https://bugs.gnu.org/24544>. * gnu/packages/ld-wrapper.in (%allow-impurities?): Default to #t and parse the value of 'GUIX_LD_WRAPPER_ALLOW_IMPURITIES'. * guix/build/gnu-build-system.scm (set-paths): Set 'GUIX_LD_WRAPPER_ALLOW_IMPURITIES'.
* ld-wrapper: Don't talk about "impure library".Ludovic Courtès2018-03-29
| | | | | * gnu/packages/ld-wrapper.in (rpath-arguments): Clarify message instead of saying "impure library".
* ld-wrapper: Make sure debugging output goes through.Ludovic Courtès2018-03-29
| | | | * gnu/packages/ld-wrapper.in (ld-wrapper): Add call to 'force-output'.
* ld-wrapper: Read arguments from "response files".Ludovic Courtès2017-05-25
| | | | | | | | Fixes <http://bugs.gnu.org/25882>. Reported by Federico Beffa <beffa@fbengineering.ch>. * gnu/packages/ld-wrapper.in (expand-arguments): New procedure. (ld-wrapper): Use it.
* ld-wrapper: Unset 'GUILE_LOAD_COMPILED_PATH'.Ludovic Courtès2016-04-06
| | | | * gnu/packages/ld-wrapper.in: Unset 'GUILE_LOAD_COMPILED_PATH'.
* ld-wrapper: Compute the library search path globally.Ludovic Courtès2015-11-28
| | | | | | | | | | Fixes <http://bugs.gnu.org/21941>. * gnu/packages/ld-wrapper.in (library-search-path): New procedure. (library-files-linked): Add 'library-path' parameter. Use it. Do not thread it in 'fold'. (ld-wrapper): Add call to 'library-search-path' and pass the result to 'library-files-linked'. When debugging, print the value of PATH.
* ld-wrapper: Ignore .so files specified after "-plugin" for RUNPATH purposes.Ludovic Courtès2015-06-14
| | | | | | | | Reported by Mark H Weaver at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20102#58>. * gnu/packages/ld-wrapper.in (library-files-linked): Handle "-plugin" similarly to "-dynamic-linker".
* gnu: ld-wrapper: Ignore the .so argument following '-dynamic-linker'.Ludovic Courtès2015-04-21
| | | | | | | | Reported at <http://bugs.gnu.org/20102>. * gnu/packages/ld-wrapper.in (library-files-linked): Rename 'path+files' to 'path+files+args'. Thread the reverse list of previous arguments. Add case for when the previous argument is "-dynamic-linker".
* gnu: ld-wrapper: Add debugging info.Ludovic Courtès2015-04-21
| | | | | * gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked" debugging statement.
* gnu: Rename ld-wrapper2 to ld-wrapper.Ludovic Courtès2015-04-21
| | | | | | | | * gnu/packages/ld-wrapper2.in: Rename to... * gnu/packages/ld-wrapper.in: ... this. * gnu-system.am (MISC_DISTRO_FILES): Remove ld-wrapper2.in. * gnu/packages/commencement.scm (fixed-ld-wrapper): Remove. (gcc-toolchain): Restore pre-77db91ad inputs.
* gnu: Change ld-wrapper extension from .scm to .in.Ludovic Courtès2015-04-07
* gnu/packages/ld-wrapper.scm: Rename to... * gnu/packages/ld-wrapper.in: ... this. * gnu/packages/base.scm (make-ld-wrapper): Adjust "wrapper" input accordingly. * gnu-system.am (GNU_SYSTEM_MODULES): Remove ld-wrapper.scm. (MISC_DISTRO_FILES): New variable.