[commit: ghc] master: spelling in doc (a38b832)

2012-12-19 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/a38b8327e969f8e0e6b07c36be5c47709871f158 --- commit a38b8327e969f8e0e6b07c36be5c47709871f158 Author: Gabor Greif ggr

[commit: ghc] master: typo (e3aa165)

2012-12-19 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/e3aa16595f6240bff60fdde6579c89e469f25b4f --- commit e3aa16595f6240bff60fdde6579c89e469f25b4f Author: Gabor Greif ggr

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

2012-12-13 Thread Gabor Greif
The latter looks like being emitted by the PowerPC backend. Cheers, Gabor On 12/13/12, Ian Lynagh i...@well-typed.com wrote: On Wed, Dec 12, 2012 at 07:27:43PM -0800, Builder wrote: rts/AdjustorAsm.S:127:0: Error: no such instruction: `load r3,HPTR_OFF(r2)'

[commit: ghc] master: typo (5d0d1d9)

2012-12-12 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/5d0d1d9cbe2fd0c0a5e4f4a979c8e46ff51ea6fa --- commit 5d0d1d9cbe2fd0c0a5e4f4a979c8e46ff51ea6fa Author: Gabor Greif ggr

RFC: Singleton equality witnesses

2012-11-30 Thread Gabor Greif
Hi all! After encouragement from Iavor on G+, here is a patch that implements a class method for singleton type equality witnesses in a generic way. Please comment on two things: - is this a good approach? - how can we avoid abuse of SingEq (as it is type polymorphic, can this harm?) -

[commit: ghc] master: typo (d53e222)

2012-11-30 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d53e222b16c5dc6971e6173f8d9e5dbced68265d --- commit d53e222b16c5dc6971e6173f8d9e5dbced68265d Author: Gabor Greif ggr

Re: Proposal: New procedures for handling packages in a GHC tree

2012-11-28 Thread Gabor Greif
Will this work with the github mirror (https://github.com/ghc), as the module names seem to be different from those on darcs.haskell.org? Just a quick check before I destroy my local repo with a ./sync-all pull :-) Cheers, Gabor On 11/25/12, Ian Lynagh i...@well-typed.com wrote: On Fri,

[commit: ghc] master: typos in note (3a82618)

2012-11-26 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/3a8261827fd9e66251a4a8bf91a22ae075bfdcb9 --- commit 3a8261827fd9e66251a4a8bf91a22ae075bfdcb9 Author: Gabor Greif ggr

[commit: ghc] master: add embedded vendor (d94250e)

2012-11-23 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d94250e68bc85e80e3eb0eb04bcbfac68b4423d2 --- commit d94250e68bc85e80e3eb0eb04bcbfac68b4423d2 Author: Gabor Greif ggr

[commit: ghc] master: typo (359efbf)

2012-11-23 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/359efbf0fc714528f95207fbe9fc03383b380228 --- commit 359efbf0fc714528f95207fbe9fc03383b380228 Author: Gabor Greif ggr

[commit: ghc] master: fix some typos (704f802)

2012-11-21 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/704f8024c75ab147c6f9558b1c76525f132e4f14 --- commit 704f8024c75ab147c6f9558b1c76525f132e4f14 Author: Gabor Greif ggr

[commit: ghc] master: typos in comments (6e4f6c6)

2012-11-16 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/6e4f6c624fcd72dca11d7856f1a1914a01c22718 --- commit 6e4f6c624fcd72dca11d7856f1a1914a01c22718 Author: Gabor Greif ggr

[commit: ghc] master: fix typo, courtesy of Jon Cave, thanks! (3862220)

2012-11-08 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/386222001e6dda180cbb05e9e6aebbab04d12aae --- commit 386222001e6dda180cbb05e9e6aebbab04d12aae Author: Gabor Greif ggr

[commit: ghc] master: typos (3ca7260)

2012-11-07 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/3ca7260ae35adf70d31003008af67576d6b6c78c --- commit 3ca7260ae35adf70d31003008af67576d6b6c78c Author: Gabor Greif ggr

[commit: ghc] master: another typo (50728d0)

2012-11-07 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/50728d09bed322cdbfdda00f38d0503f9aed728b --- commit 50728d09bed322cdbfdda00f38d0503f9aed728b Author: Gabor Greif ggr

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

2012-11-05 Thread Gabor Greif
On 11/5/12, Simon Marlow marlo...@gmail.com wrote: On 03/11/2012 00:16, Ian Lynagh wrote: Hi Karel, On Fri, Nov 02, 2012 at 07:39:45PM +0100, Karel Gardas wrote: I'm curious if this patch is kind of controversial so you are reluctant to merge it. If you find any issue with it please let me

[commit: ghc] master: typo (680dca1)

2012-11-05 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/680dca1145a08a82a83950bdbca891742fbaf526 --- commit 680dca1145a08a82a83950bdbca891742fbaf526 Author: Gabor Greif ggr

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

2012-11-05 Thread Gabor Greif
this clears it up. Cheers, Gabor On 11/5/12, Erik de Castro Lopo mle...@mega-nerd.com wrote: Gabor Greif wrote: +1. A configure script will run (almost) till the heat death of the universe. I have a solution on the cross-compiler-alienless branch which does exactly what you propose

Re: mkExprStmt not in scope in Parser.hs issue.

2012-10-29 Thread Gabor Greif
IIRC, I had to manually remove a 'Parser.y' file to get things rolling. Cheers, Gabor On 10/29/12, Karel Gardas karel.gar...@centrum.cz wrote: Hello, I'm trying to get GHC HEAD compilation working on my freshly installed Solaris 11/x86 box and I'm trying to solve following error now:

[commit: ghc] master: extend LD_LIBRARY_PATH instead of replacing it (fb41ac5)

2012-10-24 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/fb41ac5285895c3b5304b1c267197faaea89e8a6 --- commit fb41ac5285895c3b5304b1c267197faaea89e8a6 Author: Gabor Greif ggr

[commit: ghc] master: typo (0b3811c)

2012-10-24 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/0b3811c093736950c1d2757fb12dba60f9bf97ca --- commit 0b3811c093736950c1d2757fb12dba60f9bf97ca Author: Gabor Greif ggr

[commit: ghc] master: October 2012 stats (82ab12a)

2012-10-23 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/82ab12afefd6f115d2efb37924227ef2f43adb19 --- commit 82ab12afefd6f115d2efb37924227ef2f43adb19 Author: Gabor Greif ggr

[commit: ghc] master: comments only (2c2be63)

2012-10-23 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/2c2be637206cb1d58f4fc8a4a2e717e419c9fa5d --- commit 2c2be637206cb1d58f4fc8a4a2e717e419c9fa5d Author: Gabor Greif ggr

Make warnings in dph

2012-10-23 Thread Gabor Greif
These 'make' diagnostics appeared today with a fresh pull: make[1]: Circular libraries/dph/dph-lifted-copy/dist-install/build/Data/Array/Parallel/Lifted/PArray.dyn_o - libraries/dph/dph-lifted-copy/dist-install/build/Data/Array/Parallel/Lifted/PArray.o dependency dropped. make[1]: Circular

Re: Determining live registers on Cmm procedure entry?

2012-10-16 Thread Gabor Greif
David, this reminds me, I have added a feature bugzilla to LLVM: http://llvm.org/bugs/show_bug.cgi?id=14080 May be interesting to discuss it here first. Cheers, Gabor On 10/16/12, David Terei davidte...@gmail.com wrote: What is the problem you face? That you want to allow passing a

Re: Determining live registers on Cmm procedure entry?

2012-10-16 Thread Gabor Greif
On 10/17/12, David Terei davidte...@gmail.com wrote: On 16 October 2012 14:48, Gabor Greif ggr...@gmail.com wrote: David, this reminds me, I have added a feature bugzilla to LLVM: http://llvm.org/bugs/show_bug.cgi?id=14080 May be interesting to discuss it here first. I think opening

[commit: ghc] master: fix obvious typos (b7fbf3a)

2012-10-12 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/b7fbf3a11ed939f6758fb6c5ef55d577351523e2 --- commit b7fbf3a11ed939f6758fb6c5ef55d577351523e2 Author: Gabor Greif ggr

[commit: ghc] master: Fix typo in the documentation of CApiFFI (fc8f9c1)

2012-10-02 Thread Gabor Greif
...@gmail.com Date: Tue Oct 2 17:10:13 2012 +0900 Fix typo in the documentation of CApiFFI Signed-off-by: Gabor Greif ggr...@gmail.com --- docs/users_guide/ffi-chap.xml |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH] Fix typo in the documentation of CApiFFI

2012-10-02 Thread Gabor Greif
done in commit fc8f9c1be4f05ddf58c128ecca7213351765168b. Thanks! Gabor On 10/2/12, shelarcy shela...@gmail.com wrote: Hello, GHC HEAD and 7.6.1 User's Guide 8.1.5. The CAPI calling convention section describes wrong extention name. So, I made patch to fix that. Best Regards, --

[Q] Potential confusion in docs

2012-10-02 Thread Gabor Greif
Which is correct: to0 or to ? $ git grep map to genum docs/users_guide/glasgow_exts.xml:enum = map to genum $ git grep map to0 genum docs/users_guide/glasgow_exts.xml:the default implementation literalmap to0 genum/literal is filled-in, It appears that to0 is the correct one grepping the GHC

Re: [commit: ghc] master: whitespace and panic message fixup (254f1a6)

2012-09-24 Thread Gabor Greif
Hi Simon, -getCondCode other = pprPanic getCondCode(2)(x86,sparc) (ppr other) +getCondCode other = pprPanic getCondCode(2)(x86,x96_64) (ppr other) 'x96_64' sounds wrong... Cheers, Gabor ___ Cvs-ghc mailing list Cvs-ghc@haskell.org

[commit: ghc] master: typo (0678289)

2012-09-17 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/067828956acdcb046c0640568638fbc496eda9f3 --- commit 067828956acdcb046c0640568638fbc496eda9f3 Author: Gabor Greif ggr

[commit: ghc] cross-compiler-alienless: Checkpointing some makefile simplifications that I attempted. (a18f009)

2012-09-13 Thread Gabor Greif
Author: Gabor Greif ggr...@gmail.com Date: Thu Sep 13 14:02:41 2012 +0200 Checkpointing some makefile simplifications that I attempted. This is not in a working state yet, as we are trying to build something that goes into the build/ dir but it is not yet created. Not sure how

Re: [commit: ghc] cross-compiler-alienless: Checkpointing some makefile simplifications that I attempted. (a18f009)

2012-09-13 Thread Gabor Greif
On 9/13/12, Ian Lynagh i...@well-typed.com wrote: On Thu, Sep 13, 2012 at 05:12:56AM -0700, Gabor Greif wrote: Btw., Ian is working in this area on the master branch so there will be a bunch of conflicts anyway :-( Sorry, I hadn't realised you were working on this in a branch

Re: [Haskell] ANNOUNCE: GHC version 7.6.1

2012-09-09 Thread Gabor Greif
And there was this c-vs-c comment from (IIRC) axman on the #ghc IRC channel: class Category (c :: k - k - *) where type Ob c :: k - Constraint id :: Ob c a = c a a (.) :: (Ob c a, Ob c b, Ob c c) = c b c - c a b - c a c This is pretty confusing for anybody whose brain does not yet

[commit: ghc] cross-compiler-alienless: employ make variable BuildingCrossCompiler in all relevant places (78bea85)

2012-08-31 Thread Gabor Greif
Author: Gabor Greif ggr...@gmail.com Date: Fri Aug 31 11:14:20 2012 +0200 employ make variable BuildingCrossCompiler in all relevant places --- ghc/ghc.mk |6 +++--- libffi/ghc.mk |4

Warnings in RTS

2012-08-31 Thread Gabor Greif
I am seeing these warnings: rts/Interpreter.c: In function `interpretBCO': rts/Interpreter.c:1410:0: warning: value computed is not used rts/Interpreter.c:1411:0: warning: value computed is not used rts/sm/Sanity.c: In function `memInventory': rts/sm/Sanity.c:857:0: warning: value computed is

[commit: ghc] cross-compiler-alienless: cross compiler is placed in stage1, no need for this wrapper name (df53a4d)

2012-08-31 Thread Gabor Greif
Author: Gabor Greif ggr...@gmail.com Date: Fri Aug 31 14:32:43 2012 +0200 cross compiler is placed in stage1, no need for this wrapper name --- ghc/ghc.mk |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/ghc

[commit: ghc] cross-compiler-alienless: make sure that the C compiler is noted in the cross-ghc's wrapper (420aff3)

2012-08-31 Thread Gabor Greif
Author: Gabor Greif ggr...@gmail.com Date: Fri Aug 31 14:34:44 2012 +0200 make sure that the C compiler is noted in the cross-ghc's wrapper --- rules/shell-wrapper.mk |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff

[commit: ghc] master: make sure to remove the right link before calling 'ln -s' (could we use 'ln -sf'?) (b660cc0)

2012-08-30 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/b660cc0b3f6ea09ecc7f8fdef9ac79704c3ccaf0 --- commit b660cc0b3f6ea09ecc7f8fdef9ac79704c3ccaf0 Author: Gabor Greif ggr

[commit: ghc] cross-compiler-alienless: Merge branch 'master' of https://github.com/ghc/ghc into cross-compiler-alienless (b8f6e55)

2012-08-30 Thread Gabor Greif
: 90f7395... 4eb02c1... Author: Gabor Greif ggr...@gmail.com Date: Mon Aug 27 14:46:40 2012 +0200 Merge branch 'master' of https://github.com/ghc/ghc into cross-compiler-alienless aclocal.m4 | 16 +- compiler/basicTypes/BasicTypes.lhs

[commit: ghc] cross-compiler-alienless: Merge branch 'master' of https://github.com/ghc/ghc into cross-compiler-alienless (c7ec369)

2012-08-30 Thread Gabor Greif
: 6741921... b660cc0... Author: Gabor Greif ggr...@gmail.com Date: Thu Aug 30 15:06:24 2012 +0200 Merge branch 'master' of https://github.com/ghc/ghc into cross-compiler-alienless ghc/ghc.mk |4 ++-- utils/ghc-pkg/ghc.mk |4 ++-- 2 files changed, 4 insertions(+), 4

[commit: ghc] cross-compiler-alienless's head updated: Merge branch 'master' of https://github.com/ghc/ghc into cross-compiler-alienless (c7ec369)

2012-08-30 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc Branch 'cross-compiler-alienless' now includes: 1d094f9... Remove nativeGen/PprInstruction.hs cc3d982... Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc 6c2c07c... bugfix: cope when a source reg is dead at a join point

[commit: ghc] master: v7.4.1 is required for building, so we can drop the v7.2.1 workaround (bcef1e28)

2012-08-29 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/bcef1e2847ce009f0b139abce1fb664733768c50 --- commit bcef1e2847ce009f0b139abce1fb664733768c50 Author: Gabor Greif ggr

[commit: ghc] master: typo (c7a7c49)

2012-07-29 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c7a7c49a81fa92bc46d04a9200be2afc5e4d1338 --- commit c7a7c49a81fa92bc46d04a9200be2afc5e4d1338 Author: Gabor Greif ggr

[commit: ghc] master: GHCConstants.h should not contain preprocessor definitions (ab14d99)

2012-07-29 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/ab14d99b524cef7fe412e30f7607fc76da72563a --- commit ab14d99b524cef7fe412e30f7607fc76da72563a Author: Gabor Greif ggr

[commit: ghc] master: typos (93c03f8)

2012-07-29 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/93c03f84c4bfebea5faeb60d75d708a578413e4a --- commit 93c03f84c4bfebea5faeb60d75d708a578413e4a Author: Gabor Greif ggr

[commit: ghc] cross-compiler-alienless: initial batch of cross compiler changes (90f7395)

2012-07-29 Thread Gabor Greif
Author: Gabor Greif ggr...@gmail.com Date: Mon Jul 30 00:09:39 2012 +0200 initial batch of cross compiler changes notable missing functionality is: - the inclusion of the cross-gcc into the wrapper script - disabling of some extra packages - specifying linker per stage

[commit: ghc] branch 'cross-compiler-alienless' created

2012-07-29 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc New branch : cross-compiler-alienless Referencing: 90f73952dd713c641ef9313e384a2f0b24fc69cb ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

'sizeof' infestation in rts/

2012-07-27 Thread Gabor Greif
Hi all, this week I managed to build a cross-compiler, but on trying hello Cross-World! I got a SEGV. After debugging it, it turned out that the usage of sizeofW(...) is the culprit. I'll fix this on my (still local) branch. But... Upon closer inspection of the rts/... files I found many uses

Re: 'sizeof' infestation in rts/

2012-07-27 Thread Gabor Greif
, Gabor On 7/27/12, Simon Marlow marlo...@gmail.com wrote: Please hold off on this until next week as I'm on holiday right now. What's the problem with sizeof? Cheers, Simon From: Gabor Greif Sent: 27/07/2012 10:05 To: cvs-ghc; Simon Marlow Subject: 'sizeof' infestation in rts/ Hi all

Re: 'sizeof' infestation in rts/

2012-07-27 Thread Gabor Greif
Okay, yes... I am the one who is confused. Sorry for the confusion, I got carried away in my grepping and code-reading and forgot that all of rts/ is built for target. Please disregard this thread, sorry for disturbing your vacation :-( Regretfully, Gabor PS: Anyway my internal commit,

Re: pgj2 (amd64 FreeBSD HEAD), build 757, Failure

2012-07-20 Thread Gabor Greif
I see, it should have been configured (by build.mk) to build the simple-integer library, right? Thanks and cheers, Gabor On 7/19/12, Ian Lynagh ig...@earth.li wrote: On Thu, Jul 19, 2012 at 04:31:31PM +0200, Gabor Greif wrote: Both FreeBSD bots failed in the same way: libraries/hpc

Re: pgj2 (amd64 FreeBSD HEAD), build 757, Failure

2012-07-19 Thread Gabor Greif
Both FreeBSD bots failed in the same way: libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/package-data.mk: No such file or directory libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-boot/package-data.mk: No such file or directory libraries/binary/ghc.mk:3:

[commit: ghc] master: typos in comments (9ef3b76)

2012-07-18 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/9ef3b765e85adb158dfe87f0c95fad290e12af93 --- commit 9ef3b765e85adb158dfe87f0c95fad290e12af93 Author: Gabor Greif ggr

[commit: ghc] master: typos in trace strings (which I observed in compile output) (3ae9f0f)

2012-07-18 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/3ae9f0f97583a3084a76cf7e31931bd9ef5f4173 --- commit 3ae9f0f97583a3084a76cf7e31931bd9ef5f4173 Author: Gabor Greif ggr

[commit: ghc] master: made comments C-style, so that no gcc-extension is needed (f25718b)

2012-07-18 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f25718b039f8a31dc158ab8dad3c9523ee6f87e5 --- commit f25718b039f8a31dc158ab8dad3c9523ee6f87e5 Author: Gabor Greif ggr

[commit: ghc] master: use idiomatic type (6af4e5d)

2012-07-18 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/6af4e5dc8d224dff3c065843e065c3861320ec33 --- commit 6af4e5dc8d224dff3c065843e065c3861320ec33 Author: Gabor Greif ggr

[commit: ghc] master: comment-only typo (9417612)

2012-07-18 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/9417612ec9d4b27cacd8100cf4831e3e703c976b --- commit 9417612ec9d4b27cacd8100cf4831e3e703c976b Author: Gabor Greif ggr

[commit: ghc] master: First batch of file additions for cross-compiler: (6ae696a)

2012-07-18 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/6ae696a1d1f25bf52923a3dd1c3b4a08e2033bfd --- commit 6ae696a1d1f25bf52923a3dd1c3b4a08e2033bfd Author: Gabor Greif ggr

[PING] Cross-compiler next steps

2012-07-14 Thread Gabor Greif
ping :-) On 7/11/12, Gabor Greif ggr...@gmail.com wrote: Hi all, coming back on the cross compilers issue. As you know, I had a working PPC cross compiler in a github fork that did not require any alien tools, just a cross-gcc to distill all characteristics of the platform that are needed

Cross-compiler next steps

2012-07-11 Thread Gabor Greif
Hi all, coming back on the cross compilers issue. As you know, I had a working PPC cross compiler in a github fork that did not require any alien tools, just a cross-gcc to distill all characteristics of the platform that are needed by GHC. Unfortunately this fork has bitrotten somewhat (mostly

Re: Cross-compiler next steps

2012-07-11 Thread Gabor Greif
your stuff for {solaris|linux}/x86-linux/arm cross-compilation. Thanks! Karel On 07/11/12 12:19 PM, Gabor Greif wrote: Hi all, coming back on the cross compilers issue. As you know, I had a working PPC cross compiler in a github fork that did not require any alien tools, just a cross-gcc

Typo in docs

2012-06-12 Thread Gabor Greif
forkIOWIthUnmask - forkIOWithUnmask in http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Concurrent.html Cheers, Gabor ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: [commit: testsuite] master: Test Trac #6035, #6036 (2f9e8f3)

2012-04-25 Thread Gabor Greif
Hi Simon, I might be blind, but are these tests being run at all? Cheers, Gabor On 4/25/12, Simon Peyton Jones simo...@microsoft.com wrote: Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master

[PATCH] fix ticket #6001 by reporting the expected signature instead of the actual one

2012-04-12 Thread Gabor Greif
--- compiler/typecheck/TcInstDcls.lhs |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/typecheck/TcInstDcls.lhs b/compiler/typecheck/TcInstDcls.lhs index 64b839c..97b55f4 100644 --- a/compiler/typecheck/TcInstDcls.lhs +++ b/compiler/typecheck/TcInstDcls.lhs @@

Re: [LLVMdev] LLVM GHC Backend: Tables Next To Code

2012-03-15 Thread Gabor Greif
Chris said: I really like the idea of adding this as an inline asm blob at the start of a function, and biasing the actual address of the closure based on the size of the table. I'm not 100% confident that it will work (not being very familiar with TNTC) but it seems quite plausible and

[PING] Re: [PATCH] Many small typos and formatting

2012-02-25 Thread Gabor Greif
Ping. Anything wrong with this or just overlooked? Cheers, Gabor On 2/16/12, Gabor Greif ggr...@gmail.com wrote: See my previous mail... I believe I did precisely what you called for: https://github.com/ggreif/ghc/commits/misc-cleanups/ repo: https://github.com/ggreif/ghc.git

Re: [PATCH] Many small typos and formatting

2012-02-16 Thread Gabor Greif
See my previous mail... I believe I did precisely what you called for: https://github.com/ggreif/ghc/commits/misc-cleanups/ repo: https://github.com/ggreif/ghc.git branch: misc-cleanups Cheers, Gabor On 2/16/12, Simon Marlow marlo...@gmail.com wrote: On 15/02/2012 17:33, Gabor Greif

[PATCH] Many small typos and formatting

2012-02-15 Thread Gabor Greif
Hi all, on my fork https://github.com/ggreif/ghc I have accumulated a number of small patches that are results of my browsing of the GHC sources and correcting minor issues. These are without functional impact and mostly apply to comments and formatting. By transferring these to mainline GHC I

Re: [PATCH] Many small typos and formatting

2012-02-15 Thread Gabor Greif
, Gabor On 2/15/12, Gabor Greif ggr...@gmail.com wrote: Hi all, on my fork https://github.com/ggreif/ghc I have accumulated a number of small patches that are results of my browsing of the GHC sources and correcting minor issues. These are without functional impact and mostly apply to comments

Re: Backtrace from crashing target program

2012-01-18 Thread Gabor Greif
stuff where can I dig further? How did PowerPC linux ever work? Cheers, Gabor On 1/16/12, Gabor Greif ggr...@gmail.com wrote: It appears that I ended up with the threaded runtime. While not optimal for debugging, I see this: Breakpoint 1, schedule (initialCapability=0x1032b680, task

Re: Backtrace from crashing target program

2012-01-18 Thread Gabor Greif
Just for the record, I believe this is resolved now, in my cross-compilation setup (for PowerPC) WORDS_BIGENDIAN was not set. Not sure yet about FLOAT_WORDS_BIGENDIAN yet. Cheers, Gabor On 1/18/12, Gabor Greif ggr...@gmail.com wrote: We have a byte swapping(-like problem

MO_WriteBarrier and PowerPC (NCG)

2012-01-18 Thread Gabor Greif
Hi all, looks like I have an (almost) running binary on a PPC embedded target. 'Almost' because the native backend emits a 'lwsync' (light-weight sync) instruction for the MO_WriteBarrier C-- instruction. Unfortunately this is an e500 core that traps with illegal instruction on 'lwsync'. Below I

Backtrace from crashing target program

2012-01-14 Thread Gabor Greif
Hello hackers, my hello world program compiles and links, but when running on the embedded PowerPC board it crashes like this: (gdb) run Starting program: /root/test test: internal error: stg_ap_p_ret (GHC version 7.5.20120111 for powerpc_unknown_linux) Please report this as a GHC bug:

Re: Backtrace from crashing target program

2012-01-14 Thread Gabor Greif
, 2012 at 6:07 PM, Gabor Greif ggr...@gmail.com wrote: Hello hackers, my hello world program compiles and links, but when running on the embedded PowerPC board it crashes like this: Hi Gabor, where can I find links to your patches enabling cross-compilation/cross-building

Re: Backtrace from crashing target program

2012-01-14 Thread Gabor Greif
Not sure you can trick GHC into generting code for those. I am fortunate, because ArchPPC is supported. Anyway, good luck, Gabor On 1/15/12, Gabriel Dos Reis g...@integrable-solutions.net wrote: On Sat, Jan 14, 2012 at 6:35 PM, Gabor Greif ggr...@gmail.com wrote: Hi Gaby, here you go

Re: ghc ==7.* and 7.5.20120111, what the heck?

2012-01-12 Thread Gabor Greif
this is happening is welcome. Cheers, Gabor On 1/12/12, Simon Marlow marlo...@gmail.com wrote: On 11/01/2012 21:40, Roman Leshchinskiy wrote: On 11/01/2012, at 19:37, Gabor Greif wrote: libraries/dph/dph-lifted-vseg/Data/Array/Parallel/PArray/PData/Base.hs:20:8: Could not find module `SpecConstr

Re: ghc-cabal in HEAD and libraries/primitive (from ./sync-all)

2012-01-11 Thread Gabor Greif
uses a C compiler (host/target gcc) to discover dependencies? Cheers, Gabor On 1/11/12, Roman Leshchinskiy r...@cse.unsw.edu.au wrote: On 10/01/2012, at 20:28, Gabor Greif wrote: My suspicion is that ghc-cabal is not prepared to see includes: or some other weirdness with Include-Dirs

ghc ==7.* and 7.5.20120111, what the heck?

2012-01-11 Thread Gabor Greif
So, I have a cross-ghc configured like this: ./configure --host=x86_64-apple-darwin --target=i386-apple-darwin After successfully building stage1 I get this error when configuring dph/dph-lifted-base: $ inplace/bin/ghc-cabal configure --with-ghc=/Users/ggreif/ghc/inplace/bin/ghc-stage1

ghc-cabal in HEAD and libraries/primitive (from ./sync-all)

2012-01-10 Thread Gabor Greif
Hi all, for some reason either the libraries/primitive version in tarballs is broken (should be includes: cbits/primitive-memops.h ?) or the ghc-cabal is not able to resolve the included header... Anybody seen this? I have a fresh checkout. Following change helped, but I assume is not

Re: ghc-cabal in HEAD and libraries/primitive (from ./sync-all)

2012-01-10 Thread Gabor Greif
-Dirs: or Install-Includes:. By 'tarballs' I mean the pre-canned libraries that '.sync-all get' pulls into the ghc source tree (by 'git'). On 1/10/12, Ian Lynagh ig...@earth.li wrote: Hi Gabor, On Tue, Jan 10, 2012 at 08:06:44PM +0100, Gabor Greif wrote: for some reason either the libraries

Re: [Q] CMM error (cross-powerpc-linux backend)

2012-01-09 Thread Gabor Greif
On 1/9/12, Simon Marlow marlo...@gmail.com wrote: On 04/01/2012 15:48, Gabor Greif wrote: Hi hackers, I got my cross-ghc so far that it compiles its own libraries, now onto the rts! BTW, if you're working on cross compilation, are you aware of Stephen Blackheath's work? http

Re: [PATCH] use (GHC) idiomatic types

2012-01-09 Thread Gabor Greif
Hi Simon, as I am now done with OFFSET and TYPE_SIZE computations for cross-ghc, these also popped up https://github.com/ggreif/ghc/commit/77320765550bfa603052f0334d2d681134b63da0 https://github.com/ggreif/ghc/commit/4edcfb16c3b45dc595630269d4a566b87183884d this one is cleanup:

[PATCH] use (GHC) idiomatic types

2012-01-07 Thread Gabor Greif
--- includes/rts/storage/GC.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/rts/storage/GC.h b/includes/rts/storage/GC.h index fef8e00..26c5593 100644 --- a/includes/rts/storage/GC.h +++ b/includes/rts/storage/GC.h @@ -67,7 +67,7 @@ typedef struct

Re: [PATCH] update copyright, cite realistic version numbers, fix a smattering of typos

2012-01-07 Thread Gabor Greif
it here too. Cheers, Gabor On 1/7/12, Ian Lynagh ig...@earth.li wrote: On Thu, Jan 05, 2012 at 03:33:32AM +0100, Gabor Greif wrote: --- configure.ac | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) Thanks for the patch. This was applied

Re: [PATCH] use C-style comments

2012-01-06 Thread Gabor Greif
Thanks for the explanation, I'll back out this one from my local set. Cheers, Gabor On 1/6/12, Simon Marlow marlo...@gmail.com wrote: I tend to use C++ style rather than C style for single-line comments, except for code that will be #included into Haskell source. ...

Re: [PATCH] abstract away from the 'build-toolchain'-dependent sizeof(...) operator

2012-01-06 Thread Gabor Greif
On 1/6/12, Simon Marlow marlo...@gmail.com wrote: On 05/01/2012 18:41, Gabor Greif wrote: The sizes obtained this way do not work on a target system in general. So in a future cross-compilable setup we need another way of obtaining expansions for the macros OFFSET, FIELD_SIZE and TYPE_SIZE

Re: [Q] CMM error (cross-powerpc-linux backend)

2012-01-05 Thread Gabor Greif
have to implement my idea, finish the cross toolset and submit the patches. No more creepy interactions between HOST and TARGET! Cheers, Gabor On 1/4/12, Gabor Greif ggr...@gmail.com wrote: Hi hackers, I got my cross-ghc so far that it compiles its own libraries, now onto the rts! All

[PATCH] abstract away from the 'build-toolchain'-dependent sizeof(...) operator

2012-01-05 Thread Gabor Greif
The sizes obtained this way do not work on a target system in general. So in a future cross-compilable setup we need another way of obtaining expansions for the macros OFFSET, FIELD_SIZE and TYPE_SIZE. Guarded against accidental use of 'sizeof' by poisoning. Verified that the generated

[PATCH] use C-style comments

2012-01-05 Thread Gabor Greif
Also remove underscore identifier as it is not needed, StgFunTable is now consistent with StgRegTable. --- includes/stg/Regs.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/stg/Regs.h b/includes/stg/Regs.h index bfc3d4b..bf17b7e 100644 ---

Re: [Q] CMM error (cross-powerpc-linux backend)

2012-01-05 Thread Gabor Greif
On 1/5/12, Simon Marlow marlo...@gmail.com wrote: On 05/01/2012 12:33, Gabor Greif wrote: Okay, mystery solved. The STG registers obtain the size of a host pointer (which in my case is 64 bits) even for the target architectures that are 32 bits. ... So StgUnion has size of 8 (in my --host

[Q] CMM error (cross-powerpc-linux backend)

2012-01-04 Thread Gabor Greif
Hi hackers, I got my cross-ghc so far that it compiles its own libraries, now onto the rts! All goes right, until I get: inplace/bin/ghc-stage1 -H64m -O0 -fasm -Iincludes -Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts -dcmm-lint -i -irts -irts/dist/build

[PATCH] update copyright, cite realistic version numbers, fix a smattering of typos

2012-01-04 Thread Gabor Greif
--- configure.ac | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index eda926b..b9f000d 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl (run grep '^dnl \*' configure.ac | sed -e 's/dnl / /g; s/\*\*/

HTYPE_USECONDS_T missing on RHEL 5

2012-01-02 Thread Gabor Greif
Hi all, I am trying to bootstrap the latest source snapshot on a RHEL system: ggreif@mine [!138] uname -a Linux mine 2.6.18-274.7.1.el5 #1 SMP Mon Oct 17 11:57:14 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux causes compilation error when building base lib with a stage1 compiler: