Bug#1071151: ghc: Use extra --ghc-options in d/rules on loong64
Ilias Tsitsimpis
iliastsi at debian.org
Fri May 17 12:01:37 BST 2024
Hi!
On Wed, May 15, 2024 at 09:23AM, Peng Fan wrote:
> The reason for the above error is that "relocation R_LARCH_B26 overflow
> ......" occurs during static linking in the test-pandoc stage.
> Currently we have a verified method, don't need to skip test cases to solve "relocation R_LARCH_B26
> overflow ......" during static linking.
> The verified method is as follows,
> We need to add extra --ghc-options in d/rules on loong64 to increase jump-instructions's range.
I assume ghc 9.4.7 that you currently have in loong64 is unregisterised.
Can you please run 'ghc --info' to confirm that?
If that's the case, can you please try with ghc 9.6.7-1~exp1 from
experimental? I have done some extra work there in order to get a
registerised compiler on loong64.
Thanks,
--
Ilias
More information about the Pkg-haskell-maintainers
mailing list