ghc 6.4.2 on OS X 10.4.6 fails a compiler error building Crypto-3.0.3.
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.ASN1.PKCS1v15,Codec.ASN1.PKCS8,Codec.Binary.Base64,Codec.Encryption.RSA,Codec.Encryption.RSA.EMEOAEP,Codec.Encryption.RSA.MGF,Codec.Encryption.RSA.NumberTheory,Codec.Encryption.DES,Codec.Encryption.AES,Codec.Encryption.Blowfish,Codec.Encryption.Modes,Codec.Encryption.Padding,Codec.Text.Raw,Codec.Utils,Data.Digest.MD5,Data.Digest.SHA1,Data.LargeWord,Codec.Encryption.BlowfishAux,Codec.Encryption.DESAux,Data.Digest.SHA1Aux,Codec.Encryption.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
Any ideas?
Trac metadata
Trac field | Value |
---|---|
Version | 6.4.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | MacOS X |
Architecture | powerpc |