GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T18:47:54Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/7830Error: operand out of range2019-07-07T18:47:54ZerikdError: operand out of rangeCompiling on linux-powerpc and linux-powerpc64 I get:
```
"inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -Werror -Wall \
-H64m -O0 -package-name time-1.4.0.2 -hide-all-packages -i -ilibraries/time/. \
...Compiling on linux-powerpc and linux-powerpc64 I get:
```
"inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -Werror -Wall \
-H64m -O0 -package-name time-1.4.0.2 -hide-all-packages -i -ilibraries/time/. \
-ilibraries/time/dist-install/build -ilibraries/time/dist-install/build/autogen \
-Ilibraries/time/dist-install/build -Ilibraries/time/dist-install/build/autogen \
-Ilibraries/time/include -optP-DLANGUAGE_Rank2Types -optP \
DLANGUAGE_DeriveDataTypeable -optP-DLANGUAGE_StandaloneDeriving -optP-include \
-optPlibraries/time/dist-install/build/autogen/cabal_macros.h -package base-4.7.0.0 \
-package deepseq-1.3.0.2 -package old-locale-1.0.0.5 -Wall -XHaskell2010 -XRank2Types \
-XDeriveDataTypeable -XStandaloneDeriving -XCPP -O2 -O -dcore-lint \
-fno-warndeprecated-flags -no-user-package-db -rtsopts -fno-warn-unused-do-bind \
-fno-warn-deprecations -fno-warn-unused-imports -fno-warn-identities -odir \
libraries/time/dist-install/build -hidir libraries/time/dist-install/build -stubdir \
libraries/time/dist-install/build -dynamic-too -c libraries/time/./Data/Time/Format.hs \
-o libraries/time/dist-install/build/Data/Time/Format.o -dyno \
libraries/time/dist-install/build/Data/Time/Format.dyn_o
/tmp/ghc2806_0/ghc2806_1.s: Assembler messages:
/tmp/ghc2806_0/ghc2806_1.s:51766:0:
Error: operand out of range (0x000000000000adf8 is not between 0xffffffffffff8000 and 0x0000000000007fff)
/tmp/ghc2806_0/ghc2806_1.s:51798:0:
Error: operand out of range (0x000000000000ad90 is not between 0xffffffffffff8000 and 0x0000000000007fff)
/tmp/ghc2806_0/ghc2806_1.s:51830:0:
Error: operand out of range (0x000000000000ad28 is not between 0xffffffffffff8000 and 0x0000000000007fff)
/tmp/ghc2806_0/ghc2806_1.s:51908:0:
Error: operand out of range (0x000000000000ac1c is not between 0xffffffffffff8000 and 0x0000000000007fff)
```
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 7.7 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Error: operand out of range","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.7","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Compiling on linux-powerpc and linux-powerpc64 I get:\r\n\r\n{{{\r\n\"inplace/bin/ghc-stage1\" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -Werror -Wall \\\r\n -H64m -O0 -package-name time-1.4.0.2 -hide-all-packages -i -ilibraries/time/. \\\r\n -ilibraries/time/dist-install/build -ilibraries/time/dist-install/build/autogen \\\r\n -Ilibraries/time/dist-install/build -Ilibraries/time/dist-install/build/autogen \\\r\n -Ilibraries/time/include -optP-DLANGUAGE_Rank2Types -optP \\\r\n DLANGUAGE_DeriveDataTypeable -optP-DLANGUAGE_StandaloneDeriving -optP-include \\\r\n -optPlibraries/time/dist-install/build/autogen/cabal_macros.h -package base-4.7.0.0 \\\r\n -package deepseq-1.3.0.2 -package old-locale-1.0.0.5 -Wall -XHaskell2010 -XRank2Types \\\r\n -XDeriveDataTypeable -XStandaloneDeriving -XCPP -O2 -O -dcore-lint \\\r\n -fno-warndeprecated-flags -no-user-package-db -rtsopts -fno-warn-unused-do-bind \\\r\n -fno-warn-deprecations -fno-warn-unused-imports -fno-warn-identities -odir \\\r\n libraries/time/dist-install/build -hidir libraries/time/dist-install/build -stubdir \\ \r\n libraries/time/dist-install/build -dynamic-too -c libraries/time/./Data/Time/Format.hs \\\r\n -o libraries/time/dist-install/build/Data/Time/Format.o -dyno \\\r\n libraries/time/dist-install/build/Data/Time/Format.dyn_o\r\n/tmp/ghc2806_0/ghc2806_1.s: Assembler messages:\r\n\r\n/tmp/ghc2806_0/ghc2806_1.s:51766:0:\r\n Error: operand out of range (0x000000000000adf8 is not between 0xffffffffffff8000 and 0x0000000000007fff)\r\n\r\n/tmp/ghc2806_0/ghc2806_1.s:51798:0:\r\n Error: operand out of range (0x000000000000ad90 is not between 0xffffffffffff8000 and 0x0000000000007fff)\r\n\r\n/tmp/ghc2806_0/ghc2806_1.s:51830:0:\r\n Error: operand out of range (0x000000000000ad28 is not between 0xffffffffffff8000 and 0x0000000000007fff)\r\n\r\n/tmp/ghc2806_0/ghc2806_1.s:51908:0:\r\n Error: operand out of range (0x000000000000ac1c is not between 0xffffffffffff8000 and 0x0000000000007fff)\r\n}}}\r\n\r\n","type_of_failure":"OtherFailure","blocking":[]} -->7.10.3Peter Trommlerptrommler@acm.orgPeter Trommlerptrommler@acm.org