#3996: bug in GHC when compiling HOC (SVN revision 413)
---------------------------------+------------------------------------------
    Reporter:  andrewe           |       Owner:              
        Type:  bug               |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  6.10.4            |    Keywords:  HOC         
          Os:  MacOS X           |    Testcase:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------
 I'm trying to compile the Haskell Cocoa binding HOC on Mac OS X 10.6 (Snow
 Leopard) with GHC 6.10.4. The computer is a MacBook with Intel CPU.

 Steps to reproduce:

 1. svn checkout http://hoc.googlecode.com/svn/trunk/ hoc-read-only
 2. cd hoc-read-only
 3. runhaskell Setup.hs --user configure
 4. runhaskell Setup.hs build

 A "GHC panic" error occurs. The output is as follows:

 "

 Setup.hs:1:0:
     Warning: In the use of `defaultUserHooks'
              (imported from Distribution.Simple):
              Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless
 you need Cabal-1.2
              compatibility in which case you must stick with
 defaultUserHooks"
 Compiling HOC_cbits...
 Preprocessing library HOC-1.0...
 Preprocessing executables for HOC-1.0...
 Building HOC-1.0...
 [ 1 of 31] Compiling HOC.THDebug      ( HOC/HOC/THDebug.hs,
 dist/build/HOC/THDebug.o )
 [ 2 of 31] Compiling HOC.Unicode      ( HOC/HOC/Unicode.hs,
 dist/build/HOC/Unicode.o )
 [ 3 of 31] Compiling HOC.TH           ( HOC/HOC/TH.hs, dist/build/HOC/TH.o
 )
 [ 4 of 31] Compiling HOC.FFICallInterface ( HOC/HOC/FFICallInterface.hs,
 dist/build/HOC/FFICallInterface.o )
 [ 5 of 31] Compiling HOC.Dyld         ( HOC/HOC/Dyld.hs,
 dist/build/HOC/Dyld.o )
 [ 6 of 31] Compiling HOC.Base         ( HOC/HOC/Base.hs,
 dist/build/HOC/Base.o )
 [ 7 of 31] Compiling HOC.Arguments    ( HOC/HOC/Arguments.hs,
 dist/build/HOC/Arguments.o )
 [ 8 of 31] Compiling HOC.ID           ( HOC/HOC/ID.hs, dist/build/HOC/ID.o
 )
 [ 9 of 31] Compiling HOC.CannedCIFs   ( HOC/HOC/CannedCIFs.hs,
 dist/build/HOC/CannedCIFs.o )
 [10 of 31] Compiling HOC.NewClass     ( HOC/HOC/NewClass.hs,
 dist/build/HOC/NewClass.o )
 [11 of 31] Compiling HOC.StdArgumentTypes ( HOC/HOC/StdArgumentTypes.hs,
 dist/build/HOC/StdArgumentTypes.o )
 Loading package ghc-prim ... linking ... done.
 Loading package integer ... linking ... done.
 Loading package base ... linking ... done.
 Loading package syb ... linking ... done.
 Loading package array-0.2.0.0 ... linking ... done.
 Loading package containers-0.2.0.1 ... linking ... done.
 Loading package packedstring-0.1.0.1 ... linking ... done.
 Loading package pretty-1.0.1.0 ... linking ... done.
 Loading package template-haskell ... linking ... done.
 Loading package bytestring-0.9.1.4 ... linking ... done.
 Loading package mtl-1.1.0.2 ... linking ... done.
 Loading package parsec-3.1.0 ... linking ... done.
 Loading package base-3.0.3.1 ... linking ... done.
 Loading package fgl-5.4.2.2 ... linking ... done.
 Loading package filepath-1.1.0.2 ... linking ... done.
 Loading package old-locale-1.0.0.1 ... linking ... done.
 Loading package old-time-1.0.0.2 ... linking ... done.
 Loading package unix-2.3.2.0 ... linking ... done.
 Loading package directory-1.0.0.3 ... linking ... done.
 Loading package HUnit-1.2.0.3 ... linking ... done.
 Loading object (static) dist/build/HOC_cbits.o ... ghc: panic! (the
 'impossible' happened)
   (GHC version 6.10.4 for x86_64-apple-darwin):
         loadObj: failed

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 "

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3996>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to