wuruilong01
wuruilong01
Fix a compilation error in loongarch, details of the error are as follows:[https://buildd.debian.org/status/fetch.php?pkg=prads&arch=loong64&ver=0.3.3-7&stamp=1709416912&raw=0](url)
Failed to compile on debian, this PR solves the problem. Link to detailed error cause: [https://buildd.debian.org/status/fetch.php?pkg=haskell-termonad&arch=loong64&ver=4.5.0.0-1&stamp=1713881680&raw=0](url)
Encountered an error while compiling in debian, the link to the error details is as follows:[https://buildd.debian.org/status/fetch.php?pkg=haskell-hspec-hedgehog&arch=loong64&ver=0.0.1.2-5&stamp= 1709414862&raw=0](url)
Failed to compile on loongarch architecture, error details are linked below: [https://buildd.debian.org/status/fetch.php?pkg=patat&arch=loong64&ver=0.11.0.0-1&stamp=1714612433&raw=0](url). This PR solves the above problem, the exact cause can be found at the link:[[https://github.com/commercialhaskell/stack/issues/680](https://github.com/cdepillabout/termonad/pull/url)](url).
To fix the compile failure error on loong64 architecture, link to details:[https://buildd.debian.org/status/fetch.php?pkg=termshark&arch=loong64&ver=2.4.0-1&stamp=1713876936&raw =0](url)
Some architectures do not support the fstat system call, such as loongarch. thus causing a compilation error, with a link to the exact cause of the error as follows:[https://buildd.debian.org/status/fetch.php?pkg=usbguard&arch=loong64&ver=1.1.3%2Bds-1&stamp=1718074519&raw=0](url)
The following error was encountered compiling in the debian community, and this PR solves the problem.[https://buildd.debian.org/status/fetch.php?pkg=golang-github-containers-toolbox&arch=loong64&ver=0.0.99.3%2Bgit20230118%2B446d7bfdef6a-2.1&stamp=1722443115&raw=0](url)
* According to the official document to support Loongarch architecture, the reference link is as follows: [https://loongson.github.io/LoongArch-Documentation/README-EN.html](url) * Local has passed the test, debian merge into the above code has...