GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T18:52:15Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/6090hsc2hs doesn't consider values not fitting in an unsigned long integral when ...2019-07-07T18:52:15Zmtjmhsc2hs doesn't consider values not fitting in an unsigned long integral when cross compilingThe specific problem occurs when libraries/unix is being built, RLIM_INFINITY is defined as 0x7fffffffffffffffULL on MIPS N32. This might happen on other architectures with 32 bit longs and 64 bit long longs.
<details><summary>Trac meta...The specific problem occurs when libraries/unix is being built, RLIM_INFINITY is defined as 0x7fffffffffffffffULL on MIPS N32. This might happen on other architectures with 32 bit longs and 64 bit long longs.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 7.5 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | hsc2hs |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"hsc2hs doesn't consider values not fitting in an unsigned long integral when cross compiling","status":"New","operating_system":"","component":"hsc2hs","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.5","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"The specific problem occurs when libraries/unix is being built, RLIM_INFINITY is defined as 0x7fffffffffffffffULL on MIPS N32. This might happen on other architectures with 32 bit longs and 64 bit long longs.","type_of_failure":"OtherFailure","blocking":[]} -->7.6.1pcapriottipcapriotti