<div dir="ltr"><div><div>Hi Ben</div><div><br></div><div>I built from source and ran the tests on my Mac and found some</div><div>problems. I'm not sure if the failing tests have been ran successfully</div><div>by others on this platform. I did "make slowtest". Maybe the problem</div><div>only happens on my machine.</div><div><div><br></div><div>I'm new to running the testsuite and not sure how the sleep settings on my computer affect long running computations.</div><div><ul><li>If I want to run a long running test such as "make slowtest" overnight will my computer go to sleep preventing the test from running? i.e. should I invoke it with something like "caffeinate -i make slowtest" ?</li></ul><div>I almost didn't run the tests assuming they had been run as part of the release process but then I guessed that maybe slowtest had not been run. It would be a pain but would it be worth documenting which tests had been run on which platforms?</div></div></div><div><br></div><div>I assume I should file a bug for the following?<br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span>make TEST=dynamic-paper WAY=profasm </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>...</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>=====> dynamic-paper(profasm) 1 of 1 [0, 0, 0]</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>cd "./dependent/should_compile/dynamic-paper.run" &&  "/Users/gcolpitts/Downloads/ghc-8.2.0.20170507/inplace/bin/ghc-stage2" -c dynamic-paper.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output  -O -prof -static -fprof-auto </div><div><span class="Apple-tab-span" style="white-space:pre">    </span>Compile failed (exit code 1) errors were:</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>ghc-stage2: panic! (the 'impossible' happened)</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>  (GHC version 8.2.0.20170507 for x86_64-apple-darwin):</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>Simplifier ticks exhausted</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>  When trying UnfoldingDone delta</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>  To increase the limit, use -fsimpl-tick-factor=N (default 100)</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>  If you need to do this, let GHC HQ know, and what factor you needed</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>  To see detailed counts use -ddump-simpl-stats</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>  Total ticks: 143842</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>  Call stack:</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>      CallStack (from HasCallStack):</div><div><span class="Apple-tab-span" style="white-space:pre">              </span>prettyCurrentCallStack, called at compiler/utils/Outputable.hs:1134:58 in ghc:Outputable</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>callStackDoc, called at compiler/utils/Outputable.hs:1138:37 in ghc:Outputable</div><div><span class="Apple-tab-span" style="white-space:pre">               </span>pprPanic, called at compiler/simplCore/SimplMonad.hs:199:31 in ghc:SimplMonad</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span>Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</a></div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>*** unexpected failure for dynamic-paper(profasm)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>Unexpected results from:</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>TEST="dynamic-paper"</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>SUMMARY for test run started at Wed May 17 08:19:59 2017 ADT</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> 0:00:06 spent to go through</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>       1 total tests, which gave rise to</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>       5 test cases, of which</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>       4 were skipped</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span>       0 had missing libraries</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>       0 expected passes</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>       0 expected failures</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span>       0 caused framework failures</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>       0 caused framework warnings</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>       0 unexpected passes</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>       1 unexpected failures</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>       0 unexpected stat failures</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Unexpected failures:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>   dependent/should_compile/dynamic-paper.run  dynamic-paper [exit code non-0] (profasm)</div><div><br></div><div>It fails with  -fsimpl-tick-factor=1000 also:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span> make TEST=dynamic-paper WAY=profasm EXTRA_HC_OPTS='-fsimpl-tick-factor=1000'</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>...</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>cd "./dependent/should_compile/dynamic-paper.run" &&  "/Users/gcolpitts/Downloads/ghc-8.2.0.20170507/inplace/bin/ghc-stage2" -c dynamic-paper.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fsimpl-tick-factor=1000 -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output  -O -prof -static -fprof-auto </div><div><span class="Apple-tab-span" style="white-space:pre">   </span>Compile failed (exit code 1) errors were:</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>ghc-stage2: panic! (the 'impossible' happened)</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>  (GHC version 8.2.0.20170507 for x86_64-apple-darwin):</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>Simplifier ticks exhausted</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>  When trying UnfoldingDone delta</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>  To increase the limit, use -fsimpl-tick-factor=N (default 100)</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>  If you need to do this, let GHC HQ know, and what factor you needed</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>  To see detailed counts use -ddump-simpl-stats</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>  Total ticks: 1438402</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>  Call stack:</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>      CallStack (from HasCallStack):</div><div><span class="Apple-tab-span" style="white-space:pre">              </span>prettyCurrentCallStack, called at compiler/utils/Outputable.hs:1134:58 in ghc:Outputable</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>callStackDoc, called at compiler/utils/Outputable.hs:1138:37 in ghc:Outputable</div><div><span class="Apple-tab-span" style="white-space:pre">               </span>pprPanic, called at compiler/simplCore/SimplMonad.hs:199:31 in ghc:SimplMonad</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span>Please report this as a GHC bug:  <a href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</a></div><div><br></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>*** unexpected failure for dynamic-paper(profasm)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>Unexpected results from:</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>TEST="dynamic-paper"</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>SUMMARY for test run started at Wed May 17 08:29:43 2017 ADT</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> 0:00:35 spent to go through</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>       1 total tests, which gave rise to</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>       5 test cases, of which</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>       4 were skipped</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span>       0 had missing libraries</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>       0 expected passes</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>       0 expected failures</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span>       0 caused framework failures</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>       0 caused framework warnings</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>       0 unexpected passes</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>       1 unexpected failures</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>       0 unexpected stat failures</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Unexpected failures:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>   dependent/should_compile/dynamic-paper.run  dynamic-paper [exit code non-0] (profasm)</div><div><br></div><div><br></div><div><br></div><div>Cheers</div><div>George</div><div><br></div></div><div><br><br><div class="gmail_quote"><div dir="ltr">On Mon, May 15, 2017 at 11:48 PM Ben Gamari <<a href="mailto:ben@well-typed.com">ben@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello everyone,<br>
<br>
The GHC team is very pleased to announce the second candidate of the<br>
8.2.1 release of the Glasgow Haskell Compiler. Source and binary<br>
distributions are available at<br>
<br>
    <a href="https://downloads.haskell.org/~ghc/8.2.1-rc2/" rel="noreferrer" target="_blank">https://downloads.haskell.org/~ghc/8.2.1-rc2/</a><br>
<br>
This is the second of what will likely be either two or three release<br>
candidates leading up the final 8.2.1 release. This release will<br>
feature,<br>
<br>
  * A new type-indexed Typeable implementation<br>
<br>
  * The long awaited Backpack<br>
<br>
  * Deriving strategies for disambiguating DeriveAnyClass,<br>
    GeneralizedNewtypeDeriving, and stock mechanisms<br>
<br>
  * Overloaded record fields<br>
<br>
  * Improved compiler performance<br>
<br>
  * Better code generation through more robust tracking of join points<br>
<br>
  * Compact regions for more efficient garbage collection and serialization<br>
<br>
  * Better support for machines with non-uniform memory architectures<br>
<br>
  * More robust support for levity (e.g. RuntimeRep) polymorphism<br>
<br>
  * A simple interface for streaming eventlog data from live processes<br>
<br>
  * Further refinement of DWARF support<br>
<br>
This candidate fixes most of the issues present in release candidate<br>
one including,<br>
<br>
 * #13233: typePrimRep panic while compiling GHC with profiling enabled<br>
 * #13509: type error involving unboxed tuples<br>
 * #13426: compile-time memory-usage regression<br>
 * #13560: Windows binary distributions carry absolute paths to toolchain<br>
 * #13585: Control.Lens.Wrapped.ala causes compiler panic<br>
 * #13623: Join points produce bad code for stream fusion<br>
<br>
As always, please let us know if you have difficulty. Thanks to everyone<br>
who has contributed!<br>
<br>
Happy testing,<br>
<br>
- Ben<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div></div></div>