Various errors on Mac OS X

Gregory Wright gwright at antiope.com
Thu Apr 20 11:20:19 EDT 2006


Hi,

I have just installed ghc 6.4.2 on OS X 10.4.6.  It was built from  
source using
ghc 6.4 as a bootstrap compiler.  (The build was done using  
darwinports.  Everything
was identical to the darwinports build of 6.4.1 except that --disable- 
openal and
--disable-alut had to be specified.)

I have successfully rebuilt haddock and the NewBinary library.  When  
building
the Crypto library (version 3.0.3), I get odd and not consistently  
reproducible
errors.

The ./Setup configure phase runs fine, but the ./Setup build phase  
fails.  Having
run this a few times, I've seen shell return values of 1(once), 11  
(once) and 10 (several times),
but no other error message.  Once I did obtain:

crossroads-able> sudo ./Setup build
Preprocessing library Crypto-3.0.3...
Preprocessing executables for Crypto-3.0.3...
Building Crypto-3.0.3...
Chasing modules from:  
Codec.ASN1,Codec.ASN1.BER,Codec.ASN1.InformationFramework,Codec.ASN1.TLV 
,Codec.ASN1.X509,Codec.ASN1.X509.AttributeCertificateDefinitions,Codec.A 
SN1.PKCS1v15,Codec.ASN1.PKCS8,Codec.Binary.Base64,Codec.Encryption.RSA,C 
odec.Encryption.RSA.EMEOAEP,Codec.Encryption.RSA.MGF,Codec.Encryption.RS 
A.NumberTheory,Codec.Encryption.DES,Codec.Encryption.AES,Codec.Encryptio 
n.Blowfish,Codec.Encryption.Modes,Codec.Encryption.Padding,Codec.Text.Ra 
w,Codec.Utils,Data.Digest.MD5,Data.Digest.SHA1,Data.LargeWord,Codec.Encr 
yption.BlowfishAux,Codec.Encryption.DESAux,Data.Digest.SHA1Aux,Codec.Enc 
ryption.AESAux,Data.Digest.MD5Aux
Compiling Data.Digest.MD5Aux ( ./Data/Digest/MD5Aux.hs, dist/build/ 
Data/Digest/MD5Aux.o )

./Data/Digest/MD5Aux.hs:107:0:
     Warning: No explicit method nor default method for `*'
              In the instance declaration for `Num ABCD'

./Data/Digest/MD5Aux.hs:107:0:
     Warning: No explicit method nor default method for `abs'
              In the instance declaration for `Num ABCD'

./Data/Digest/MD5Aux.hs:107:0:
     Warning: No explicit method nor default method for `signum'
              In the instance declaration for `Num ABCD'

./Data/Digest/MD5Aux.hs:107:0:
     Warning: No explicit method nor default method for `fromInteger'
              In the instance declaration for `Num ABCD'
ghc-6.4.2: internal error: scavenge_stack: weird activation record  
found on stack: 0
     Please report this as a compiler bug.  See:
     http://www.haskell.org/ghc/reportabug



I'll file a bug report, but are there any ideas on this one?

Best Wishes,
Greg





More information about the Glasgow-haskell-bugs mailing list