-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
LLD linker does not have required nixpkgs wrapper script and flags #24744
Copy link
Copy link
Open
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: haskellGeneral-purpose, statically typed, purely functional programming languageGeneral-purpose, statically typed, purely functional programming language6.topic: llvm/clangIssues related to llvmPackages, clangStdenv and relatedIssues related to llvmPackages, clangStdenv and related
Metadata
Metadata
Assignees
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: haskellGeneral-purpose, statically typed, purely functional programming languageGeneral-purpose, statically typed, purely functional programming language6.topic: llvm/clangIssues related to llvmPackages, clangStdenv and relatedIssues related to llvmPackages, clangStdenv and related
Fields
Give feedbackNo fields configured for issues without a type.
Currently using the
lldlinker in nix doesn't work correctly.Executables that it produces have entries in
lldbeingnot found(rpaths are missing).That's because
ldandgoldhave wrappers that do the following:nixpkgs/pkgs/build-support/cc-wrapper/ld-wrapper.sh
Line 133 in 593b46f
But
lldcurrently doesn't have such a wrapper.(I found this via See also #24692 (comment).)
Also this type of patch or setting to
--enable-new-dtagswill likely be needed, and potentially other changes nixpkgs makes toldandgold.