
#14064: Compiling problem on FreeBSD 11 ("failed in phase") -------------------------------------+------------------------------------- Reporter: ohho | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: FreeBSD | Architecture: x86_64 Type of failure: GHC doesn't work | (amd64) at all | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by ohho): I rebuilt GHC 8.2.1 from source, it worked.\\ So I guess there might be some problem in the released binary package. Since it's an unofficial build, I am not sure if I could use it in production, especial after seeing some test failures. (I am fairly new to GHC building & testing) {{{ Unexpected results from: TEST="T3807 T5975a outofmem T9203 T11627b scc001 conc038 MultiLayerModules scc003 T5205 T2615 haddock.Cabal haddock.base fdReadBuf001 T1969 T5631 ffi014 T4850 linkwhole T13035 cgrun057 T5975b T12227 T10296a determ021 ffishutdown parsing001" SUMMARY for test run started at Tue Aug 1 18:52:08 2017 CST 0:12:51 spent to go through 5890 total tests, which gave rise to 26738 test cases, of which 20498 were skipped 70 had missing libraries 6063 expected passes 78 expected failures 3 caused framework failures 0 caused framework warnings 0 unexpected passes 17 unexpected failures 10 unexpected stat failures Unexpected failures: codeGen/should_run/cgrun057.run cgrun057 [bad stderr] (profasm) concurrent/should_run/conc038.run conc038 [exit code non-0] (threaded1) determinism/determ021/determ021.run determ021 [bad stdout] (normal) driver/linkwhole/linkwhole.run linkwhole [bad exit code] (normal) dynlibs/T3807.run T3807 [bad exit code] (normal) ffi/should_run/ffi014.run ffi014 [exit code non-0] (threaded1) profiling/should_run/scc001.run scc001 [bad profile] (profasm) profiling/should_run/scc003.run scc003 [bad profile] (profasm) profiling/should_run/scc003.run scc003 [bad profile] (prof) profiling/should_run/T11627b.run T11627b [bad heap profile] (profasm) profiling/should_run/T11627b.run T11627b [bad heap profile] (prof_hd) rts/T2615.run T2615 [bad stdout] (normal) rts/T4850.run T4850 [bad exit code] (normal) rts/ffishutdown.run ffishutdown [exit code non-0] (threaded1) rts/T10296a.run T10296a [bad exit code] (normal) rts/outofmem.run outofmem [bad exit code] (normal) ../../libraries/unix/tests/fdReadBuf001.run fdReadBuf001 [bad exit code] (ghci) Unexpected stat failures: perf/compiler/parsing001.run parsing001 [stat too good] (normal) perf/compiler/T1969.run T1969 [stat too good] (normal) perf/compiler/T5631.run T5631 [stat too good] (normal) perf/compiler/T12227.run T12227 [stat too good] (normal) perf/compiler/T13035.run T13035 [stat too good] (normal) perf/compiler/MultiLayerModules.run MultiLayerModules [stat too good] (normal) perf/haddock/haddock.base.run haddock.base [stat too good] (normal) perf/haddock/haddock.Cabal.run haddock.Cabal [stat too good] (normal) perf/should_run/T5205.run T5205 [stat too good] (normal) perf/should_run/T9203.run T9203 [stat too good] (normal) Framework failures: ghci/scripts/T5975a.run T5975a [ghci] ('ascii' codec can't encode characters in position 41-42: ordinal not in range(128)) ghci/scripts/T5975b.run T5975b [ghci] ('ascii' codec can't encode characters in position 41-42: ordinal not in range(128)) perf/compiler/MultiLayerModules.run MultiLayerModules [normal] (pre_cmd failed: 127) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14064#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler