Re: make -jN loops on Windows

2013-08-27 Thread Kyle Van Berendonck
Hi, With the number of jobs. ie, on my laptops A8-3500M that's -j4. On Wed, Aug 28, 2013 at 8:55 AM, Niklas Larsson wrote: > Hi! > > Are you using make -j with or without number of jobs? I tried with make > -j4 on my Windows 8 machine and it worked well. > > Niklas > > > 2013/8/27 Kyle Van Bere

Re: make -jN loops on Windows

2013-08-27 Thread Niklas Larsson
Hi! Are you using make -j with or without number of jobs? I tried with make -j4 on my Windows 8 machine and it worked well. Niklas 2013/8/27 Kyle Van Berendonck > Hi Simon, > > I think this is a MinGW bug. If we're talking about the same bug (lockup, > no console output, task manager shows cp

Re: HEAD build fails on OS X

2013-08-27 Thread Tuncer Ayaz
On Tue, Aug 27, 2013 at 11:22 PM, Carter Schonwald wrote: > what version of Xcode do you have installed? Sorry, that was meant to only cross-link the original report from April to the new thread, and this is all happening on Linux. > On Tue, Aug 27, 2013 at 4:41 PM, Tuncer Ayaz wrote: >> >> On

Re: HEAD build fails on OS X

2013-08-27 Thread Carter Schonwald
what version of Xcode do you have installed? On Tue, Aug 27, 2013 at 4:41 PM, Tuncer Ayaz wrote: > On Tue, Apr 9, 2013 at 10:14 PM, Tuncer Ayaz > wrote: > > On Tue, Apr 9, 2013 at 10:24 AM, Tuncer Ayaz > wrote: > >> On Tue, Apr 9, 2013 at 12:15 AM, Kazu Yamamoto wrote: > >> > > Same error fo

Re: make -jN loops on Windows

2013-08-27 Thread Kyle Van Berendonck
Hi Simon, I think this is a MinGW bug. If we're talking about the same bug (lockup, no console output, task manager shows cpu but it doesn't produce files, etc) I get it when building other projects with -j too and I don't think its GHC's fault. Regards, Kyle Van Berendonck _

Re: HEAD build fails on OS X

2013-08-27 Thread Tuncer Ayaz
On Tue, Apr 9, 2013 at 10:14 PM, Tuncer Ayaz wrote: > On Tue, Apr 9, 2013 at 10:24 AM, Tuncer Ayaz wrote: >> On Tue, Apr 9, 2013 at 12:15 AM, Kazu Yamamoto wrote: >> > > Same error for me on Linux: >> > > http://www.haskell.org/pipermail/ghc-devs/2013-March/000835.html >> > > http://www.haskell.

Re: Getting rid of HEAP_ALLOCED

2013-08-27 Thread Simon Marlow
On 27 Aug 2013 19:59, "Edward Z. Yang" wrote: > > Excerpts from Simon Marlow's message of Sun Aug 25 12:56:06 -0700 2013: > > You can arrange that all the indirections end up next to each other by > > putting them in a special section. Then you can traverse the contents > > of the section so long

make install (at git ef01794) still fails

2013-08-27 Thread Tuncer Ayaz
I think the last time 'make install' worked for me was sometime in February or March 2013. The build succeeds but 'make install' fails. Is this normal? git rev ef01794 linux i386 glibc 2.18 gcc 4.8.1 mk/build.mk: BuildFlavour = perf V = 0 $ perl boot $ ./configure --prefix=/tmp/ghc/7.7.20130827

code generation and backends Re: Design discussion for atomic primops to land in 7.8

2013-08-27 Thread Carter Schonwald
Austin also raises an important point: Its high time we explore changes to the ABI/per architecture calling convention and how they might impact performance. I think this is something worth exploring after the 7.8 release (but not in the next month of prerelease engineering, though I need to sus

Re: Buidling profiled fails

2013-08-27 Thread Austin Seipp
Well, depending on ./configure is reasonable, but I'm not sure how to easily make it work around these checks just for the 'show' target. Hm, what platform is this, Win64? (I need to get a win64 test env up.) You might possibly have an out of date mk/build.mk file, but if this is a recent checkout

RE: Buidling profiled fails

2013-08-27 Thread Simon Peyton-Jones
ha ha! bash$ make show VALUE=GhcProfiled Makefile:39: mk/config.mk: No such file or directory Makefile:41: *** Please run ./configure first. Stop. === OK, so I did "perl boot; ./configure". Then bash$ make show VALUE=GhcProfiled make -r --no-print-directory -f ghc.mk show ghc.mk:158

Re: Design discussion for atomic primops to land in 7.8

2013-08-27 Thread Austin Seipp
To do this, IMO we'd also really have to start shipping our own copy of LLVM. The current situation (use what we have configured or in $PATH) won't really become feasible later on. On platforms like ARM where there is no NCG, the mismatches can become super painful, and it makes depending on certa

Re: extending GHC plugins with Hooks

2013-08-27 Thread Thomas Schilling
I think there are a couple of things that are worth exposing. Looking at Luite's patch, for example, there are a few that a basic high-level platform wouldn't solve. A few things an API might reasonably want to customise: - Parse custom flags (when wrapping GHC) - Hook into GHC's compilatio

Re: Changes in Hoopl

2013-08-27 Thread Simon Marlow
On 26/08/13 10:00, Jan Stolarek wrote: 1. This adds a new constraint on the dataflow algorithm, namely that it must traverse the blocks in the correct order. I don't follow. From what I've seen in the code Hoopl orders blocks using depth-first traversal. For backwards analysis it reverses that

Current state of ghc boot lib versions vs. hackage

2013-08-27 Thread Herbert Valerio Riedel
I've compared what versions current GHC HEAD uses w/ vs. what's currently available on Hackage (see below); So currently, the following packages have newer versions available on hackage than are used in GHC HEAD: - binary - containers - primitive - time - vector In order to clarify a point

Re: Buidling profiled fails

2013-08-27 Thread Austin Seipp
I was actually looking at this exact code very recently since I was fixing the build system with Stage1Only a little last night. We do something like this in ./ghc.mk: define addExtraPackage ifeq "$2" "-" # Do nothing; this package is already handled above

Buidling profiled fails

2013-08-27 Thread Simon Peyton-Jones
I try "sh validate" with profiled libraries and get libraries/dph/ghc.mk:134: *** Cannot build profiled GHC with DPH; try deleting libraries/dph and trying again. Stop. So I obediently remove libraries/dph, and try again. But that fails too: Error: libraries/dph/LICENSE doesn't exist. Maybe you

Re: abount template haskell's pretty print: ($$$) x y = ...

2013-08-27 Thread Richard Eisenberg
Hello Yoshikuni, Thanks for submitting a patch! The best way to get your patch accepted is to use the GHC Trac system accessible here: http://ghc.haskell.org/trac/ghc/wiki/ReportABug Create a bug report for the problem that you have, and then post your patch to it. The Trac system makes it muc

make -jN loops on Windows

2013-08-27 Thread Simon Peyton-Jones
I have a nice new 64-bit Windows 8 laptop. But when I say make -j2 then it launches a couple processes (which I think complete fine) and then locks up with 'make' consuming 25-35% of a CPU, but nothing happening. No further activity for 30 mins. This is msys 'make', version 3.81

RE: extending GHC plugins with Hooks

2013-08-27 Thread Simon Peyton-Jones
I’m sympathetic to supporting GHCJS. But, as described in my email, there seems to be several different proposals for extending plugins swirling around, and I’m not sure how they relate to each other. My suggestion (for you guys to lead ☺): · Identify the minimum necessary for GHCJS in