[GHC] #10301: Plugins/dynamic loading subtly broken (it seems)
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: | Owner: thoughtpolice | Status: new Type: bug | Milestone: 7.10.2 Priority: normal | Version: 7.8.2 Component: Compiler | Operating System: Unknown/Multiple Keywords: | Type of failure: Compile-time Architecture: | crash Unknown/Multiple | Blocked By: Test Case: | Related Tickets: #8276 Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Imported from #8276, which was originally about a Haddock bug (that was different in nature but appeared similarly):
I still experience this panic on GHC 7.8.2 with Windows x86_64:
{{{ $ ghci GHCi, version 7.8.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. λ> import StaticFlags λ> import Data.IORef λ> readIORef v_opt_C_ready Loading package array-0.5.0.0 ... linking ... done. Loading package deepseq-1.3.0.2 ... linking ... done. Loading package bytestring-0.10.4.0 ... linking ... done. Loading package containers-0.5.5.1 ... linking ... done. Loading package Win32-2.3.0.2 ... linking ... done. Loading package filepath-1.3.0.2 ... linking ... done. Loading package old-locale-1.0.0.6 ... linking ... done. Loading package time-1.4.2 ... linking ... done. Loading package directory-1.2.1.0 ... linking ... done. Loading package pretty-1.1.1.1 ... linking ... done. Loading package process-1.2.0.0 ... linking ... done. Loading package Cabal-1.18.1.3 ... linking ... done. Loading package binary-0.7.1.0 ... linking ... done. Loading package bin-package-db-0.0.0.0 ... linking ... done. Loading package hoopl-3.10.0.1 ... linking ... done. Loading package hpc-0.6.0.1 ... linking ... done. Loading package template-haskell ... linking ... done. Loading package transformers-0.3.0.0 ... linking ... done. Loading package ghc-7.8.2 ... linking ... done. False λ> staticFlags ghc.exe: panic! (the 'impossible' happened) (GHC version 7.8.2 for x86_64-unknown-mingw32): Static flags have not been initialised! Please call GHC.parseStaticFlags early enough.
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}}
But not with GHC 7.8.2 on Linux x86_64:
{{{ $ ghci GHCi, version 7.8.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. λ> import StaticFlags λ> import Data.IORef λ> readIORef v_opt_C_ready Loading package array-0.5.0.0 ... linking ... done. Loading package deepseq-1.3.0.2 ... linking ... done. Loading package bytestring-0.10.4.0 ... linking ... done. Loading package containers-0.5.5.1 ... linking ... done. Loading package filepath-1.3.0.2 ... linking ... done. Loading package old-locale-1.0.0.6 ... linking ... done. Loading package time-1.4.2 ... linking ... done. Loading package directory-1.2.1.0 ... linking ... done. Loading package pretty-1.1.1.1 ... linking ... done. Loading package process-1.2.0.0 ... linking ... done. Loading package Cabal-1.18.1.3 ... linking ... done. Loading package binary-0.7.1.0 ... linking ... done. Loading package bin-package-db-0.0.0.0 ... linking ... done. Loading package hoopl-3.10.0.1 ... linking ... done. Loading package hpc-0.6.0.1 ... linking ... done. Loading package template-haskell ... linking ... done. Loading package transformers-0.3.0.0 ... linking ... done. Loading package ghc-7.8.2 ... linking ... done. True λ> staticFlags [] }}}
This has caused problems for me when running programs such as [https://github.com/ku-fpg/hermit/ HERMIT] on Windows, since at some point, {{{parseStaticFlagsFull}}} seems to be called during program execution. A workaround is to call {{{initStaticOpts}}} manually somewhere in the program, but I feel like that shouldn't be necessary.
The one above was on Windows. Also reported:
Hello,
A similar panic also happens when running Liquid Haskell [http://goto.ucsd.edu/~rjhala/liquid/haskell/blog/about/] on a file that uses the Units of Measure plugin [https://github.com/adamgundry/uom- plugin]
{{{ liquid: liquid: panic! (the 'impossible' happened) (GHC version 7.10.1 for x86_64-unknown-linux): Static flags have not been initialised! Please call GHC.parseStaticFlags early enough. }}}
-- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by adamgundry): * cc: adamgundry (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by darchon): A similar panic also happens when you run doctest http://hackage.haskell.org/package/doctest on a file that uses a type- checker plugin https://github.com/christiaanb/ghc-typelits- natnormalise/blob/master/tests/Tests.hs {{{ doctest: doctest: panic! (the 'impossible' happened) (GHC version 7.10.1 for x86_64-apple-darwin): Static flags have not been initialised! Please call GHC.parseStaticFlags early enough. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by ezyang): I'd be much appreciative if you could try these examples with a recent GHC HEAD that includes `ad6d6a76eeeb9e33a96054f18c1306e9ebafa652`. I have also noticed that calling the static flags initializing functions sometimes doesn't fix this sort of issue, especially in GHCi-style situations. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by darchon): Replying to [comment:3 ezyang]:
I'd be much appreciative if you could try these examples with a recent GHC HEAD that includes `ad6d6a76eeeb9e33a96054f18c1306e9ebafa652`.
I have also noticed that calling the static flags initializing functions sometimes doesn't fix this sort of issue, especially in GHCi-style situations.
I tried, but I'm still getting the same error. In the end, I had to add this workaround in my own code: https://github.com/christiaanb/ghc-typelits- natnormalise/commit/afc4f2538081b46439e26e1a2bc6b7a5c3751781 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by mjmrotek): I'm getting a similar panic on Windows 8 x86_64 (latest MinGHC) from GHC 7.10.1 when compiling the UoM Plugin (https://github.com/adamgundry/uom- plugin): [11 of 13] Compiling Data.UnitsOfMeasure.Convert ( src\Data\UnitsOfMeasure\Convert.hs dist\build\Data\UnitsOfMeasure\Convert.o ) ghc.exe: panic! (the 'impossible' happened) (GHC version 7.10.1 for x86_64-unknown-mingw32): Static flags have not been initiailised! Please call GHC.parseStaticFlags early enough. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Changes (by ezyang): * os: Unknown/Multiple => Windows Comment: I can't reproduce this on Linux (but I can on Windows), reclassifying as a Windows bug. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #8276 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by mjmrotek): I can confirm that my second bugs (the ghc.exe bug and the liquid haskell bug) occured only on Windows, but the first (minor, because it's very situational) bug happened on Linux. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | plugins/T10294 Related Tickets: #8276 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * testcase: => plugins/T10294 Comment: The test `plugins/T10294` is failing on Windows with the same error as above: {{{ ghc-stage2.exe: panic! (the 'impossible' happened) (GHC version 7.11.20150713 for x86_64-unknown-mingw32): Static flags have not been initialised! Please call GHC.parseStaticFlags early enough. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:9> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | plugins/T10294 Related Tickets: #8276 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by nomeata): Also on travis. Shall we mark the test case as known_broken on this bug? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | plugins/T10294 Related Tickets: #8276 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by nomeata): BTW, this could be due to `DYNAMIC_GHC_PROGRAMS = NO`, couldn’t it? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:11> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | plugins/T10294 Related Tickets: #8276 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Joachim Breitner <mail@…>): In [changeset:"4ee658a02ccc6d3aa0b6a0a5f2f5934a593f1356/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="4ee658a02ccc6d3aa0b6a0a5f2f5934a593f1356" Mark test case for #10294 expect_broken on #10301 as it is broken on Travis, and in #10301 others have reported the same error. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:12> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | plugins/T10294 Related Tickets: #8276 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by thomie): Replying to [comment:10 nomeata]:
Also on travis. Shall we mark the test case as known_broken on this bug?
Well, then Phabricator's build will fail. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:13> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | plugins/T10294 Related Tickets: #8276 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Joachim Breitner <mail@…>): In [changeset:"8e6a50339a4a61d4f2cbec645c78abc85098a294/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="8e6a50339a4a61d4f2cbec645c78abc85098a294" Mark test case for #10294 conditionally expect_broken on #10301 the hypothesis is that it only breaks with `DYNAMIC_GHC_PROGRAMS = NO`, so use `unless(have_dynamic(),expect_broken(10301))` to not break the Phabricator build. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:14> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | plugins/T10294 Related Tickets: #8276 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"b1063b1b64989749292d156b189eb64a73fb329a/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="b1063b1b64989749292d156b189eb64a73fb329a" Testsuite: mark T10294 conditionally expect_broken on #10301 Fix 8e6a50339a4a61d4f2cbec645c78abc85098a294. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:15> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * os: Windows => Unknown/Multiple Comment: Not Windows only. `DYNAMIC_GHC_PROGRAMS=NO` is needed to trigger the bug. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:16> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: 7.10.3 => 8.0.1 Comment: Will not be fixed for 7.10.3. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:17> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"bc436f9ec51eb54aaebfbcd7de9c10543d629917/ghc" bc436f9e/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="bc436f9ec51eb54aaebfbcd7de9c10543d629917" Testsuite: mark frontend01 conditionally expect_broken on #10301 This should fix validate on Travis. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:18> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 plugins/frontend01 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * testcase: plugins/T10294 => plugins/T10294 plugins/frontend01 Comment: `frontend01` is failing in the same way when DYNAMIC_GHC_PROGRAMS=NO. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:19> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 plugins/frontend01 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by ezyang): So, is this not what `reinitializeGlobals` fixes? I can't easily test for `frontend01` because `reinitializeGlobals` is only implemented for the Core monad? Are they unrelated? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:20> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 plugins/frontend01 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by adamgundry): I suspect the fix might indeed be to implement the equivalent of `reinitializeGlobals` for the `TcPluginM` and `GHC` monads. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:21> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 plugins/frontend01 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * cc: angerman (added) Comment: `T10294` seems to pass on Travis pretty reliably since c3c702441137dc8f7ee0dd5ac313be96d625459a. Strangely enough I've not seen it pass locally nor on Phabricator. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:23> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 plugins/frontend01 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: => 8.2.1 Comment: Ahh, I see. `.travis.yml` configures the build with `DYNAMIC_GHC_PROGRAMS = NO`, which is the only case where we expected `T10294` to fail. Consequently it seems that we can mark this as fixed. Hooray! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:24> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 plugins/frontend01 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"0cad52d6395487b617edef2b131909d3b4085be4/ghc" 0cad52d/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="0cad52d6395487b617edef2b131909d3b4085be4" testsuite: Mark T10294 as fixed It seems that c3c702441137dc8f7ee0dd5ac313be96d625459a resolved #10301. It took a while to notice this since it only broke when tested against a statically linked GHC, a configuration which Harbormaster doesn't test. Test Plan: Validate Reviewers: angerman, austin Subscribers: thomie, nomeata Differential Revision: https://phabricator.haskell.org/D2856 GHC Trac Issues: #10294, #10301 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:25> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10301: Plugins/dynamic loading subtly broken (it seems) -------------------------------------+------------------------------------- Reporter: thoughtpolice | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Compile-time | Test Case: crash | plugins/T10294 plugins/frontend01 Blocked By: | Blocking: Related Tickets: #8276 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10301#comment:26> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC