| Commit message (Expand) | Author | Age | Files | Lines |
* | gnu: ld-wrapper: Also unset GUILE_LOAD_PATH.•••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
| Maxim Cournoyer | 2024-08-31 | 1 | -11/+16 |
* | gnu: ld-wrapper: Unset 'GUILE_SYSTEM_COMPILED_PATH'.•••'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.
| Ludovic Courtès | 2020-09-25 | 1 | -1/+2 |
* | gnu: ld-wrapper: Add support for quoted arguments in response files.•••* gnu/packages/ld-wrapper.in (expand-arguments): Add TOKENIZE procedure, and
use that to parse the response file.
| Marius Bakke | 2020-03-05 | 1 | -4/+19 |
* | ld-wrapper: Allow linking with non-store libraries by default.•••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'.
| Ludovic Courtès | 2018-03-29 | 1 | -1/+13 |
* | ld-wrapper: Don't talk about "impure library".•••* gnu/packages/ld-wrapper.in (rpath-arguments): Clarify message instead
of saying "impure library".
| Ludovic Courtès | 2018-03-29 | 1 | -2/+2 |
* | ld-wrapper: Make sure debugging output goes through.•••* gnu/packages/ld-wrapper.in (ld-wrapper): Add call to 'force-output'.
| Ludovic Courtès | 2018-03-29 | 1 | -2/+3 |
* | ld-wrapper: Read arguments from "response files".•••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.
| Ludovic Courtès | 2017-05-25 | 1 | -2/+38 |
* | ld-wrapper: Unset 'GUILE_LOAD_COMPILED_PATH'.•••* gnu/packages/ld-wrapper.in: Unset 'GUILE_LOAD_COMPILED_PATH'.
| Ludovic Courtès | 2016-04-06 | 1 | -1/+5 |
* | ld-wrapper: Compute the library search path globally.•••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.
| Ludovic Courtès | 2015-11-28 | 1 | -27/+39 |
* | ld-wrapper: Ignore .so files specified after "-plugin" for RUNPATH purposes.•••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".
| Ludovic Courtès | 2015-06-14 | 1 | -4/+8 |
* | gnu: ld-wrapper: Ignore the .so argument following '-dynamic-linker'.•••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".
| Ludovic Courtès | 2015-04-21 | 1 | -14/+25 |
* | gnu: ld-wrapper: Add debugging info.•••* gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked"
debugging statement.
| Ludovic Courtès | 2015-04-21 | 1 | -0/+2 |
* | gnu: Rename ld-wrapper2 to ld-wrapper.•••* 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.
| Ludovic Courtès | 2015-04-21 | 1 | -25/+23 |
* | gnu: Change ld-wrapper extension from .scm to .in.•••* 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.
| Ludovic Courtès | 2015-04-07 | 1 | -0/+209 |