GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T18:51:00Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/7172GHCi :issafe command doesn't work2019-07-07T18:51:00ZdtereiGHCi :issafe command doesn't workIn HEAD and GHC 7.6 RC the ghci :issafe command simply doesn't report the correct result.
I will fix very soon (e.g. 48 hours) but wanted to have this bug be tracked and made a high priority so 7.6 isn't released before I fix it.
<deta...In HEAD and GHC 7.6 RC the ghci :issafe command simply doesn't report the correct result.
I will fix very soon (e.g. 48 hours) but wanted to have this bug be tracked and made a high priority so 7.6 isn't released before I fix it.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 7.6.1-rc1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"GHCi :issafe command doesn't work","status":"New","operating_system":"","component":"GHCi","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"OwnedBy","contents":"dterei"},"version":"7.6.1-rc1","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"In HEAD and GHC 7.6 RC the ghci :issafe command simply doesn't report the correct result.\r\n\r\nI will fix very soon (e.g. 48 hours) but wanted to have this bug be tracked and made a high priority so 7.6 isn't released before I fix it.","type_of_failure":"OtherFailure","blocking":[]} -->7.6.1dtereidtereihttps://gitlab.haskell.org/ghc/ghc/-/issues/5842pretty tests from GHC's testsuite2019-07-07T18:53:21ZIan Lynagh <igloo@earth.li>pretty tests from GHC's testsuiteWe've been moving tests into the library that they test (#1161).
I'm attaching some tests that used to be in the GHC testsuite `tests/lib/PrettyPrint`. Could you take a look, and perhaps make a `pretty` testsuite from them please?
If y...We've been moving tests into the library that they test (#1161).
I'm attaching some tests that used to be in the GHC testsuite `tests/lib/PrettyPrint`. Could you take a look, and perhaps make a `pretty` testsuite from them please?
If you just put the files in a `tests/` directory in the `pretty` repo, then they would still be run as part of the GHC testsuite, which would have the advantage that they'd still get run during GHC validates etc.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ---------------- |
| Version | 7.4.1 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/pretty |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"pretty tests from GHC's testsuite","status":"New","operating_system":"","component":"libraries/pretty","related":[],"milestone":"7.6.1","resolution":"Unresolved","owner":{"tag":"OwnedBy","contents":"dterei"},"version":"7.4.1","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Task","description":"We've been moving tests into the library that they test (#1161).\r\n\r\nI'm attaching some tests that used to be in the GHC testsuite `tests/lib/PrettyPrint`. Could you take a look, and perhaps make a `pretty` testsuite from them please?\r\n\r\nIf you just put the files in a `tests/` directory in the `pretty` repo, then they would still be run as part of the GHC testsuite, which would have the advantage that they'd still get run during GHC validates etc.\r\n","type_of_failure":"OtherFailure","blocking":[]} -->7.6.1dtereidtereihttps://gitlab.haskell.org/ghc/ghc/-/issues/5486LLVM can't compile HsOpenSSL2019-07-07T18:55:04ZdtereiLLVM can't compile HsOpenSSL```
> ...
> [10 of 31] Compiling OpenSSL.BIO ( dist/build/OpenSSL/IO.hs, dist/build/OpenSSL/BIO.o )
> [11 of 31] Compiling OpenSSL.Random ( dist/build/OpenSSL/Random.hs, dist/build/OpenSSL/Random.o )
> [12 of 31] Compiling OpenSSL...```
> ...
> [10 of 31] Compiling OpenSSL.BIO ( dist/build/OpenSSL/IO.hs, dist/build/OpenSSL/BIO.o )
> [11 of 31] Compiling OpenSSL.Random ( dist/build/OpenSSL/Random.hs, dist/build/OpenSSL/Random.o )
> [12 of 31] Compiling OpenSSL.BN ( dist/build/OpenSSL/BN.hs, dist/build/OpenSSL/BN.o )
>
> OpenSSL/BN.hsc:46:1:
> Warning: In the use of `unsafePerformIO'
> (imported from Foreign):
> Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
> [13 of 31] Compiling OpenSSL.DSA ( dist/build/OpenSSL/DSA.hs, dist/build/OpenSSL/DSA.o )
>
> OpenSSL/DSA.hsc:37:1:
> Warning: In the use of `unsafePerformIO'
> (imported from Foreign):
> Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
> opt: /tmp/ghc18807_0/ghc18807_0.ll:20051:1: error: instructions returning void cannot have a name
> %lnPRJ = call ccc void (i8*,i8*,i32)* @memcpy( i8* %lnPRF, i8* %lnPRH, i32 %lnPRI ) nounwind
> ^
```
Also seems to be some mangler problems.7.6.1dtereidterei