Hello,

it looks like I always get following compilation error ARM/linux
platform (actually GHC ARM builder board). I've thought it's just broken LLVM installed from not yet released ubuntu packages, but I also got very similar issue on another board with hand-compiled LLVM (i.e.
optimization -O1 to get the best LLVM testsuite results). It looks like
the issue is about month or two old it seems.
I may attempt to binary search for the commit where it started, but I've thought better is to ask here first if it looks familiar or if there is any idea how to hunt this down and fix.

Thanks!
Karel

On 03/17/12 06:31 AM, Builder wrote:
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.20120315 -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:275: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


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to