Opened 9 years ago

Closed 8 years ago

#4804 closed bug (worksforme)

ghc-stage2: Monadic.o: bus error / segmentation fault / internal error

Reported by: altaic Owned by:
Priority: high Milestone: 7.4.1
Component: Compiler Version: 7.1
Keywords: Cc: william.knop.nospam@…, pho@…
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Vanilla build of HEAD with a virgin repository on MacOS X 10.6.5 (MacBook Pro; Core 2 Duo CPU; 8GB RAM; kernel running in 64-bit mode) failed:

"inplace/bin/ghc-stage2"   -H32m -O    -package-name vector-0.7.0.1 -hide-all-packages -i -ilibraries/vector/. -ilibraries/vector/dist-install/build -ilibraries/vector/dist-install/build/autogen -Ilibraries/vector/dist-install/build -Ilibraries/vector/dist-install/build/autogen -Ilibraries/vector/include -Ilibraries/vector/internal   -optP-DVECTOR_BOUNDS_CHECKS -optP-include -optPlibraries/vector/dist-install/build/autogen/cabal_macros.h -package base-4.3.0.0 -package primitive-0.3.1  -O2 -XCPP -XDeriveDataTypeable -no-user-package-conf -rtsopts -O2 -XGenerics     -odir libraries/vector/dist-install/build -hidir libraries/vector/dist-install/build -stubdir libraries/vector/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/vector/./Data/Vector/Fusion/Stream/Monadic.hs -o libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package primitive-0.3.1 ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
make[1]: *** [libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o] Bus error
make: *** [all] Error 2

Configure Summary:

Configure completed successfully.

   Building GHC version  : 7.1.20101127

   Build platform        : i386-apple-darwin
   Host platform         : i386-apple-darwin
   Target platform       : i386-apple-darwin

   Bootstrapping using   : /usr/bin/ghc
      which is version   : 7.0.0.20100924

   Using GCC             : /usr/bin/gcc
      which is version   : 4.2.1

   ld       : /usr/bin/ld
   Happy    : /usr/local/bin/happy (1.18.5)
   Alex     : /usr/local/bin/alex (2.3.3)
   Python   : /usr/bin/python
   Perl     : /usr/bin/perl
   dblatex  : /usr/local/bin/dblatex
   xsltproc : /usr/bin/xsltproc
   HsColour : /Users/wknop/.cabal/bin/HsColour

   Building DocBook HTML documentation : YES
   Building DocBook PS documentation   : YES
   Building DocBook PDF documentation  : YES

Change History (19)

comment:1 Changed 9 years ago by altaic

Here's the last command's error when building with BuildFlavour = devel2:

"inplace/bin/ghc-stage2"   -H64m -O -fasm    -package-name vector-0.7.0.1 -hide-all-packages -i -ilibraries/vector/. -ilibraries/vector/dist-install/build -ilibraries/vector/dist-install/build/autogen -Ilibraries/vector/dist-install/build -Ilibraries/vector/dist-install/build/autogen -Ilibraries/vector/include -Ilibraries/vector/internal   -optP-DVECTOR_BOUNDS_CHECKS -optP-include -optPlibraries/vector/dist-install/build/autogen/cabal_macros.h -package base-4.3.0.0 -package primitive-0.3.1  -O2 -XCPP -XDeriveDataTypeable -no-user-package-conf -rtsopts -O -dcore-lint     -odir libraries/vector/dist-install/build -hidir libraries/vector/dist-install/build -stubdir libraries/vector/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/vector/./Data/Vector/Fusion/Stream/Monadic.hs -o libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package primitive-0.3.1 ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
ghc-stage2: internal error: MUT_ARR_PTRS_FROZEN0 object entered!
    (GHC version 7.1.20101203 for i386_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
make[1]: *** [libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o] Abort trap
make: *** [all] Error 2

And rerunning the last command with -v:

Glasgow Haskell Compiler, Version 7.1.20101203, stage 2 booted by GHC version 7.0.0.20100924
Using binary package database: /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/inplace/lib/package.conf.d/package.cache
wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-inplace
wired-in package integer-gmp mapped to integer-gmp-0.2.0.2-inplace
wired-in package base mapped to base-4.3.0.0-inplace
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to template-haskell-2.5.0.0-inplace
wired-in package dph-seq mapped to dph-seq-0.5-inplace
wired-in package dph-par mapped to dph-par-0.5-inplace
Hsc static flags: -static
Created temporary directory: /var/folders/c9/c9Ed6u86FQ4x80jwT4fQCU+++TI/-Tmp-/ghc64876_0
*** C pre-processor:
'/usr/bin/gcc' '-E' '-undef' '-traditional' '-v' '-I' 'libraries/vector/dist-install/build' '-I' 'libraries/vector/dist-install/build' '-I' 'libraries/vector/dist-install/build/autogen' '-I' 'libraries/vector/include' '-I' 'libraries/vector/internal' '-I' '/Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libraries/primitive/cbits' '-I' '/Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libraries/base/include' '-I' '/Users/wknop/Documents/Code/ProgrammingLanguages/ghc/includes' '-I' '/Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libffi/dist-install/build' '-D__GLASGOW_HASKELL__=701' '-Ddarwin_BUILD_OS=1' '-Di386_BUILD_ARCH=1' '-Ddarwin_HOST_OS=1' '-Di386_HOST_ARCH=1' '-DVECTOR_BOUNDS_CHECKS' '-include' 'libraries/vector/dist-install/build/autogen/cabal_macros.h' '-x' 'c' 'libraries/vector/Data/Vector/Fusion/Stream/Monadic.hs' '-o' '/var/folders/c9/c9Ed6u86FQ4x80jwT4fQCU+++TI/-Tmp-/ghc64876_0/ghc64876_0.hscpp'
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~50/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/cc1 -E -traditional-cpp -quiet -v -I libraries/vector/dist-install/build -I libraries/vector/dist-install/build -I libraries/vector/dist-install/build/autogen -I libraries/vector/include -I libraries/vector/internal -I /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libraries/primitive/cbits -I /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libraries/base/include -I /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/includes -I /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libffi/dist-install/build -imultilib x86_64 -D__DYNAMIC__ -D__GLASGOW_HASKELL__=701 -Ddarwin_BUILD_OS=1 -Di386_BUILD_ARCH=1 -Ddarwin_HOST_OS=1 -Di386_HOST_ARCH=1 -DVECTOR_BOUNDS_CHECKS -include libraries/vector/dist-install/build/autogen/cabal_macros.h libraries/vector/Data/Vector/Fusion/Stream/Monadic.hs -o /var/folders/c9/c9Ed6u86FQ4x80jwT4fQCU+++TI/-Tmp-/ghc64876_0/ghc64876_0.hscpp -fPIC -mmacosx-version-min=10.6.5 -m64 -mtune=core2 -undef
ignoring nonexistent directory "/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../../i686-apple-darwin10/include"
ignoring duplicate directory "libraries/vector/dist-install/build"
#include "..." search starts here:
#include <...> search starts here:
 libraries/vector/dist-install/build
 libraries/vector/dist-install/build/autogen
 libraries/vector/include
 libraries/vector/internal
 /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libraries/primitive/cbits
 /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libraries/base/include
 /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/includes
 /Users/wknop/Documents/Code/ProgrammingLanguages/ghc/libffi/dist-install/build
 /usr/local/include
 /usr/lib/gcc/i686-apple-darwin10/4.2.1/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.
*** Checking old interface for vector-0.7.0.1:Data.Vector.Fusion.Stream.Monadic:
*** Parser:
*** Renamer/typechecker:
*** Simplify:
*** CorePrep:
*** ByteCodeGen:
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package primitive-0.3.1 ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
ghc-stage2: internal error: MUT_ARR_PTRS_FROZEN0 object entered!
    (GHC version 7.1.20101203 for i386_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Abort trap

comment:2 Changed 9 years ago by altaic

Cc: altaic removed
Summary: Bus Error during Stage 2 (libraries/vector)ghc-stage2: internal error: MUT_ARR_PTRS_FROZEN0 object entered!

comment:3 Changed 9 years ago by altaic

Cc: william.knop.nospam@… added

comment:4 Changed 9 years ago by altaic

Is there any other information I can give to aid? I may be able to help if someone points out places to start, but otherwise I'm afraid this bug is a bit beyond me.

comment:5 Changed 9 years ago by altaic

Oddly enough, BuildFlavour = prof works, whereas BuildFlavour = devel2 and not specifying a BluidFlavour results in the above errors.

comment:6 Changed 9 years ago by PHO

Cc: pho@… added

comment:7 Changed 9 years ago by altaic

Summary: ghc-stage2: internal error: MUT_ARR_PTRS_FROZEN0 object entered!ghc-stage2: Monadic.o: bus error / segmentation fault / internal error

I've tested other BuildFlavours as well, and all the failures occur at the same spot, i.e., when generating libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o. As such, I'm changing the ticket's summary to reflect the various errors.

Also, I'm not getting any more information using -dcore-lint or -debug, so I'm currently playing around with build settings to see what options cause issues. It's pretty slow going, but on the upside I have plenty of spare CPU cycles and RAM with which I can brute-force this bug while I work on other things.

To summarize; BuildFlavours attempted and results:

  • (none): bus error
  • perf: bus error
  • quickest: segmentation fault
  • quick: internal error
  • prof: build succeeds
  • devel1: internal error
  • devel2: internal error

comment:8 Changed 9 years ago by altaic

The vector library apparently isn't required/built for BuildFlavor = prof, so I guess that's one reason ghc's build is succeeding.

comment:9 Changed 9 years ago by igloo

Milestone: 7.2.1
Priority: normalhigh
Status: newinfoneeded

I can't reproduce this on OS X 10.5.

Oh, it might have been fixed by this patch:

Mon Dec 13 12:49:30 GMT 2010  Ian Lynagh <igloo@earth.li>
  * GHCi linker: Assume non-Haskell libraries are dynamic libs

Can you still reproduce it?

comment:10 Changed 9 years ago by altaic

Yep, the crash persists.

comment:11 Changed 9 years ago by altaic

Could it be due to my bootstrap ghc (it was a head build from Sept. 24 that seems to work on my machine)? I'd assumed that the bootstrap ghc wouldn't factor in at stage 2.

If not, any idea of a workaround to get it to build on 10.6?

comment:12 Changed 9 years ago by simonmar

Is this happening for everyone on OS X 10.6?

comment:13 Changed 9 years ago by altaic

Not sure if this helps since the build didn't get past libraries/vector, but I recently ran the testsuite with these results:

OVERALL SUMMARY for test run started at Sat Jan  8 17:39:03 EST 2011
    2684 total tests, which gave rise to
   10048 test cases, of which
       0 caused framework failures
    1956 were skipped

    7012 expected passes
     242 expected failures
       0 unexpected passes
     838 unexpected failures

Unexpected failures:
   10queens(ghci)
   1185(ghci)
   1288(normal,hpc,optasm,threaded1,threaded2)
   1288_ghci(ghci)
   1372(normal)
   1548(ghci)
   1679(ghci)
   1744(ghci)
   1780(ghci)
   1852(ghci)
   1861(ghci)
   1914(ghci)
   1959(normal)
   1980(ghci)
   2014(normal)
   2047(ghci)
   2080(ghci)
   2122(ghci)
   2228(normal)
   2276(normal,hpc,optasm,threaded1,threaded2)
   2276_ghci(ghci)
   2452(ghci)
   2469(ghci)
   2589(ghci)
   2740(ghci)
   2816(ghci)
   2838(ghci)
   2881(ghci)
   2910(ghci)
   2910a(ghci)
   2917a(ghci)
   2976(ghci)
   3171(normal)
   3207(ghci)
   3279(ghci)
   3424(ghci)
   3429(ghci)
   3561(ghci)
   3677(ghci)
   3816(ghci)
   3890(normal)
   4038(ghci)
   4051(ghci)
   4198(ghci)
   4381(ghci)
   4383(ghci)
   4808(ghci)
   4811(ghci)
   4813(ghci)
   4850(normal)
   4876(ghci)
   CPUTime001(ghci)
   IOError002(ghci)
   IPRun(ghci)
   OldException001(ghci)
   T1344(ghci)
   T1624(ghci)
   T1735(ghci)
   T1835(normal,ghci)
   T1969(normal)
   T2120(ghci)
   T2193(ghci)
   T2386(normal)
   T246(ghci)
   T2529(ghci)
   T2674(normal)
   T2685(normal)
   T2700(normal)
   T2713(normal)
   T2766(ghci)
   T2817(normal)
   T3007(normal)
   T3064(normal)
   T3100(normal)
   T3126(ghci)
   T3177(normal)
   T3245(ghci)
   T3263(ghci)
   T3294(normal)
   T3319(normal)
   T3382(ghci)
   T3389(ghci)
   T3395(normal)
   T3500a(ghci)
   T3500b(ghci)
   T3572(ghci)
   T3600(normal)
   T3731(ghci)
   T3731-short(ghci)
   T3736(normal)
   T3899(normal)
   T3911(ghci)
   T3920(normal,ghci)
   T4003(normal)
   T4015(ghci)
   T4059(normal)
   T4087(ghci)
   T4113(normal,optc,hpc,optasm,ghci,threaded1,threaded2)
   T4127(ghci)
   T4127a(ghci)
   T4136(ghci)
   T4144(ghci)
   T4188(normal)
   T4316(ghci)
   T4334(ghci)
   T4436(normal)
   T4528a(ghci)
   T4809(ghci)
   T789(ghci)
   TH_1tuple(normal)
   TH_NestedSplices(normal)
   TH_class1(normal)
   TH_dupdecl(normal)
   TH_exn1(normal)
   TH_exn2(normal)
   TH_fail(normal)
   TH_foreignInterruptible(normal)
   TH_genEx(normal)
   TH_ghci1(ghci)
   TH_mkName(normal)
   TH_ppr1(ghci)
   TH_pragma(normal)
   TH_recover(normal,ghci)
   TH_reifyDecl1(normal)
   TH_reifyDecl2(normal)
   TH_reifyMkName(normal)
   TH_repE2(normal,ghci)
   TH_repGuard(normal)
   TH_repGuardOutput(normal,ghci)
   TH_repPrim(normal)
   TH_repPrimOutput(normal,ghci)
   TH_runIO(normal)
   TH_sections(normal)
   TH_spliceD1(normal)
   TH_spliceD2(normal)
   TH_spliceDecl2(normal)
   TH_spliceDecl3(normal)
   TH_spliceDecl4(normal)
   TH_spliceE1(ghci)
   TH_spliceE3(normal)
   TH_spliceE4(normal,ghci)
   TH_spliceE5(normal,ghci)
   TH_spliceE6(normal)
   TH_spliceExpr1(normal)
   TH_spliceGuard(normal)
   TH_spliceInst(normal)
   TH_spliceViewPat(normal,ghci)
   TH_tf1(normal)
   TH_tf2(normal)
   TH_tf3(normal)
   TH_tuple1(normal)
   TH_viewPatPrint(ghci)
   TH_where(ghci)
   ThreadDelay001(ghci)
   addr001(ghci)
   andre_monad(ghci)
   andy_cherry(ghci)
   ann01(normal,optc,hpc,optasm)
   annfail12(normal)
   annrun01(normal,optc,hpc,optasm,ghci,threaded1,threaded2)
   apirecomp001(normal)
   arith001(ghci)
   arith002(ghci)
   arith003(ghci)
   arith004(ghci)
   arith005(ghci)
   arith006(ghci)
   arith007(ghci)
   arith008(ghci)
   arith009(ghci)
   arith010(ghci)
   arith011(ghci)
   arith012(ghci)
   arith013(ghci)
   arith014(ghci)
   arith015(ghci)
   arith016(ghci)
   arith017(ghci)
   arith018(ghci)
   arith019(ghci)
   arr001(ghci)
   arr002(ghci)
   arr003(ghci)
   arr004(ghci)
   arr005(ghci)
   arr006(ghci)
   arr007(ghci)
   arr008(ghci)
   arr009(ghci)
   arr010(ghci)
   arr011(ghci)
   arr012(ghci)
   arr013(ghci)
   arr014(ghci)
   arr015(ghci)
   arr016(ghci)
   arr017(ghci)
   arr018(ghci)
   arr019(ghci)
   arrowrun004(ghci)
   async001(ghci)
   barton-mangler-bug(ghci)
   break001(ghci)
   break002(ghci)
   break003(ghci)
   break005(ghci)
   break006(ghci)
   break007(ghci)
   break008(ghci)
   break009(ghci)
   break010(ghci)
   break011(ghci)
   break012(ghci)
   break013(ghci)
   break014(ghci)
   break016(ghci)
   break017(ghci)
   break018(ghci)
   break019(ghci)
   break020(ghci)
   break021(ghci)
   break022(ghci)
   break023(ghci)
   break024(ghci)
   break025(ghci)
   break026(ghci)
   break027(ghci)
   break028(ghci)
   bug1010(ghci)
   bug1465(normal)
   bytestring002(ghci)
   bytestring003(ghci)
   bytestring006(ghci)
   cabal01(normal)
   cabal04(normal)
   cgrun001(ghci)
   cgrun002(ghci)
   cgrun003(ghci)
   cgrun004(ghci)
   cgrun005(ghci)
   cgrun006(ghci)
   cgrun007(ghci)
   cgrun008(ghci)
   cgrun009(ghci)
   cgrun010(ghci)
   cgrun011(ghci)
   cgrun012(ghci)
   cgrun013(ghci)
   cgrun014(ghci)
   cgrun015(ghci)
   cgrun016(ghci)
   cgrun017(ghci)
   cgrun018(ghci)
   cgrun019(ghci)
   cgrun020(ghci)
   cgrun021(ghci)
   cgrun022(ghci)
   cgrun024(ghci)
   cgrun026(ghci)
   cgrun027(ghci)
   cgrun028(ghci)
   cgrun031(ghci)
   cgrun032(ghci)
   cgrun033(ghci)
   cgrun034(ghci)
   cgrun035(ghci)
   cgrun036(ghci)
   cgrun037(ghci)
   cgrun038(ghci)
   cgrun039(ghci)
   cgrun040(ghci)
   cgrun043(ghci)
   cgrun044(ghci)
   cgrun045(ghci)
   cgrun046(ghci)
   cgrun047(ghci)
   cgrun048(ghci)
   cgrun049(ghci)
   cgrun050(ghci)
   cgrun051(ghci)
   cgrun053(ghci)
   cgrun054(ghci)
   cgrun055(ghci)
   cgrun056(ghci)
   cgrun058(ghci)
   cgrun059(ghci)
   cgrun060(ghci)
   cgrun061(ghci)
   cgrun062(ghci)
   cgrun063(ghci)
   char001(ghci)
   char002(ghci)
   cholewo-eval(ghci)
   church(ghci)
   conc001(ghci)
   conc002(ghci)
   conc003(ghci)
   conc006(ghci)
   conc007(ghci)
   conc008(ghci)
   conc009(ghci)
   conc010(ghci)
   conc012(ghci)
   conc013(ghci)
   conc014(ghci)
   conc015(ghci)
   conc015a(ghci)
   conc016(ghci)
   conc017(ghci)
   conc017a(ghci)
   conc018(ghci)
   conc019(ghci)
   conc020(ghci)
   conc022(ghci)
   conc023(ghci)
   conc024(ghci)
   conc025(ghci)
   conc026(ghci)
   conc027(ghci)
   conc028(ghci)
   conc029(ghci)
   conc030(ghci)
   conc031(ghci)
   conc032(ghci)
   conc035(ghci)
   conc041(ghci)
   conc042(ghci)
   conc043(ghci)
   conc044(ghci)
   conc045(ghci)
   conc051(ghci)
   conc058(ghci)
   conc064(ghci)
   conc065(ghci)
   conc066(ghci)
   conc067(ghci)
   conc068(ghci)
   conc069(ghci)
   conc069a(ghci)
   conc070(ghci)
   concio002(ghci)
   concprog003(ghci)
   copyFile001(ghci)
   copyFile002(ghci)
   countReaders001(ghci)
   createDirectory001(ghci)
   createDirectoryIfMissing001(ghci)
   currentDirectory001(ghci)
   cvh_unboxing(ghci)
   data-fixed-show-read(ghci)
   dataintset001(ghci)
   datamap001(ghci)
   datamap002(ghci)
   decodingerror001(ghci)
   derefnull(ghci)
   directory001(ghci)
   divbyzero(ghci)
   doesDirectoryExist001(ghci)
   dph-diophantine-fast(normal,threaded1,threaded2)
   dph-diophantine-opt(normal,threaded1,threaded2)
   dph-dotp-fast(normal,threaded1,threaded2)
   dph-dotp-opt(normal,threaded1,threaded2)
   dph-primespj-fast(normal,threaded1,threaded2)
   dph-primespj-opt(normal,threaded1,threaded2)
   dph-quickhull-fast(normal,threaded1,threaded2)
   dph-quickhull-opt(normal,threaded1,threaded2)
   dph-smvm(normal,threaded1,threaded2)
   dph-sumnats(normal,threaded1,threaded2)
   dph-words-fast(normal)
   dph-words-opt(normal)
   driver062a(normal)
   driver062b(normal)
   driver062c(normal)
   driver062d(normal)
   driver062e(normal)
   driver081a(normal)
   driver081b(normal)
   drvrun-foldable1(ghci)
   drvrun-functor1(ghci)
   drvrun001(ghci)
   drvrun002(ghci)
   drvrun003(ghci)
   drvrun004(ghci)
   drvrun005(ghci)
   drvrun006(ghci)
   drvrun007(ghci)
   drvrun008(ghci)
   drvrun009(ghci)
   drvrun010(ghci)
   drvrun011(ghci)
   drvrun012(ghci)
   drvrun013(ghci)
   drvrun014(ghci)
   drvrun015(ghci)
   drvrun016(ghci)
   drvrun017(ghci)
   drvrun018(ghci)
   drvrun019(ghci)
   drvrun020(ghci)
   drvrun021(ghci)
   dsrun001(ghci)
   dsrun002(ghci)
   dsrun003(ghci)
   dsrun004(ghci)
   dsrun005(ghci)
   dsrun006(ghci)
   dsrun007(ghci)
   dsrun008(ghci)
   dsrun009(ghci)
   dsrun010(ghci)
   dsrun011(ghci)
   dsrun012(ghci)
   dsrun013(ghci)
   dsrun015(ghci)
   dsrun016(ghci)
   dsrun017(ghci)
   dsrun018(ghci)
   dsrun019(ghci)
   dsrun020(ghci)
   dsrun021(ghci)
   dsrun022(ghci)
   dsrun023(ghci)
   dynamic001(ghci)
   dynamic_flags_001(normal)
   dynbrk001(ghci)
   dynbrk002(ghci)
   dynbrk003(ghci)
   dynbrk004(ghci)
   dynbrk007(ghci)
   dynbrk008(ghci)
   dynbrk009(ghci)
   echo001(ghci)
   encoding001(ghci)
   encodingerror001(ghci)
   enum01(ghci)
   enum02(ghci)
   enum03(ghci)
   enum04(ghci)
   exceptions001(ghci)
   exceptionsrun001(ghci)
   exceptionsrun002(ghci)
   exec_signals(ghci)
   exitWith001(ghci)
   expfloat(ghci)
   fast2haskell(ghci)
   fdReadBuf001(ghci)
   fed001(ghci)
   ffi003(ghci)
   ffi006(ghci)
   ffi009(ghci)
   ffi010(ghci)
   ffi011(ghci)
   ffi013(ghci)
   ffi017(ghci)
   ffi018_ghci(ghci)
   ffi019(ghci)
   ffi020(ghci)
   ffi021(ghci)
   fileStatus(ghci)
   fileexist01(ghci)
   finalization001(ghci)
   foreignInterruptible(ghci)
   forkprocess01(ghci)
   fptr02(ghci)
   fun_insts(ghci)
   gadt23(normal)
   genericNegative001(ghci)
   getArgs001(ghci)
   getDirContents002(ghci)
   getEnv001(ghci)
   getEnvironment01(ghci)
   getGroupEntryForName(ghci)
   getHomeDirectory001(ghci)
   getUserEntryForName(ghci)
   getargs(ghci)
   ghc-e001(normal)
   ghc-e002(normal)
   ghc-e003(normal)
   ghc-e004(normal)
   ghc-e005(normal)
   ghci.prog007(ghci)
   ghci.prog008(ghci)
   ghci.prog009(ghci)
   ghci001(ghci)
   ghci002(ghci)
   ghci003(ghci)
   ghci004(ghci)
   ghci005(ghci)
   ghci006(ghci)
   ghci007(ghci)
   ghci008(ghci)
   ghci009(ghci)
   ghci011(ghci)
   ghci012(ghci)
   ghci013(ghci)
   ghci015(ghci)
   ghci017(ghci)
   ghci019(ghci)
   ghci020(ghci)
   ghci021(ghci)
   ghci022(ghci)
   ghci023(ghci)
   ghci024(normal)
   ghci025(ghci)
   ghci026(ghci)
   ghci027(ghci)
   ghci028(ghci)
   ghci029(ghci)
   ghci030(ghci)
   ghci031(ghci)
   ghci032(ghci)
   ghci033(ghci)
   ghci034(ghci)
   ghci035(ghci)
   ghci036(ghci)
   ghci037(normal)
   ghciprog004(normal)
   ghcirun001(ghci)
   ghcirun002(ghci)
   ghcirun003(ghci)
   ghcpkg05(normal)
   hClose001(ghci)
   hClose002(ghci)
   hClose003(ghci,threaded2)
   hDuplicateTo001(ghci)
   hFileSize001(ghci)
   hFlush001(ghci)
   hGetBuf001(ghci)
   hGetBuf002(ghci)
   hGetBuf003(ghci)
   hGetChar001(ghci)
   hGetLine001(ghci)
   hGetLine002(ghci)
   hGetLine003(ghci)
   hGetPosn001(ghci)
   hIsEOF001(ghci)
   hIsEOF002(ghci)
   hPutBuf001(ghci)
   hPutBuf002(ghci)
   hReady001(ghci)
   hSeek001(ghci)
   hSeek002(ghci)
   hSeek003(ghci)
   hSeek004(ghci)
   hSetBuffering002(ghci)
   hSetBuffering004(ghci)
   hSetEncoding001(ghci)
   hTell001(ghci)
   hTell002(ghci)
   hash001(ghci)
   hist001(ghci)
   hpc_ghc_ghci(normal)
   hpc_markup_multi_001(normal)
   hpc_markup_multi_002(normal)
   hpc_markup_multi_003(normal)
   hs-boot(normal,optc,hpc,optasm)
   integerBits(ghci)
   integerConversions(ghci)
   ioeGetErrorString001(ghci)
   ioeGetFileName001(ghci)
   ioeGetHandle001(ghci)
   ioref001(ghci)
   isEOF001(ghci)
   ix001(ghci)
   jl_defaults(ghci)
   joao-circular(ghci)
   jq_readsPrec(ghci)
   jtod_circint(ghci)
   jules_xref(ghci)
   jules_xref2(ghci)
   launchbury(ghci)
   lennart_range(ghci)
   lex(ghci)
   lexNum(ghci)
   life_space_leak(ghci)
   list001(ghci)
   list002(ghci)
   list003(ghci)
   listCommand001(ghci)
   listCommand002(ghci)
   mask001(ghci)
   memo001(ghci)
   memo002(ghci)
   misc001(ghci)
   mod130(normal)
   mod179(normal)
   newline001(ghci)
   north_array(ghci)
   num001(ghci)
   num002(ghci)
   num003(ghci)
   num004(ghci)
   num005(ghci)
   num006(ghci)
   num007(ghci)
   num008(ghci)
   num009(normal,optc,hpc,optasm,ghci,threaded1,threaded2)
   num010(ghci)
   numrun009(ghci)
   numrun010(ghci)
   numrun011(ghci)
   numrun012(ghci)
   numrun013(ghci)
   numrun014(ghci)
   openFile001(ghci)
   openFile002(ghci)
   openFile003(ghci)
   openFile004(ghci)
   openFile005(ghci)
   openFile006(ghci)
   openFile007(ghci)
   openFile008(ghci)
   openTempFile001(ghci)
   performGC001(ghci)
   print001(ghci)
   print002(ghci)
   print003(ghci)
   print004(ghci)
   print005(ghci)
   print006(ghci)
   print007(ghci)
   print008(ghci)
   print009(ghci)
   print010(ghci)
   print011(ghci)
   print012(ghci)
   print013(ghci)
   print014(ghci)
   print016(ghci)
   print017(ghci)
   print018(ghci)
   print019(ghci)
   print021(ghci)
   print022(ghci)
   print023(ghci)
   print024(ghci)
   print025(ghci)
   print026(ghci)
   print027(ghci)
   print028(ghci)
   print029(ghci)
   print030(ghci)
   print031(ghci)
   print033(ghci)
   print034(ghci)
   process001(ghci)
   process002(ghci)
   process004(ghci)
   process005(ghci)
   process006(ghci)
   process007(ghci)
   process008(ghci)
   prog001(ghci)
   prog002(ghci)
   prog003(ghci)
   prog005(ghci)
   prog006(ghci)
   putStr001(ghci)
   qq007(normal,optc,hpc,optasm)
   qq008(normal,optc,hpc,optasm)
   rand001(ghci)
   random1283(ghci)
   ratio001(ghci)
   readFile001(ghci)
   readLitChar(ghci)
   readRun001(ghci)
   readRun002(ghci)
   readRun003(ghci)
   reads001(ghci)
   readwrite001(ghci)
   readwrite003(ghci)
   recomp001(normal)
   recomp004(normal)
   recomp007(normal)
   recomp008(normal)
   record_upd(ghci)
   renameFile001(ghci)
   resourceLimit(ghci)
   return_mem_to_os(ghci)
   rittri(ghci)
   rn.prog006(normal)
   rnfail043(normal)
   rtsopts001(normal)
   rtsopts002(normal)
   sanders_array(ghci)
   sequence001(ghci)
   seward-space-leak(ghci)
   show001(ghci)
   showDouble(ghci)
   signals001(ghci)
   signals002(ghci)
   signals004(ghci,threaded1,threaded2)
   space_leak_001(ghci)
   stableptr001(ghci)
   stableptr003(ghci)
   stableptr004(ghci)
   stableptr005(ghci)
   stack001(ghci)
   stack002(ghci)
   strict_anns(ghci)
   system001(ghci)
   take001(ghci)
   tc159(ghci)
   tcfail149(ghci)
   tcrun001(ghci)
   tcrun002(ghci)
   tcrun003(ghci)
   tcrun004(ghci)
   tcrun005(ghci)
   tcrun006(ghci)
   tcrun007(normal,optc,hpc,optasm,ghci,threaded1,threaded2)
   tcrun008(ghci)
   tcrun009(ghci)
   tcrun010(ghci)
   tcrun011(ghci)
   tcrun012(ghci)
   tcrun013(ghci)
   tcrun014(ghci)
   tcrun015(ghci)
   tcrun016(ghci)
   tcrun017(ghci)
   tcrun018(ghci)
   tcrun019(ghci)
   tcrun020(ghci)
   tcrun021(ghci)
   tcrun023(ghci)
   tcrun024(ghci)
   tcrun025(ghci)
   tcrun026(ghci)
   tcrun027(ghci)
   tcrun028(ghci)
   tcrun029(ghci)
   tcrun030(ghci)
   tcrun031(ghci)
   tcrun032(ghci)
   tcrun033(ghci)
   tcrun034(ghci)
   tcrun036(ghci)
   tcrun037(ghci)
   tcrun038(ghci)
   tcrun039(ghci)
   tcrun040(ghci)
   tcrun042(ghci)
   testeq2(ghci)
   text001(ghci)
   throwto001(ghci)
   throwto002(ghci)
   throwto003(ghci)
   thurston-modular-arith(ghci)
   time002(ghci)
   time003(ghci)
   time004(ghci)
   trace001(ghci)
   traceEvent(ghci)
   tup001(ghci)
   typecheck.testeq1(ghci)
   unicode001(ghci)
   unicode002(ghci)
   user001(ghci)
   utf8_024(ghci)
   weak001(ghci)
   withRtsOpts(normal)

comment:14 Changed 9 years ago by altaic

This still happens when building for i386 (bootstrapping from either my binary as shown earlier or the official i386 ghc-7.0.1 binary), however I was able to successfully build for x86_64 (bootstrapping from Gregory Wright's ghc x86_64 7.0.1 binary). I suspect the i386 build fails due to some kind of alignment issue during garbage collection... However I've poked around using gdb a fair amount without pinpointing the trouble. I consider x86_64 support more important these days than i386, so it's not a big deal to me. Just glad I can once again build HEAD.

comment:15 Changed 9 years ago by igloo

Just to confirm: You mean you are seeing this problem compiling the current HEAD, right?

validate builds at least work fine for me on 10.6.

comment:16 Changed 9 years ago by altaic

Yes, compiling HEAD on OS X 10.6.6; I make maintainer-clean before pulling new patches to be sure there's no cruft. The same problem has persisted for me in HEAD since I opened the ticket. I used to hit the same error when cross-compiling i386 to x86_64, but now there are other errors in earlier stages. Compiling i386 to i386 still produces the errors in this ticket. Are you bootstrapping from an i386 ghc for your validate build?

comment:17 Changed 9 years ago by igloo

Yes, i386 -> i386.

comment:18 Changed 8 years ago by igloo

Is this still happening? If so, can you attach a log of the testsuite run, please (don't use multiple threads when running the testsuite).

comment:19 Changed 8 years ago by igloo

Resolution: worksforme
Status: infoneededclosed

No response from submitter, so closing.

Note: See TracTickets for help on using tickets.