#3029: ghc panic while installing hs-Crypto package (via macport)
---------------------+------------------------------------------------------
Reporter:  mreza101  |          Owner:          
    Type:  bug       |         Status:  new     
Priority:  normal    |      Component:  Compiler
 Version:  6.10.1    |       Severity:  normal  
Keywords:  Crypto    |       Testcase:          
      Os:  MacOS X   |   Architecture:  x86     
---------------------+------------------------------------------------------
 Here is the bug dump after it failed to build the package.

 Error: Target org.macports.build returned: shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_hs-Crypto/work/Crypto-4.1.0 && runhaskell Setup
 build -v" returned error 1
 Command output:     In the instance declaration for `Integral (LargeKey a
 b)'

 Data/LargeWord.hs:137:9:
     Warning: No explicit method nor default method for `toRational'
     In the instance declaration for `Real (LargeKey a b)'

 Data/LargeWord.hs:140:9:
     Warning: No explicit method nor default method for `toEnum'
     In the instance declaration for `Enum (LargeKey a b)'

 Data/LargeWord.hs:140:9:
     Warning: No explicit method nor default method for `fromEnum'
     In the instance declaration for `Enum (LargeKey a b)'
 [10 of 11] Compiling Codec.Encryption.AES ( Codec/Encryption/AES.hs,
 dist/build/SymmetricTest/SymmetricTest-tmp/Codec/Encryption/AES.o )
 [11 of 11] Compiling Main             ( SymmetricTest.hs,
 dist/build/SymmetricTest/SymmetricTest-tmp/Main.o )
 Linking dist/build/SymmetricTest/SymmetricTest ...
 Building executable: SHA1Test...
 Creating dist/build/SHA1Test (and its parents)
 Creating dist/build/SHA1Test/SHA1Test-tmp (and its parents)
 /opt/local/bin/ghc -o dist/build/SHA1Test/SHA1Test --make -hide-all-
 packages -no-user-package-conf -i -idist/build/SHA1Test/SHA1Test-tmp -i.
 -idist/build/autogen -Idist/build/autogen -Idist/build/SHA1Test/SHA1Test-
 tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir
 dist/build/SHA1Test/SHA1Test-tmp -hidir dist/build/SHA1Test/SHA1Test-tmp
 -stubdir dist/build/SHA1Test/SHA1Test-tmp -package HUnit-1.2.0.3 -package
 QuickCheck-1.2.0.0 -package array-0.2.0.0 -package base-4.0.0.0 -package
 pretty-1.0.1.0 -package random-1.0.0.1 -O ./SHA1Test.hs
 [1 of 4] Compiling Codec.Utils      ( Codec/Utils.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Codec/Utils.o )
 [2 of 4] Compiling Data.Digest.SHA1 ( Data/Digest/SHA1.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Data/Digest/SHA1.o )
 [3 of 4] Compiling Codec.Text.Raw   ( Codec/Text/Raw.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Codec/Text/Raw.o )
 [4 of 4] Compiling Main             ( SHA1Test.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Main.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.1 for i386-apple-darwin):
         RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-
 graph

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


 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3029>
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