<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi maintainer,<br>
<br>
Sorry for my delayed reply.<br>
</p>
<p>On Fri, 17 May 2024 14:01:37 +0300 Ilias Tsitsimpis <iliastsi@debian.org>
wrote:</iliastsi@debian.org></p>
<p><iliastsi@debian.org></iliastsi@debian.org></p>
<iliastsi@debian.org>> Hi!<br>
> <br>
> On Wed, May 15, 2024 at 09:23AM, Peng Fan wrote:<br>
> > The reason for the above error is that "relocation
R_LARCH_B26 overflow<br>
> I assume ghc 9.4.7 that you currently have in loong64 is
unregisterised.<br>
> Can you please run 'ghc --info' to confirm that?<br>
</iliastsi@debian.org>
<p>For ghc Version 9.4.7, we have added loongarch support and built
the unreleased version 9.4.7+loong64.<br>
The ghc Version 9.4.7+loong64 was uploaded to pool-loong64
repository on Nov, 2023.<br>
I installed ghc 9.4.7+loong64 on my local ENV, the result of run
'ghc --info' is as follows,<br>
```<br>
root@localhost:/home# ghc --info<br>
[("Project name","The Glorious Glasgow Haskell Compilation
System")<br>
,("GCC extra via C opts","")<br>
,("C compiler command","loongarch64-linux-gnu-gcc")<br>
,("C compiler flags","")<br>
,("C++ compiler command","loongarch64-linux-gnu-g++")<br>
,("C++ compiler flags","")<br>
,("C compiler link flags","-fuse-ld=bfd")<br>
......<br>
```<br>
</p>
<iliastsi@debian.org>> If that's the case, can you please try
with ghc 9.6.7-1~exp1 from<br>
> experimental? I have done some extra work there in order to
get a<br>
> registerised compiler on loong64.<br>
</iliastsi@debian.org><br>
Thanks for your help, sincerely.<br>
But I'd like to note that the latest ghc version in the experimental
repository is currently 9.6.5-1~exp1.<br>
Please see
<a class="moz-txt-link-freetext" href="https://buildd.debian.org/status/package.php?p=ghc&suite=experimental">https://buildd.debian.org/status/package.php?p=ghc&suite=experimental</a>.<br>
<br>
As you said, we really should submit bugs and make patch based on
ghc 9.6.5-1~exp1.<br>
Based on ghc 9.6.5-1~exp1, I have added extra --ghc-options in
d/rules for loong64.<br>
Please consider the patch I attached.<br>
Your opinions are welcome.<br>
<br>
Thanks,<br>
Dandan Zhang<br>
</body>
</html>