[commit: ghc] master: PPC: Implement stack resizing for the linear register allocator. (51d3645)

2012-12-15 Thread Erik de Castro
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/51d364530895e2f18fa8b98a12bf5a44f1b004d1 >--- commit 51d364530895e2f18fa8b98a12bf5a44f1b004d1 Author: Erik de Cas

[commit: ghc] master: De-tab compiler/nativeGen/PPC/Instr.hs. (6a990ac)

2012-12-15 Thread Erik de Castro
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/6a990ace497ebfe79b19d565f428428bf1c11427 >--- commit 6a990ace497ebfe79b19d565f428428bf1c11427 Author: Erik de Cas

[commit: ghc] master: Call gcc with '-x assembler-with-cpp' instead of '-x assembler'. (eec4c10)

2012-12-15 Thread Erik de Castro
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/eec4c10819ac140270c00688b39da136313e >--- commit eec4c10819ac140270c00688b39da136313e Author: Erik de Cas

Fix for : Build failure on Windows (and others).

2012-12-15 Thread Erik de Castro Lopo
ssembler' with '-x assembler-with-cpp' and fixes the problem for me on powerpc. Erik -- ------ Erik de Castro Lopo http://www.mega-nerd.com/ >From 7acb58b06984c10021026833d72a530a2a2f6459 Mon Sep 17 00:00:00 2001

Re: Build failure on Windows.

2012-12-15 Thread Erik de Castro Lopo
s the build. I do notice from the build failures on the cvs-ghc mailing list that this problem has not been reported on amd64 but does happen on x86 and powerpc. Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ ___

Re: Build failure on Windows.

2012-12-15 Thread Erik de Castro Lopo
Niklas Larsson wrote: > Hi! > > It seems like the build on Windows HEAD is trying to build the PowerPC > assembly in rts/AdjustorAsm.S. Are you building for x86 or x86-64? Erik -- ---------- Erik de Castro Lopo htt

Re: Build failure on Windows.

2012-12-15 Thread Erik de Castro Lopo
; I have one patch though. When I was messing around, I taught sync-all how > to checkout all the repos based on a date. It is somewhat tested, use with > caution. That may be valuable. Cheers, Erik -- ------ E

Re: pgj (x86 FreeBSD HEAD), build 887, Failure

2012-12-13 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > a) This seems to be some sort of build system race condition. I >was using "make -j 4", would hit that problem, would run "make" >again and then I would be able to get past that point. I can confirm that this problem only happe

Re: pgj (x86 FreeBSD HEAD), build 887, Failure

2012-12-13 Thread Erik de Castro Lopo
emed as if all the preprocessor lines were being treated as comments (ie completely ignored). Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: [commit: ghc] master: Fix pprPanic so that it doesn't throw away the SDoc part of the error. (e6ce335)

2012-12-04 Thread Erik de Castro Lopo
e message on the floor: PprPanic s _ -> showGhcException (Panic (s ++ "\n<>")) I tried to convert the SDoc to a String in this code, but that resulted in a circular import. The obvious solution was the one in my patch. Erik -- --------

[commit: ghc] master: Fix pprPanic so that it doesn't throw away the SDoc part of the error. (e6ce335)

2012-12-04 Thread Erik de Castro
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/e6ce335e8e3ba0718efd234910185e4257424562 >--- commit e6ce335e8e3ba0718efd234910185e4257424562 Author: Erik de Cas

Re: You have an old time package in your GHC tree!

2012-12-02 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > Hi all, > > Just updated my tree against git HEAD and got the message: > > > ATTENTION! > > You have an old time package in your GHC tree! > > Please remove it (e.g. "rm -r libraries

Re: You have an old time package in your GHC tree!

2012-12-02 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > Hi all, > > Just updated my tree against git HEAD and got the message: > > > ATTENTION! > > You have an old time package in your GHC tree! > > Please remove it (e.g. "rm -r libraries

You have an old time package in your GHC tree!

2012-12-02 Thread Erik de Castro Lopo
t the new repository. I did as suggested but I don't get the new time library and I still get this message. Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ __

[commit: ghc] master: Replace all uses of ghcError with throwGhcException and purge ghcError. (77ef6ca)

2012-11-29 Thread Erik de Castro
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/77ef6ca06d401eda2aeb51d22d5ce033db667161 >--- commit 77ef6ca06d401eda2aeb51d22d5ce033db667161 Author: Erik de Cas

Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-05 Thread Erik de Castro Lopo
------- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-02 Thread Erik de Castro Lopo
Ian Lynagh wrote: > If we're going to go this route, then I think we should do it by > comparing SIZEOF_VOID_P to SIZEOF_INT etc, rather than assuming that > either 'ld' or 'd' is right based on _LP64. +1 Erik -- ----

[commit: ghc] master: rts: Ignore signal before deleting timer. Fixes #7303. (5f3c105)

2012-10-13 Thread Erik de Castro
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/5f3c1055c2a5a59117985420909dd9148d7b2ba6 >--- commit 5f3c1055c2a5a59117985420909dd9148d7b2ba6 Author: Erik de Cas

Re: Huge number of "undefined reference to" errors

2012-09-07 Thread Erik de Castro Lopo
Simon Marlow wrote: > Please let me know if the patch I just pushed to the PPC NCG fixes the > problem. Yes, that fixed that problem and I just pushed this to fix another minor problem: commit 06b4e787cce00b8c0d1b31db44821548c5c9c62c Author: Erik de Castro Lopo Date: Fri Sep 7

[commit: ghc] master: Handle II16 size value in PowerPC code generator. (06b4e78)

2012-09-07 Thread Erik de Castro
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/06b4e787cce00b8c0d1b31db44821548c5c9c62c >--- commit 06b4e787cce00b8c0d1b31db44821548c5c9c62c Author: Erik de Cas

Re: Huge number of "undefined reference to" errors

2012-09-07 Thread Erik de Castro Lopo
Simon Marlow wrote: > There was a problem with -split-objs during the last few days that could > cause this, I pushed the fix for it yesterday. Unfortunately I'm still seeing this problem. I've just done a fresh "./sync-all pull" followed by a "make clean" and "make". The start of the failure l

Huge number of "undefined reference to" errors

2012-09-06 Thread Erik de Castro Lopo
Hi all, I'm compiling GHC HEAD on powerpc-linux and have been for some time. Just yesterday I started getting a build error I had not seen before. I am getting hundreds of errors like: /home/erikd/Git/ghc-upstream-git/libraries/ghc-prim/dist-install/build/ libHSghc-prim-0.3.0.0.a(Clas

Re: FW: ANNOUNCE: GHC 7.6.1 Release Candidate 1

2012-08-31 Thread Erik de Castro Lopo
Simon Peyton-Jones wrote: > Paolo can you merge this? The following patch should probably also be merged to 7.6: commit b4b78631890a4cd9cde1551de9a4440e7e750372 Author: Erik de Castro Lopo Date: Thu Aug 23 20:39:47 2012 +1000 Fix for optimizer bug on linux-powe

validate script bug

2012-08-07 Thread Erik de Castro Lopo
dir/lib/ghc-7.7.20120803/include"' -DPAPI_INCLUDE_DIR="" -DPAPI_LIB_DIR="" -x c -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header rts/package.conf.in -o rts/package.conf.install.raw gcc: error: dir/lib/ghc

Re: [PATCH] fix x86/NCG compilation failure on ARM platform

2012-07-08 Thread Erik de Castro Lopo
age.haskell.org/trac/ghc/ticket/7054 Cheers, Erik -- ------ Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Compile speed benchmarking

2011-10-18 Thread Erik de Castro Lopo
em? Cheers, Erik -- ------ Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Compile speed benchmarking

2011-10-16 Thread Erik de Castro Lopo
s than email. As requested, patch is here: https://github.com/erikd/ghc/commit/167bf2f2c5fc7bec11bfb264f29320e11637de79 Cheers, Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ __

Re: Compile speed benchmarking

2011-10-14 Thread Erik de Castro Lopo
ppening. It would also be useful to check out the nofib tests that are the slowest to try and figure out why. Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailin

Re: Compile speed benchmarking

2011-10-04 Thread Erik de Castro Lopo
nges - via LLVM after my changes Cheers, Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Compile speed benchmarking

2011-10-04 Thread Erik de Castro Lopo
Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: build error

2011-09-05 Thread Erik de Castro Lopo
mmited a fix. Erik -- ------ Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Ghci segfault on powerpc-linux

2011-09-02 Thread Erik de Castro Lopo
suggestions on how to progress this further? Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo

[PATCH] Handle II8 Size value in PowerPC code generator.

2011-05-26 Thread Erik de Castro Lopo
apply this patch to the master branch. Cheers, Erik -- ------ Erik de Castro Lopo http://www.mega-nerd.com/ >From fb91daa1239d4388fc2657907ac522afc46e88a7 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Thu, 26 May 2011 1

Re: [PATCH] Fix RTS compiler error when DEBUG is defined.

2011-05-22 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > Hi all, > > Before this patch the compiler errored out when printing a value > of type StgWord32 with a "%d" format specifier. This patch is no longer needed after this commit: commit 96d64fe2175d829f9499656750d51cf577ff9892 Author: D

Re: Any way to compile an old version from git?

2011-05-22 Thread Erik de Castro Lopo
nd so far the results have been less than stellar, but not completely useless. Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://

[PATCH] Fix RTS compiler error when DEBUG is defined.

2011-05-20 Thread Erik de Castro Lopo
Hi all, Before this patch the compiler errored out when printing a value of type StgWord32 with a "%d" format specifier. Erik -- ------ Erik de Castro Lopo http://www.mega-nerd.com/ >From e8b26fdfb6cea7d2a32f96fa07b

Re: Any way to compile an old version from git?

2011-05-19 Thread Erik de Castro Lopo
of build log hashes, so you > can have some record of known good builds). Having successful builds record the git hash of all repos would be a great thing to have in future. Erik -- ---------- Erik de Castro

Re: Any way to compile an old version from git?

2011-05-18 Thread Erik de Castro Lopo
trieve a working revision. Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Any way to compile an old version from git?

2011-05-18 Thread Erik de Castro Lopo
some arbitrary date? Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Patch : Fix missing import

2011-05-13 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > Yeah, the code that uses Config.cProjectVersion is this: > > > #if !defined(darwin_TARGET_OS) > -- And just because every other compiler does, lets stick in > -- an identifier directive: .ident "GHC x.y.z&quo

Re: Patch : Fix missing import

2011-05-13 Thread Erik de Castro Lopo
Pretty.<+> Pretty.text cProjectVersion in Pretty.text ".ident" Pretty.<+> Pretty.doubleQuotes compilerIdent #endif I wonder why that is unwanted on OSX. Erik -- ---

Patch : Fix missing import

2011-05-13 Thread Erik de Castro Lopo
Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ >From 7320d86cd4addc070dc83631a3312157aff3ae64 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Fri, 13 May 2011 20:52:44 +1000 Subject: [PATCH] Add missing import. --- compiler/nativeGen/AsmCodeGen.lhs |1 + 1 files ch

Re: Native codegen API changes

2011-04-16 Thread Erik de Castro Lopo
king on it and makng slow progress. Cheers, Erik -- ---------- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc