Fwd: PPC Mac OS X build of HEAD: "...ghc .. -c parser/Parser.hs
..." fails with "/tmp/ghc6575.s:132776:Fixup of 34728 too
large for field width of 16 bits ..."
Thorkil Naur
naur at post11.tele.dk
Mon Feb 19 03:40:16 EST 2007
Hello,
I have installed a recently built ghc-HEAD
Thorkil-Naurs-Computer:~ thorkilnaur$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.7.20070209
Thorkil-Naurs-Computer:~ thorkilnaur$
and stage 1 now builds OK again. See, for example, build 11:
http://darcs.haskell.org:8010/tnaur%20PPC%20OSX%20head/builds/11/step-compilestage1/0
Does this mean that some improvement between the ghc-6.4.1 that I have used
earlier and the ghc HEAD has caused the problem to disappear so that I could
forget about this?
In addition to this question: The build now fails in stage 2 with this error
message:
make stage2
in
dir /Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build
watching logfiles {}
argv: ['make', 'stage2']
environment: {'YHC_BASE_PATH':
'/Users/thorkilnaur/tn/YhcDarcsRepository/yhc/inst', 'TERM': 'xterm-color',
'SHELL': '/bin/bash', 'SHLVL': '1', 'OLDPWD': '/Users/thorkilnaur',
'SECURITYSESSIONID': '6052c0', 'TERM_PROGRAM_VERSION': '133', 'HUGSDIR':
'/Users/thorkilnaur/tn/HugsCvsRepository/hugs98/hugsdir',
'__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'PWD':
'/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx', 'LOGNAME': 'thorkilnaur',
'USER': 'thorkilnaur', 'PATH':
'/Users/thorkilnaur/tn/DrIFTDarcsRepository/DrIFT/bin/bin:/Users/thorkilnaur/tn/install/ghc-HEAD-for-1066-20070211_1657/bin:/Users/thorkilnaur/tn/HugsCvsRepository/hugs98/src:/Users/thorkilnaur/tn/bin:/Users/thorkilnaur/tn/YhcDarcsRepository/yhc/inst/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin',
'HOME': '/Users/thorkilnaur', '_': '/opt/local/bin/buildbot', 'TERM_PROGRAM':
'Apple_Terminal'}
make -C compiler boot stage=2
../utils/mkdirhier/mkdirhier stage2
mkdir stage2
for i in utils basicTypes types hsSyn prelude rename typecheck deSugar coreSyn
specialise simplCore stranal stgSyn simplStg codeGen main profiling parser
cprAnalysis ndpFlatten iface cmm nativeGen ghci; do \
../utils/mkdirhier/mkdirhier stage2/$i; \
done
mkdir stage2/utils
mkdir stage2/basicTypes
mkdir stage2/types
mkdir stage2/hsSyn
mkdir stage2/prelude
mkdir stage2/rename
mkdir stage2/typecheck
mkdir stage2/deSugar
mkdir stage2/coreSyn
mkdir stage2/specialise
mkdir stage2/simplCore
mkdir stage2/stranal
mkdir stage2/stgSyn
mkdir stage2/simplStg
mkdir stage2/codeGen
mkdir stage2/main
mkdir stage2/profiling
mkdir stage2/parser
mkdir stage2/cprAnalysis
mkdir stage2/ndpFlatten
mkdir stage2/iface
mkdir stage2/cmm
mkdir stage2/nativeGen
mkdir stage2/ghci
Creating stage2/ghc_boot_platform.h...
Done.
gcc -E -undef -traditional -P \
-DIMPORT_DIR='"/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/libraries/ghc"'
\
-DLIB_DIR='"/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/libraries/ghc"'
\
-DINCLUDE_DIR='"/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/libraries/ghc/include"'
\
-DDATA_DIR='"/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/libraries/ghc"'
\
-DHTML_DIR='"/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/libraries/ghc/html"'
\
-DHADDOCK_IFACE='"/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/libraries/ghc/html/ghc.haddock"'
\
-DFPTOOLS_TOP_ABS='"/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build"'
\
-x c -DPKG_DEPENDS='template-haskell unix Cabal regex-compat base haskell98'
-DSTAGE='"2"' -I../includes -Iinclude -DPACKAGE=ghc -DVERSION=6.7.20070216
-DPKG_LIBDIR='"/usr/local/lib/ghc-6.7.20070216"'
-DPKG_DATADIR='"/usr/local/share/ghc-6.7.20070216"' package.conf.in | \
grep -v '^#pragma GCC' | \
sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.inplace
gcc -E -undef -traditional -P -DINSTALLING \
-DIMPORT_DIR='"/usr/local/lib/ghc-6.7.20070216/imports"' \
-DLIB_DIR='"/usr/local/lib/ghc-6.7.20070216"' \
-DINCLUDE_DIR='"/usr/local/lib/ghc-6.7.20070216/include"' \
-DDATA_DIR='"/usr/local/share/ghc-6.7.20070216"' \
-DHTML_DIR='"/usr/local/share/ghc-6.7.20070216/html/libraries/ghc"' \
-DHADDOCK_IFACE='"/usr/local/share/ghc-6.7.20070216/html/libraries/ghc/ghc.haddock"'
\
-x c -DPKG_DEPENDS='template-haskell unix Cabal regex-compat base haskell98'
-DSTAGE='"2"' -I../includes -Iinclude -DPACKAGE=ghc -DVERSION=6.7.20070216
-DPKG_LIBDIR='"/usr/local/lib/ghc-6.7.20070216"'
-DPKG_DATADIR='"/usr/local/share/ghc-6.7.20070216"' package.conf.in | \
grep -v '^#pragma GCC' | \
sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.installed
../utils/ghc-pkg/ghc-pkg-inplace update - --force-files <package.conf.inplace
make[1]: *** [../driver/stamp-pkg-conf-ghc] Error 138
make: *** [stage2] Error 2
program finished with exit code 2
If I try to repeat that last command by hand, I get this:
Thorkil-Naurs-Computer:~/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler
thorkilnaur$ ../utils/ghc-pkg/ghc-pkg-inplace update - --force-files
<package.conf.inplace
Bus error
Thorkil-Naurs-Computer:~/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler
thorkilnaur$
Any ideas about how I should proceed?
Best regards
Thorkil
---------- Forwarded Message ----------
Return-Path: <cvs-ghc-bounces at haskell.org>
Received: from fep24.mail.dk ([128.36.229.215]) by fep33.mail.dk
(InterMail vM.7.05.02.01 201-2174-114-102-20060817) with ESMTP
id <20070208174848.HCZJ19060.fep33.mail.dk at fep24.mail.dk>
for <naur at post11.tele.dk>; Thu, 8 Feb 2007 18:48:48 +0100
Received: from www.haskell.org ([128.36.229.215]) by fep24.mail.dk
(InterMail vG.2.02.00.00 201-2161-120-101-20051020) with ESMTP
id <20070208174848.ZDLC13508.fep24.mail.dk at www.haskell.org>
for <naur at post11.tele.dk>; Thu, 8 Feb 2007 18:48:48 +0100
Received: from haskell.cs.yale.edu (localhost.localdomain [127.0.0.1])
by www.haskell.org (Postfix) with ESMTP
id 6B23532440E; Thu, 8 Feb 2007 12:43:13 -0500 (EST)
X-Original-To: cvs-ghc at haskell.org
Delivered-To: cvs-ghc at haskell.org
Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236])
by www.haskell.org (Postfix) with ESMTP id C93523241BF
for <cvs-ghc at haskell.org>; Thu, 8 Feb 2007 12:43:10 -0500 (EST)
Received: from linux.site (0x573a343a.odnqu1.broadband.tele.dk [87.58.52.58])
by pfepb.post.tele.dk (Postfix) with ESMTP id 4EF33A5004F;
Thu, 8 Feb 2007 18:48:41 +0100 (CET)
From: Thorkil Naur <naur at post11.tele.dk>
To: cvs-ghc at haskell.org
Date: Thu, 8 Feb 2007 18:48:01 +0100
User-Agent: KMail/1.8.2
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200702081848.03293.naur at post11.tele.dk>
Cc:
Subject: PPC Mac OS X build of HEAD: "...ghc .. -c parser/Parser.hs ..."
fails with "/tmp/ghc6575.s:132776:Fixup of 34728 too large
for field width of 16 bits ..."
X-BeenThere: cvs-ghc at haskell.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: GHC/CVS discussion and fptools/ghc CVS commit messages
<cvs-ghc.haskell.org>
List-Unsubscribe: <http://www.haskell.org/mailman/listinfo/cvs-ghc>,
<mailto:cvs-ghc-request at haskell.org?subject=unsubscribe>
List-Archive: <http://www.haskell.org/pipermail/cvs-ghc>
List-Post: <mailto:cvs-ghc at haskell.org>
List-Help: <mailto:cvs-ghc-request at haskell.org?subject=help>
List-Subscribe: <http://www.haskell.org/mailman/listinfo/cvs-ghc>,
<mailto:cvs-ghc-request at haskell.org?subject=subscribe>
Sender: cvs-ghc-bounces at haskell.org
Errors-To: cvs-ghc-bounces at haskell.org
Status: RO
X-Status: RC
X-KMail-EncryptionState: N
X-KMail-SignatureState: N
X-KMail-MDN-Sent:
Hello,
The latest build (2) of the ghc-HEAD on PPC Mac OS X (buildbot
tnaur-ppc-osx-head) has failed with the message
/usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes
-istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename
-istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise
-istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg
-istage1/codeGen -istage1/main -istage1/profiling -istage1/parser
-istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm
-istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing
-I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -O -fasm
-H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal
-fno-warn-incomplete-patterns -Onot -fno-ignore-interface-pragmas -c
parser/Parser.hs -o stage1/parser/Parser.o -ohi stage1/parser/Parser.hi
/tmp/ghc6575.s:132776:Fixup of 34728 too large for field width of 16 bits
/tmp/ghc6575.s:132773:Fixup of 34740 too large for field width of 16 bits
<<ghc: 1315574892 bytes, 4077 GCs, 17032358/35368428 avg/max bytes residency
(10 samples), 90M in use, 0.25 INIT (0.01 elapsed), 29.93 MUT (36.69
elapsed), 25.36 GC (26.95 elapsed) :ghc>>
make[2]: *** [stage1/parser/Parser.o] Error 1
make[1]: *** [stage1] Error 1
program finished with exit code 2
Build 1 failed with the same or a similar message, as I recall. Build 0
succeeded. A ghc-HEAD that I brought up to date 2007-Feb-03 was also built
successfully.
The main difference seems to be that the failing builds uses "-fasm" whereas
the succeeding ones (implied by "-O"?) go "-fvia-C". And there is,
apparently, some weakness in the PPC assembler language code generator.
Additional information:
Thorkil-Naurs-Computer:~/tn/buildbot/ghc/builds/tnaur-ppc-osx-head/2
thorkilnaur$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.4.1
Thorkil-Naurs-Computer:~/tn/buildbot/ghc/builds/tnaur-ppc-osx-head/2
thorkilnaur$ happy --version
Happy Version 1.15 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c)
1997-2005 Simon Marlow
...
Thorkil-Naurs-Computer:~/tn/buildbot/ghc/builds/tnaur-ppc-osx-head/2
thorkilnaur$
I would be most grateful for a quick comment from an expert before deciding
how to proceed with this.
Thanks and best regards
Thorkil
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc at haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc
-------------------------------------------------------
More information about the Cvs-ghc
mailing list