Hi Ian,

On Thursday 22 January 2009 16:02, Ian Lynagh wrote:
> ...
> > For what it is worth, this validate takes about 35 minutes to complete, 
> > compared to the about 24 minutes of a validate that was done 2008-Aug-08.
> 
> Interesting. I've just done a validate here on amd64/Linux, hacking the
> script so that threads=1, and I got:
> 
> New build system: 31:17.90
> Old build system: 32:55.22
> 
> (the new build system builds less stuff, e.g. it doesn't build haddock
> or haddock the libraries, so we'd expect it to be faster).
> 
> I'll try builds with multiple threads, and also timing OS X and Windows
> builds.

With completely un-hacked scripts, validate of the present HEAD on the Intel 
Mac OS X stops at:

> if 
ifBuildable/ifBuildable 
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/packages
 
base; then \
>           cd base 
&& 
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/cabal-bin
 /Users/thorkilnaur/tn/install/ghc-6.8.3/bin/ghc 
/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/libraries/bootstrapping.conf
 
1.7.0 haddock --html-location='../$pkg' \
>                                     --hyperlink-source 
--with-haddock=/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/utils/haddock/install-inplace/bin/haddock;
 
\
>         fi
> Preprocessing library base-4.0.0.0...
> Running hscolour for base-4.0.0.0...
> Preprocessing library base-4.0.0.0...
> Running Haddock for base-4.0.0.0...
> Warning: The documentation for the following packages are not installed. No
> links will be generated to these packages: ffi-1.0, rts-1.0
>
> Unsafe/Coerce.hs:31:0:
>     attempting to use module `GHC.Prim' (./GHC/Prim.hs) which is not loaded
> haddock: Failed to check module: Unsafe.Coerce
> make[2]: *** [doc.library.base] Error 1
> make[1]: *** [stage2] Error 2
> make: *** [bootstrap2] Error 2

so I am not able to repeat my August 2008 measurement at the moment. I am not 
sure how it may affect matters, but I should mention that my Intel Mac is 
definitely a dual-core machine.

> 
> > Then there is:
> > 
> > > t...@linux:~> uname -a
> > > Linux linux 2.6.13-15-default #1 Tue Sep 13 14:56:15 UTC 2005 i686 i686 
i386 
> > GNU/Linux
> > > t...@linux:~> ghc --version
> > > The Glorious Glasgow Haskell Compilation System, version 6.8.2
> > 
> > (the tnaur x86 Linux buildbot slave) which ends like this:
> > 
> > > config.status: creating extra-gcc-opts
> > > config.status: creating docs/users_guide/ug-book.xml
> > > config.status: creating mk/config.h
> > > config.status: executing mk/stamp-h commands
> > > ===--- making gmp
> > > make -r --no-print-directory -C gmp
> > > make[1]: Nothing to be done for `default'.
> > > ===--- updating makefiles phase 0
> > > make -r --no-print-directory -f ghc.mk phase=0 just-makefiles
> > > ghc.mk:396: *** missing `endif'.  Stop.
> > > make: *** [all] Error 2
> 
> Hmm, what does "make --version" say?

This:

> t...@linux:~> make --version
> GNU Make 3.80
> Copyright (C) 2002  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> t...@linux:~>

Having installed

> t...@linux:~> make --version
> GNU Make 3.81
> Copyright (C) 2006  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> This program built for i686-pc-linux-gnu
> t...@linux:~>

the validate ended

> configure: error: editline not found, so this package cannot be built
> See `config.log' for more details.
> make: *** [libraries/editline/dist-install/package-data.mk] Error 1

like the FreeBSD build, thus fixing the make problem. (I presume that the same 
patch which you mention below to fix the FreeBSD build will fix this new 
problem as well.)

> 
> Can you check it's the root ghc.mk it's complaining about please, by
> adding a blank line to the start of the file and checking that the line
> number changes?
> 
> (just rerunning
>     make -r --no-print-directory -f ghc.mk phase=0 just-makefiles
> should be enough to get the error again)

The problem was definitely reported for the root ghc.mk. The make-3.81 release 
notes mentioned correcting a couple of errors in make-3.80 related to symbol 
expansion and continuation lines. I guess requiring make-3.81 is one way to 
get around this problem. In any case, it appears that the buildbot slave on 
this machine has run into a similar problem 
(http://darcs.haskell.org/buildbot/all/builders/tnaur%20x86%20Linux%20head/builds/309/steps/boottestsuite/logs/stdio),
 
so I'll make the make-3.81 install the preferred one on this machine.

> 
> > > configure: error: editline not found, so this package cannot be built
> > > See `config.log' for more details.
> > > make[1]: *** [libraries/editline/dist-install/package-data.mk] Error 1
> > > make: *** [all] Error 2
> 
> I've pushed a patch to fix this one (by not building editline; we'll be
> using haskelline for 6.12 anyway).
> ...

Best regards
Thorkil

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

Reply via email to