ANNOUNCE: GHC 7.8.1 Release Candidate 1

Karel Gardas karel.gardas at centrum.cz
Wed Feb 5 14:53:41 UTC 2014


On 02/ 5/14 03:09 PM, Arie Peterson wrote:
> On Monday 03 February 2014 16:35:14 Austin Seipp wrote:
>> We are pleased to announce the first release candidate for GHC 7.8.1:
>> […]
>> This includes the source tarball and bindists for Windows, Linux, OS
>> X, FreeBSD, and Solaris, on x86 and x86_64. […]
>
> Has anyone by chance built it for arm, yet? If I understand correctly, with
> this new version, it should be possible to compile programs with a dependency
> on vector, on arm.

Tried, on my ubuntu 12.04.02, but it fails miserably. Modern GHC 
requires alex 3.1 and cabal alex fails with (due to QuickCheck template 
haskell dependency):

$ cabal install alex
Resolving dependencies...
Downloading random-1.0.1.1...
Configuring random-1.0.1.1...
Building random-1.0.1.1...
Preprocessing library random-1.0.1.1...
[1 of 1] Compiling System.Random    ( System/Random.hs, 
dist/build/System/Random.o )
Registering random-1.0.1.1...
Installing library in /home/karel/.cabal/lib/random-1.0.1.1/ghc-7.4.1
Registering random-1.0.1.1...
Downloading QuickCheck-2.6...
Configuring QuickCheck-2.6...
Building QuickCheck-2.6...
Preprocessing library QuickCheck-2.6...
[ 1 of 13] Compiling Test.QuickCheck.Exception ( 
Test/QuickCheck/Exception.hs, dist/build/Test/QuickCheck/Exception.o )
[ 2 of 13] Compiling Test.QuickCheck.Text ( Test/QuickCheck/Text.hs, 
dist/build/Test/QuickCheck/Text.o )
[ 3 of 13] Compiling Test.QuickCheck.State ( Test/QuickCheck/State.hs, 
dist/build/Test/QuickCheck/State.o )
[ 4 of 13] Compiling Test.QuickCheck.Gen ( Test/QuickCheck/Gen.hs, 
dist/build/Test/QuickCheck/Gen.o )
[ 5 of 13] Compiling Test.QuickCheck.Arbitrary ( 
Test/QuickCheck/Arbitrary.hs, dist/build/Test/QuickCheck/Arbitrary.o )
[ 6 of 13] Compiling Test.QuickCheck.Poly ( Test/QuickCheck/Poly.hs, 
dist/build/Test/QuickCheck/Poly.o )
[ 7 of 13] Compiling Test.QuickCheck.Modifiers ( 
Test/QuickCheck/Modifiers.hs, dist/build/Test/QuickCheck/Modifiers.o )
[ 8 of 13] Compiling Test.QuickCheck.Function ( 
Test/QuickCheck/Function.hs, dist/build/Test/QuickCheck/Function.o )
[ 9 of 13] Compiling Test.QuickCheck.Property ( 
Test/QuickCheck/Property.hs, dist/build/Test/QuickCheck/Property.o )
[10 of 13] Compiling Test.QuickCheck.Test ( Test/QuickCheck/Test.hs, 
dist/build/Test/QuickCheck/Test.o )
[11 of 13] Compiling Test.QuickCheck.Monadic ( 
Test/QuickCheck/Monadic.hs, dist/build/Test/QuickCheck/Monadic.o )
[12 of 13] Compiling Test.QuickCheck  ( Test/QuickCheck.hs, 
dist/build/Test/QuickCheck.o )
[13 of 13] Compiling Test.QuickCheck.All ( Test/QuickCheck/All.hs, 
dist/build/Test/QuickCheck/All.o )

Test/QuickCheck/All.hs:28:20:
     Template Haskell bracket illegal in a stage-1 compiler
       [| quickCheck ($(mono x)) |]

[...]
Test/QuickCheck/All.hs:111:22:
     Template Haskell splice illegal in a stage-1 compiler
       forAllProperties
cabal: Error: some packages failed to install:
QuickCheck-2.6 failed during the building phase. The exception was:
ExitFailure 1
alex-3.1.3 depends on QuickCheck-2.6 which failed to install.


So, well, Catch-22?

Karel




More information about the Glasgow-haskell-users mailing list