Simon Marlow wrote:
With Cygwin - this has been broken for a couple of days now, I'm waiting
to get a working validate so I can push two validate fixes :-(
make[1]: Entering directory
`/cygdrive/c/builds/ghc-HEAD/testsuite/tests/ghc-regress'
Looks like you don't have timeout, building it first...
make -C ../../timeout all
make[2]: Entering directory `/cygdrive/c/builds/ghc-HEAD/testsuite/timeout'
rm -f -f TimeMe.o TimeMe.hi TimeMe TimeMe.exe
python calibrate "" > calibrate.out
rm -rf install-inplace
/cygdrive/c/builds/ghc-HEAD/ghc/stage2-inplace/ghc --make Setup
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup.exe ...
./Setup configure
--with-compiler=/cygdrive/c/builds/ghc-HEAD/ghc/stage2-inplace/ghc
--with-hc-pkg=/cygdrive/c/builds/ghc-HEAD/utils/ghc-pkg/install-inplace/bin/ghc-pkg
\
--ghc-option=-threaded
--prefix=/cygdrive/c/builds/ghc-HEAD/testsuite/timeout/install-inplace
Configuring timeout-1...
Setup.exe: Cannot find the program 'ghc' at
'/cygdrive/c/builds/ghc-HEAD/ghc/stage2-inplace/ghc' or on the path
It seems that $(abspath ...) doesn't do the right thing on Cygwin:
$ make show VALUE='$(abspath .)'
/cygdrive/c/builds/ghc-HEAD=""
If I hack my way around the above problem, I now get:
Looks like you don't have timeout, building it first...
make -C ../../timeout all
make[1]: Entering directory `/cygdrive/c/builds/ghc-HEAD/testsuite/timeout'
rm -rf install-inplace
c:/builds/ghc-HEAD/testsuite/timeout/../../ghc/stage2-inplace/ghc --make Setup
./Setup configure
--with-compiler=c:/builds/ghc-HEAD/testsuite/timeout/../../ghc/stage2-inplace/ghc
--with-hc-pkg=c:/builds/ghc-HEAD/testsuite/timeout/../../utils/ghc-pkg/install-inplace/bin/ghc-pkg
\
--ghc-option=-threaded
--prefix=c:/builds/ghc-HEAD/testsuite/timeout/install-inplace
Configuring timeout-1...
./Setup build
Preprocessing executables for timeout-1...
c:\builds\ghc-HEAD\ghc\gcc-lib\ld.exe:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../crt0.o: No such file: No such
file or directory
collect2: ld returned 1 exit status
linking dist\build\timeout\timeout-tmp\WinCBindings_hsc_make.o failed
command was: C:\cygwin\bin\gcc.exe -Bc:\builds\ghc-HEAD\ghc\gcc-lib
-Ic:\builds\ghc-HEAD\ghc\include\mingw
-Lc:\builds\ghc-HEAD\libraries\process\dist\build
-Lc:\builds\ghc-HEAD\libraries\directory\dist\build
-Lc:\builds\ghc-HEAD\libraries\old-time\dist\build
-Lc:\builds\ghc-HEAD\libraries\old-locale\dist\build
-Lc:\builds\ghc-HEAD\libraries\filepath\dist\build
-Lc:\builds\ghc-HEAD\libraries\Win32\dist\build -luser32 -lgdi32 -lwinmm
-lkernel32 -ladvapi32 -Lc:\builds\ghc-HEAD\libraries\bytestring\dist\build
-Lc:\builds\ghc-HEAD\libraries\base\dist\build -lwsock32 -lmsvcrt
-lkernel32 -luser32 -lshell32
-Lc:\builds\ghc-HEAD\libraries\integer-gmp\dist\build
-Lc:\builds\ghc-HEAD\libraries\ghc-prim\dist\build -Lc:/builds/ghc-HEAD/rts
-Lc:/builds/ghc-HEAD/gmp -lm -lgmp -lwsock32 -lmingwex
-Lc:/builds/ghc-HEAD/libffi
dist\build\timeout\timeout-tmp\WinCBindings_hsc_make.o -o
dist\build\timeout\timeout-tmp\WinCBindings_hsc_make.exe
make[1]: *** [install-inplace/bin/timeout] Error 1
make[1]: Leaving directory `/cygdrive/c/builds/ghc-HEAD/testsuite/timeout'
make: *** [../../timeout/install-inplace/bin/timeout.exe] Error 2
and I have no idea what the problem is here. Why are we using
c:\cygwin\bin\gcc.exe? That seems highly dubious.
Also, make now does a bunch of shell commands every time it is run in the
testsuite, this is quite slow on Windows and I imagine will be quite
painful when running tests by hand. I think we'll want a way to generate
the information once and save it.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc