Ticket #6043 (closed bug: duplicate)

Opened 13 months ago

Last modified 11 months ago

ARM build fails

Reported by: kgardas Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.5
Keywords: Cc:
Operating System: Linux Architecture: arm
Type of failure: Building GHC failed Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

Change History

Changed 11 months ago by kgardas

  • status changed from new to closed
  • resolution set to duplicate

This issue is not related to ARM as #7049 shows, so I'm closing this and leaving #7049 which is more general.

Note: See TracTickets for help on using tickets.