GNU bug report logs -
#61420
[PATCH 00/31] Haskell upgrade to Stackage 20.5
Previous Next
Reported by: Lars-Dominik Braun <lars <at> 6xq.net>
Date: Sat, 11 Feb 2023 10:00:02 UTC
Severity: normal
Tags: patch
Done: Lars-Dominik Braun <lars <at> 6xq.net>
Bug is archived. No further changes may be made.
Full log
Message #50 received at 61420 <at> debbugs.gnu.org (full text, mbox):
This turns on the linker flag -Wl,-E for all libraries depending on it,
resulting in large binaries, because --gc-sections cannot clean exported
symbols.
* gnu/packages/haskell-xyz.scm (ghc-lua)[arguments]: Disable
export-dynamic feature.
---
gnu/packages/haskell-xyz.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 3efde02932..0a6efedd29 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -15452,6 +15452,9 @@ (define-public ghc-lua
"07wni3ji46ndqabwffgwzij2jk34dq2d66z15hcd6jg33sqnym45"))))
(build-system haskell-build-system)
(properties '((upstream-name . "lua")))
+ (arguments
+ ;; Allow creating fully static binaries. Avoids issues with linking pandoc statically.
+ `(#:configure-flags (list "-f-export-dynamic")))
(native-inputs (list ghc-tasty ghc-tasty-hunit))
(home-page "https://hslua.org/")
(synopsis "Lua, an embeddable scripting language")
--
2.38.2
This bug report was last modified 2 years and 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.