me
/
guix
Archived
1
0
Fork 0
Commit Graph

13 Commits (cd8cb11b1f1dfee7b64a3771a926d72b32eeea4d)

Author SHA1 Message Date
Ludovic Courtès a83860cd22
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.
2020-09-25 14:50:02 +02:00
Marius Bakke feb8c5dac3
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.
2020-03-05 23:36:06 +01:00
Ludovic Courtès d0a2db47fb
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'.
2018-03-29 17:58:16 +02:00
Ludovic Courtès 1a5e07c3b5
ld-wrapper: Don't talk about "impure library".
* gnu/packages/ld-wrapper.in (rpath-arguments): Clarify message instead
of saying "impure library".
2018-03-29 17:58:16 +02:00
Ludovic Courtès 6764538327
ld-wrapper: Make sure debugging output goes through.
* gnu/packages/ld-wrapper.in (ld-wrapper): Add call to 'force-output'.
2018-03-29 17:58:16 +02:00
Ludovic Courtès 696487d665
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.
2017-05-25 14:34:18 +02:00
Ludovic Courtès 2a5739b4c0 ld-wrapper: Unset 'GUILE_LOAD_COMPILED_PATH'.
* gnu/packages/ld-wrapper.in: Unset 'GUILE_LOAD_COMPILED_PATH'.
2016-04-06 22:24:13 +02:00
Ludovic Courtès e946b609b2 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.
2015-11-28 22:11:12 +01:00
Ludovic Courtès b5616bc33d 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".
2015-06-14 01:00:27 +02:00
Ludovic Courtès 4a2b74bf4c 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".
2015-04-21 21:14:28 +02:00
Ludovic Courtès 4267c637d6 gnu: ld-wrapper: Add debugging info.
* gnu/packages/ld-wrapper.in (ld-wrapper): Add "libraries linked"
  debugging statement.
2015-04-21 21:08:44 +02:00
Ludovic Courtès cbbb11c8a0 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.
2015-04-21 21:07:11 +02:00
Ludovic Courtès c8bfa5b425 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.
2015-04-07 22:28:36 +02:00