segfault building on os x
Hey all, today i've spent a wee bit of time building ghc head 9e460664f3179c53f2f439238929b501691ddf24 (the last commit of april 7th by Gabor) on my mac today, with the quick-llvm build setting, my compilation segfaults towards the end when its building the stage2 libs as follow carter repoScratcher/ghc ‹master› » make 2 ↵ ===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for `phase_0_builds'. ===--- building phase 1 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds make[1]: Nothing to be done for `phase_1_builds'. ===--- building final phase make -r --no-print-directory -f ghc.mk phase=final all "inplace/bin/ghc-stage2" -hisuf hi -osuf o -hcsuf hc -static -H64m -O0 -fllvm -package-name old-time-1.1.0.1 -hide-all-packages -i -ilibraries/old-time/. -ilibraries/old-time/dist-install/build -ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-time/dist-install/build -Ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-time/include -optP-include -optPlibraries/old-time/dist-install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package old-locale-1.0.0.5 -XHaskell98 -XCPP -XForeignFunctionInterface -O -fllvm -no-user-package-db -rtsopts -odir libraries/old-time/dist-install/build -hidir libraries/old-time/dist-install/build -stubdir libraries/old-time/dist-install/build -dynamic-too -c libraries/old-time/dist-install/build/System/Time.hs -o libraries/old-time/dist-install/build/System/Time.o -dyno libraries/old-time/dist-install/build/System/Time.dyn_o make[1]: *** [libraries/old-time/dist-install/build/System/Time.o] Segmentation fault: 11 this is from a freshly cloned, ./sync-all, perl boot, ./configured ; make'd build thanks -Carter
the same repo state builds fine when i build with devel2 make settings heres the results of the make test run (looks like it passed essentially, but i'm still unfamilar with the test suite jargon) Unexpected results from: TEST="T149 T5313 layout008 T4908 spec-inline cgrun071 T2507 T5321FD T5030 T4801 T6048 T5631 T5837 T5642 T3064 parsing001 T1969 T5321Fun T783 T3294 T7478 IntegerConversionRules integerConstantFolding" OVERALL SUMMARY for test run started at Tue Apr 9 13:50:19 EDT 2013 3611 total tests, which gave rise to 14286 test cases, of which 11010 were skipped 28 had missing libraries 3165 expected passes 57 expected failures 3 caused framework failures 2 unexpected passes 21 unexpected failures Unexpected passes: driver T5313 (normal) perf/should_run T149 (normal) Unexpected failures: codeGen/should_run cgrun071 [bad exit code] (normal) driver T2507 [bad stderr] (normal) ghc-api/T7478 T7478 [bad exit code] (normal) layout layout008 [bad stdout] (normal) lib/integer IntegerConversionRules [bad stderr] (normal) lib/integer integerConstantFolding [bad stderr] (normal) perf/compiler T1969 [stat not good enough] (normal) perf/compiler T3064 [stat not good enough] (normal) perf/compiler T3294 [stat not good enough] (normal) perf/compiler T4801 [stat not good enough] (normal) perf/compiler T5030 [stat not good enough] (normal) perf/compiler T5321FD [stat not good enough] (normal) perf/compiler T5321Fun [stat not good enough] (normal) perf/compiler T5631 [stat not good enough] (normal) perf/compiler T5642 [stat not good enough] (normal) perf/compiler T5837 [stat not good enough] (normal) perf/compiler T6048 [stat not good enough] (optasm) perf/compiler T783 [stat not good enough] (normal) perf/compiler parsing001 [stat not good enough] (normal) simplCore/should_compile T4908 [stderr mismatch] (optasm) simplCore/should_compile spec-inline [stderr mismatch] (optasm) On Mon, Apr 8, 2013 at 4:54 PM, Carter Schonwald <carter.schonwald@gmail.com
wrote:
Hey all,
today i've spent a wee bit of time building ghc head 9e460664f3179c53f2f439238929b501691ddf24 (the last commit of april 7th by Gabor) on my mac today, with the quick-llvm build setting,
my compilation segfaults towards the end when its building the stage2 libs as follow
carter repoScratcher/ghc ‹master› » make 2 ↵ ===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for `phase_0_builds'. ===--- building phase 1 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds make[1]: Nothing to be done for `phase_1_builds'. ===--- building final phase make -r --no-print-directory -f ghc.mk phase=final all "inplace/bin/ghc-stage2" -hisuf hi -osuf o -hcsuf hc -static -H64m -O0 -fllvm -package-name old-time-1.1.0.1 -hide-all-packages -i -ilibraries/old-time/. -ilibraries/old-time/dist-install/build -ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-time/dist-install/build -Ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-time/include -optP-include -optPlibraries/old-time/dist-install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package old-locale-1.0.0.5 -XHaskell98 -XCPP -XForeignFunctionInterface -O -fllvm -no-user-package-db -rtsopts -odir libraries/old-time/dist-install/build -hidir libraries/old-time/dist-install/build -stubdir libraries/old-time/dist-install/build -dynamic-too -c libraries/old-time/dist-install/build/System/Time.hs -o libraries/old-time/dist-install/build/System/Time.o -dyno libraries/old-time/dist-install/build/System/Time.dyn_o make[1]: *** [libraries/old-time/dist-install/build/System/Time.o] Segmentation fault: 11
this is from a freshly cloned, ./sync-all, perl boot, ./configured ; make'd build
thanks -Carter
My commit for c7d80c6524390551b64e9c1d651e1a03ed3c7617 affected T149. When I ran it individually, though, I saw nondeterminism in the numbers, so I didn't update the test. If many people are seeing it on different platforms, I suppose we should update it. I won't have time enough for due diligence on this decision until May -- sorry. High-level hint: that commit removes dead closures that were being allocated at runtime. On Tue, Apr 9, 2013 at 7:45 PM, Carter Schonwald <carter.schonwald@gmail.com
wrote:
the same repo state builds fine when i build with devel2 make settings
heres the results of the make test run (looks like it passed essentially, but i'm still unfamilar with the test suite jargon)
Unexpected results from: TEST="T149 T5313 layout008 T4908 spec-inline cgrun071 T2507 T5321FD T5030 T4801 T6048 T5631 T5837 T5642 T3064 parsing001 T1969 T5321Fun T783 T3294 T7478 IntegerConversionRules integerConstantFolding"
OVERALL SUMMARY for test run started at Tue Apr 9 13:50:19 EDT 2013 3611 total tests, which gave rise to 14286 test cases, of which 11010 were skipped
28 had missing libraries 3165 expected passes 57 expected failures
3 caused framework failures 2 unexpected passes 21 unexpected failures
Unexpected passes: driver T5313 (normal) perf/should_run T149 (normal)
Unexpected failures: codeGen/should_run cgrun071 [bad exit code] (normal) driver T2507 [bad stderr] (normal) ghc-api/T7478 T7478 [bad exit code] (normal) layout layout008 [bad stdout] (normal) lib/integer IntegerConversionRules [bad stderr] (normal) lib/integer integerConstantFolding [bad stderr] (normal) perf/compiler T1969 [stat not good enough] (normal) perf/compiler T3064 [stat not good enough] (normal) perf/compiler T3294 [stat not good enough] (normal) perf/compiler T4801 [stat not good enough] (normal) perf/compiler T5030 [stat not good enough] (normal) perf/compiler T5321FD [stat not good enough] (normal) perf/compiler T5321Fun [stat not good enough] (normal) perf/compiler T5631 [stat not good enough] (normal) perf/compiler T5642 [stat not good enough] (normal) perf/compiler T5837 [stat not good enough] (normal) perf/compiler T6048 [stat not good enough] (optasm) perf/compiler T783 [stat not good enough] (normal) perf/compiler parsing001 [stat not good enough] (normal) simplCore/should_compile T4908 [stderr mismatch] (optasm) simplCore/should_compile spec-inline [stderr mismatch] (optasm)
On Mon, Apr 8, 2013 at 4:54 PM, Carter Schonwald < carter.schonwald@gmail.com> wrote:
Hey all,
today i've spent a wee bit of time building ghc head 9e460664f3179c53f2f439238929b501691ddf24 (the last commit of april 7th by Gabor) on my mac today, with the quick-llvm build setting,
my compilation segfaults towards the end when its building the stage2 libs as follow
carter repoScratcher/ghc ‹master› » make 2 ↵ ===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for `phase_0_builds'. ===--- building phase 1 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds make[1]: Nothing to be done for `phase_1_builds'. ===--- building final phase make -r --no-print-directory -f ghc.mk phase=final all "inplace/bin/ghc-stage2" -hisuf hi -osuf o -hcsuf hc -static -H64m -O0 -fllvm -package-name old-time-1.1.0.1 -hide-all-packages -i -ilibraries/old-time/. -ilibraries/old-time/dist-install/build -ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-time/dist-install/build -Ilibraries/old-time/dist-install/build/autogen -Ilibraries/old-time/include -optP-include -optPlibraries/old-time/dist-install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package old-locale-1.0.0.5 -XHaskell98 -XCPP -XForeignFunctionInterface -O -fllvm -no-user-package-db -rtsopts -odir libraries/old-time/dist-install/build -hidir libraries/old-time/dist-install/build -stubdir libraries/old-time/dist-install/build -dynamic-too -c libraries/old-time/dist-install/build/System/Time.hs -o libraries/old-time/dist-install/build/System/Time.o -dyno libraries/old-time/dist-install/build/System/Time.dyn_o make[1]: *** [libraries/old-time/dist-install/build/System/Time.o] Segmentation fault: 11
this is from a freshly cloned, ./sync-all, perl boot, ./configured ; make'd build
thanks -Carter
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
participants (2)
-
Carter Schonwald -
Nicolas Frisby