guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RUNPATH validation


From: Ludovic Courtès
Subject: RUNPATH validation
Date: Sat, 04 Apr 2015 23:47:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

In ‘core-updates’ there’s a new ‘validate-runpath’ phase that checks all
the ELF binaries produced and fails if one of them has a dependency
(DT_NEEDED) that cannot be found in its RUNPATH.  It uses (guix elf) and
the new (guix build gremlin).

So now the “dangling .so references” bugs really need to be fixed.  ;-)
A few RUNPATH problems were fixed in ‘core-updates’, mostly related to
cross-compilation where binaries never had a valid RUNPATH due to the
lack of a cross ‘ld-wrapper’ to add ‘-rpath’ flags as we do natively.

Feedback welcome!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]