ARM build fails
Since the half of February 2012, GHC HEAD builds fails on ARM with following error:
"cp" -p ghc/stage2/build/tmp/ghc-stage2 inplace/lib/ghc-stage2
"rm" -f inplace/bin/ghc-stage2
echo '#!/bin/sh' >> inplace/bin/ghc-stage2
echo 'executablename="/buildbot/ghc-head-builder/builder/tempbuild/build/inplace/lib/ghc-stage2"' >> inplace/bin/ghc-stage2
echo 'datadir="/buildbot/ghc-head-builder/builder/tempbuild/build/inplace/lib"' >> inplace/bin/ghc-stage2
echo 'bindir="/buildbot/ghc-head-builder/builder/tempbuild/build/inplace/bin"' >> inplace/bin/ghc-stage2
echo 'topdir="/buildbot/ghc-head-builder/builder/tempbuild/build/inplace/lib"' >> inplace/bin/ghc-stage2
echo 'pgmgcc="/usr/bin/gcc"' >> inplace/bin/ghc-stage2
cat ghc/ghc.wrapper >> inplace/bin/ghc-stage2
chmod +x inplace/bin/ghc-stage2
"inplace/bin/ghc-stage2" -H32m -O -hide-all-packages -i -iutils/haddock/src -iutils/haddock/dist/build -iutils/haddock/dist/build/autogen -Iutils/haddock/dist/build -Iutils/haddock/dist/build/autogen -optP-DIN_GHC_TREE -optP-include -optPutils/haddock/dist/build/autogen/cabal_macros.h -package Cabal-1.14.0 -package array-0.3.0.3 -package base-4.5.0.0 -package containers-0.5.0.0 -package directory-1.1.0.1 -package filepath-1.2.0.1 -package ghc-7.5.20120423 -package pretty-1.1.1.0 -package xhtml-3000.2.0.5 -funbox-strict-fields -O2 -Wall -fwarn-tabs -XHaskell2010 -XCPP -XDeriveDataTypeable -XScopedTypeVariables -XMagicHash -no-user-package-conf -rtsopts -odir utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir utils/haddock/dist/build -hisuf hi -osuf o -hcsuf hc -c utils/haddock/src/Haddock/GhcUtils.hs -o utils/haddock/dist/build/Haddock/GhcUtils.o
utils/haddock/src/Haddock/GhcUtils.hs:274:21:
Illegal record syntax (use -XTraditionalRecordSyntax): d {objectDir = Just
f}
make[1]: *** [utils/haddock/dist/build/Haddock/GhcUtils.o] Error 1
make: *** [all] Error 2
Trac metadata
Trac field | Value |
---|---|
Version | 7.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |