Re: hsc2hs override C compiler

2012-12-09 Thread Duncan Coutts
On 8 December 2012 20:36, Stephen Paul Weber wrote: > For some reason after > > ./Setup configure --configure-option=--target=i486-pc-nto-qnx8.0.0 > --configure-option=--build=i686-linux-gnu > --configure-option=--host=i686-linux-gnu --hsc2hs-option=--cross-safe > --hsc2hs-option=--cross-compile -

[commit: ghc] master: Add a new traceMarker# primop for use in profiling output (a609027)

2012-10-15 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/a609027da31c7c9103d8b9741ba3fc6807b7b7b9 >--- commit a609027da31c7c9103d8b9741ba3fc6807b7b7b9 Author: Duncan Cou

Re: [Haskell-cafe] Announce: Hackager - new version of hackage-test

2012-04-23 Thread Duncan Coutts
Good work David. I used to do something like this for Cabal regression testing but the method I used didn't scale well as hackage grew. I'll look into using your tool next time for testing a major Cabal / cabal-install release. Duncan On 23 April 2012 21:37, David Terei wrote: > Hi all, > > I'v

[commit: ghc] master: Emit final heap alloc events and rearrange code to calculate alloc totals (1f809ce)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/1f809ce6df1dca54b977c6cac8f2b1c745683cf9 >--- commit 1f809ce6df1dca54b977c6cac8f2b1c745683cf9 Author: Duncan Cou

[commit: ghc] master: Add the GC_GLOBAL_SYNC event marking that all caps are stopped for GC (c294d95)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c294d95dc04950ab4c5380bf6ce8651f621f8591 >--- commit c294d95dc04950ab4c5380bf6ce8651f621f8591 Author: Mikolaj Date:

[commit: ghc] master: Add eventlog/trace stuff for capabilities: create/delete/enable/disable (f9c2e85)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f9c2e8543cabd6661eec17d5be31469455a64e05 >--- commit f9c2e8543cabd6661eec17d5be31469455a64e05 Author: Duncan Cou

[commit: ghc] master: Change the presentation of parallel GC work balance in +RTS -s (cd930da)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/cd930da1145a0d6094e5b5380034e80d002d5b9a >--- commit cd930da1145a0d6094e5b5380034e80d002d5b9a Author: Duncan Cou

[commit: ghc] master: Add new eventlog events for various heap and GC statistics (65aaa9b)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/65aaa9b2715c5245838123f3a0fa5d92e0a66bce >--- commit 65aaa9b2715c5245838123f3a0fa5d92e0a66bce Author: Duncan Cou

[commit: ghc] master: Fix the timestamps in GC_START and GC_END events on the GC-initiating cap (598109e)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/598109eb0cc2271c33e23b4ddb12123991273f61 >--- commit 598109eb0cc2271c33e23b4ddb12123991273f61 Author: Mikolaj Date:

[commit: ghc] master: Adjust the eventlog description header for the spark counter event (a3cdefd)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/a3cdefd21b3e818accf9db22da72b216685c1b19 >--- commit a3cdefd21b3e818accf9db22da72b216685c1b19 Author: Duncan Cou

[commit: ghc] master: Move trace of cap delete from shutdownCapability to freeCapability (e88f162)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/e88f1625a234e5316e903f84ae4d3349fec4bf3d >--- commit e88f1625a234e5316e903f84ae4d3349fec4bf3d Author: Duncan Cou

[commit: ghc] master: Calculate the total memory allocated on a per-capability basis (8536f09)

2012-04-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/8536f09c2f310a95297b339de6084f77cc4044c1 >--- commit 8536f09c2f310a95297b339de6084f77cc4044c1 Author: Duncan Cou

[commit: ghc] master: Update the user guide with details on new flag +RTS -lu (050f714)

2012-03-22 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/050f714150282695746534174c4550c90c2d9f4e >--- commit 050f714150282695746534174c4550c90c2d9f4e Author: Duncan Cou

Re: Cabal documentation not included with GHC anymore?

2012-02-07 Thread Duncan Coutts
On 7 February 2012 23:58, David Terei wrote: > On 7 February 2012 14:09, Ian Lynagh wrote: >> Perhaps we should also consider converting the GHC user guide to >> markdown. >> > > I'd be happy with this, markdown is my go to format these days. > However I don't know if its worth the cost of the tr

Re: Cabal documentation not included with GHC anymore?

2012-02-07 Thread Duncan Coutts
On 7 February 2012 22:09, Ian Lynagh wrote: > On Tue, Feb 07, 2012 at 01:55:14PM -0800, David Terei wrote: >> >> GHC's online documentation used to include Cabal's user guide, e.g see >> for 7.0.4: >> >> As of 7.2.1 (and 7.4.1) GHC doesn't seem to include it anymore: >> >> I'm just wondering if th

[commit: ghc] master: Add eventlog event for thread labels (c739d84)

2011-11-04 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c739d845f9b3fc67ee20aa3de7e876cb1327bb1a >--- commit c739d845f9b3fc67ee20aa3de7e876cb1327bb1a Author: Duncan Cou

[PATCH] Add eventlog event for thread labels

2011-11-02 Thread Duncan Coutts
l (I expect this to be my last eventlog patch targeting the 7.4 branch). -- Duncan Coutts, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ >From b84c9fd7bc6402ca296f0970644383d05132dac1 Mon Sep 17 00:00:00 2001 From: Duncan Coutts Date: Wed, 2 Nov 2011 12:02:09 + Subject: [PATCH] Add

[commit: ghc] master: Fix unused var warning on windows (3955077)

2011-10-31 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/3955077fd55d8190da6c26ffa750b473831755ce >--- commit 3955077fd55d8190da6c26ffa750b473831755ce Author: Duncan Cou

Re: Windows bvild failure

2011-10-31 Thread Duncan Coutts
/dist/build/RtsFlags.o > cc1.exe: warnings being treated as errors > rts\RtsFlags.c: In function 'checkSuid': And if you hit a problem in rts/win32/GetTime.c then let me know. commit d518e8f1a6f111575aba37bb0b0ba00168ad7fcd Author: Duncan Coutts Date: Mon Oct 31 11:39:15 2011 +0

[commit: ghc] master: Fix recent rts flags changes on windows (d518e8f)

2011-10-31 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d518e8f1a6f111575aba37bb0b0ba00168ad7fcd >--- commit d518e8f1a6f111575aba37bb0b0ba00168ad7fcd Author: Duncan Cou

[commit: ghc] master: Add an RTS eventlog tracing class for user messages (aaaaf67)

2011-10-28 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f67b2fca9bd9b0027c983bfc9f9255b2bce5 >--- commit f67b2fca9bd9b0027c983bfc9f9255b2bce5 Author: Duncan Cou

[commit: testsuite] master: Fix test T5373 for +RTS/rtsopts changes (a52f72c)

2011-10-28 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master http://hackage.haskell.org/trac/ghc/changeset/a52f72cae740e7cf6c5e1670c62d29ce6cb673b1 >--- commit a52f72cae740e7cf6c5e1670c62d29ce6cb673b1 Author: Dun

[commit: ghc] master: Remove +RTS --help text for -De flag which no longer exists (2daa3bd)

2011-10-28 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/2daa3bd82f4a5a7161bf88c4b8981211c2e8724b >--- commit 2daa3bd82f4a5a7161bf88c4b8981211c2e8724b Author: Duncan Cou

[commit: ghc] master: Use signed comparison for +RTS -N x <= 0 test (43a9271)

2011-10-28 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/43a92710466737a81a282b294bf3d6c15fc39ebe >--- commit 43a92710466737a81a282b294bf3d6c15fc39ebe Author: Duncan Cou

[commit: ghc] master: Allow the -t -T -s -S flags (without arg!) in -rtsopts=some mode (6dfd901)

2011-10-28 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/6dfd9016c38aa1877e2ad2f926750162c6aa10e6 >--- commit 6dfd9016c38aa1877e2ad2f926750162c6aa10e6 Author: Duncan Cou

[commit: ghc] master: Change what +RTS options are available by default (8c7ad0b)

2011-10-28 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/8c7ad0bd5bf1e7f62f44784cc889e8ee585b8d08 >--- commit 8c7ad0bd5bf1e7f62f44784cc889e8ee585b8d08 Author: Duncan Cou

Re: [commit: base] master: Update base for new Safe Haskell design (447448a)

2011-10-28 Thread Duncan Coutts
On Thu, 2011-10-27 at 09:12 +0100, Simon Marlow wrote: > On 26/10/2011 21:45, David Terei wrote: > > Hi Duncan, > > > > On 26 October 2011 06:05, Duncan Coutts > > wrote: > >> I don't understand this. Is it required that we mark Data.Trace as >

[commit: ghc] master: Rename traceCapsetModify for consistency and clarity (f9c2157)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f9c2157310ee428ab969563ee889750d036ab38c >--- commit f9c2157310ee428ab969563ee889750d036ab38c Author: Duncan Cou

[commit: ghc] master: Add a clock domain capset and emit wall clock time on rts init (d690592)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d69059203d073093752bcd23181b745862a97a45 >--- commit d69059203d073093752bcd23181b745862a97a45 Author: Duncan Cou

[commit: ghc] master: Add new eventlog EVENT_WALL_CLOCK_TIME for time matching (4856d15)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/4856d15a87d9052e2d9729c6a3e4312eb00622a2 >--- commit 4856d15a87d9052e2d9729c6a3e4312eb00622a2 Author: Duncan Cou

[commit: ghc] master: Add rts time util getUnixEpochTime (ece21ea)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/ece21ea00b8681b09c9eedbebbac1af764864367 >--- commit ece21ea00b8681b09c9eedbebbac1af764864367 Author: Duncan Cou

[commit: ghc] master: Delete some old Win9x C code (17c1662)

2011-10-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/17c166232cf2a547a9b0a4fce5f38307ae64f157 >--- commit 17c166232cf2a547a9b0a4fce5f38307ae64f157 Author: Duncan Cou

Re: [commit: base] master: Update base for new Safe Haskell design (447448a)

2011-10-26 Thread Duncan Coutts
Hi David, On Tue, 2011-10-25 at 15:17 -0700, David Terei wrote: > Repository : ssh://darcs.haskell.org//srv/darcs/packages/base > > On branch : master > > http://hackage.haskell.org/trac/ghc/changeset/447448aff4803fa4b26ac941d5297aedcbb2dddf > commit 447448aff4803fa4b26ac941d5297aedcbb2dddf >

Re: [commit: ghc] master: Tabs -> spaces (9ada6542b)

2011-10-26 Thread Duncan Coutts
On Wed, 2011-10-26 at 11:14 +0100, Max Bolingbroke wrote: > On 26 October 2011 09:43, Simon Marlow wrote: > > Fine by me, my emacs is set up to convert tabs to spaces on lines that I > > edit. > > OK. I've applied the hook to the main GHC repo and it appears to work > as intended. Let me know if

Re: failure of GHC 7.0.4 on OS X

2011-10-04 Thread Duncan Coutts
On Mon, 2011-10-03 at 22:50 -0700, Mark Lentczner wrote: > Here's where I am: > > Today I managed to build a 32-bit version HP 2011.3.0.0 (based on GHC 7.0.4 > from GHC central). This installs and runs on 10.6 and 10.7 (with some tweaks > applied to the ghc script). It will not run on 10.5 because

Re: failure of GHC 7.0.4 on OS X

2011-10-03 Thread Duncan Coutts
On Sat, 2011-09-17 at 16:51 -0700, Mark Lentczner wrote: > In preparation for building the Haskell Platform 2011.3.0.0 installer for > Mac OS X, I've run into a snag: The GHC central distributed version of 7.0.4 > can't produce running executables. The problem comes at final link time, > which fail

[commit: ghc] master: Fix syntax error in DTrace event specification (c08bd10)

2011-07-20 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c08bd1007db84e95618fc446b5b37bc052fa747c >--- commit c08bd1007db84e95618fc446b5b37bc052fa747c Author: Duncan Cou

[commit: ghc] master: Document the new +RTS -l options in the user guide (8f4f29f)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/8f4f29f655fdda443861152a24588fcaba29b168 >--- commit 8f4f29f655fdda443861152a24588fcaba29b168 Author: Duncan Cou

[commit: ghc] master: Move GC tracing into a separate trace class (46b7074)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/46b70749971341678c3e4d5cdb2b1ab1a13d039e >--- commit 46b70749971341678c3e4d5cdb2b1ab1a13d039e Author: Duncan Cou

[commit: ghc] master: Add new fully-accurate per-spark trace/eventlog events (084b64f)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/084b64f22717b203b8d8c2ab7c057fb747e39593 >--- commit 084b64f22717b203b8d8c2ab7c057fb747e39593 Author: Duncan Cou

[commit: ghc] master: add a new trace class for spark events (a5192d4)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/a5192d48e61a8ece69cddc43cc12625fcdcc56ec >--- commit a5192d48e61a8ece69cddc43cc12625fcdcc56ec Author: Duncan Cou

[commit: ghc] master: Document the new +RTS -l flags in the +RTS --help output (b093547)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/b0935476b64b4818e4b5653c756c648623753fd3 >--- commit b0935476b64b4818e4b5653c756c648623753fd3 Author: Duncan Cou

[commit: ghc] master: Sync EventLogFormat.h with ghc-events (a5c7f52)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/a5c7f52ea72232144cca9292dcbf9de4618001df >--- commit a5c7f52ea72232144cca9292dcbf9de4618001df Author: Duncan Cou

[commit: ghc] master: include spark counters in the sparks trace class (02871ad)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/02871adf5f27de9e8748c0a24d086f5be5827203 >--- commit 02871adf5f27de9e8748c0a24d086f5be5827203 Author: Mikolaj Date:

[commit: ghc] master: Improve the newSpark dud test by using the pointer tag bits (e0b98b4)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/e0b98b42847dea19aff24df2faa354c9d414fc87 >--- commit e0b98b42847dea19aff24df2faa354c9d414fc87 Author: Duncan Cou

[commit: ghc] master: Change tryStealSpark so it does not consume fizzled sparks (ededf35)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/ededf355981fd08f52b4fab256f231179848073f >--- commit ededf355981fd08f52b4fab256f231179848073f Author: Duncan Cou

[commit: ghc] master: Classify overflowed sparks separately (fa8d20e)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/fa8d20e6d85212290b633159b6ef2d77fb1c4021 >--- commit fa8d20e6d85212290b633159b6ef2d77fb1c4021 Author: Duncan Cou

[commit: ghc] master: add a missing traceSparkCounters invocation (5cc2670)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/5cc2670c58909b237249e96823b1bf8a236e1b53 >--- commit 5cc2670c58909b237249e96823b1bf8a236e1b53 Author: Mikolaj Date:

[commit: ghc] master: Add spark counter tracing (d77df1c)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d77df1caad3a5f833aac9275938a0675e1ee6aac >--- commit d77df1caad3a5f833aac9275938a0675e1ee6aac Author: Duncan Cou

[commit: ghc] master: Fix wrong arg name in a C function prototype (1be80fd)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/1be80fdb6a8e993141a3bdd4cb71cd40f693018e >--- commit 1be80fdb6a8e993141a3bdd4cb71cd40f693018e Author: Duncan Cou

[commit: ghc] master: Add assertion of the invariant for the spark counters (ddb47a9)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/ddb47a91da7132da2303c60a5aff4e38fb2dcf1a >--- commit ddb47a91da7132da2303c60a5aff4e38fb2dcf1a Author: Duncan Cou

[commit: ghc] master: Move allocation of spark pools into initCapability (5d09108)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/5d091088ce94be4c389fa669911d0e842bd08952 >--- commit 5d091088ce94be4c389fa669911d0e842bd08952 Author: Duncan Cou

[commit: ghc] master: Use a struct for the set of spark counters (556557e)

2011-07-18 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/556557ebee2758acade603e25a8a16266dea791d >--- commit 556557ebee2758acade603e25a8a16266dea791d Author: Duncan Cou

Proposal: Foldable typeclass: make foldl' and foldr' class methods

2011-06-20 Thread Duncan Coutts
Sorry, should have cc'ed this to cvs-ghc@haskell.org in the first place... Please send any replies to the version sent to the libraries list. All, This issue was brought up again recently by Milan's questions about what to do with folds for the containers package. Currently the Foldable type c

HEADS UP: cabal-install repo being merged into cabal repo

2011-06-19 Thread Duncan Coutts
All, In theory this will not break anything... But just in case, here's an explanation of what's going on so you will be aware in case you hit any oddities. What's actually happening - I am about to push over 700 patches into the cabal darcs repository. This will bring

Re: simonmar-win32-head (x86 Windows HEAD), build 314, Failure

2011-06-09 Thread Duncan Coutts
On Thu, 2011-06-09 at 09:54 +0100, Simon Marlow wrote: > On 09/06/2011 01:26, Builder wrote: > > "inplace/bin/ghc-cabal.exe" install > > "D:/slave/head/builder/tempbuild/build/bindistprep/ghc-7.1.20110608/bin/ghc.exe" > > > > "D:/slave/head/builder/tempbuild/build/bindistprep/ghc-7.1.20110608/bi

Re: Build failure

2011-05-29 Thread Duncan Coutts
On Sat, 2011-05-21 at 12:03 +0200, Niklas Larsson wrote: > This comes from: > commit 58532eb46041aec8d4cbb48b054cb5b001edb43c > Author: Spencer Janssen > Date: Thu Apr 14 01:11:05 2011 -0500 > > Add capability sets to the event system. Contains code fr

[commit: ghc] master: Fix build on windows (hopefully) (94d7c80)

2011-05-29 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/94d7c806e2b0f1640372142a89cac2e974f5c26b >--- commit 94d7c806e2b0f1640372142a89cac2e974f5c26b Author: Duncan Cou

[commit: ghc] master: Make the tracing of the startup event more regular (c4f9b98)

2011-05-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c4f9b989c605776c1f07929672a856f07d9b4b44 >--- commit c4f9b989c605776c1f07929672a856f07d9b4b44 Author: Duncan Cou

[commit: ghc] master: Add capability sets to the tracing/events system (43c7d55)

2011-05-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/43c7d555c8d7eea6ba0d76bce33be8d25a01c6fd >--- commit 43c7d555c8d7eea6ba0d76bce33be8d25a01c6fd Author: Duncan Cou

[commit: ghc] master: Rearrange shutdownCapability code slightly (68b76e0)

2011-05-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/68b76e0e49d4d95e1bfe9343697e2abc99470791 >--- commit 68b76e0e49d4d95e1bfe9343697e2abc99470791 Author: Duncan Cou

[commit: ghc] master: Emit various bits of OS process info into the eventlog (e8832eb)

2011-05-26 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/e8832eb9f05ca46d9315250c3baf7010eb0630a4 >--- commit e8832eb9f05ca46d9315250c3baf7010eb0630a4 Author: Duncan Cou

[commit: testsuite] master: Add filtering and accept output for ghcpkg01 (79281d4)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master http://hackage.haskell.org/trac/ghc/changeset/79281d44cecd2a0a0458169d3d934246ee7182d1 >--- commit 79281d44cecd2a0a0458169d3d934246ee7182d1 Author: Dun

[commit: ghc] master: Provide the pkgroot value in ghc-pkg dump & describe when necessary (f35a3d2)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f35a3d247e023b6c1b0abe677549b29398933b50 >--- commit f35a3d247e023b6c1b0abe677549b29398933b50 Author: Duncan Cou

[commit: ghc] master: ghc-pkg: report parser warnings when registering packages (5fffd9b)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/5fffd9b28c2b67d4f58596ad8837a024e11882f5 >--- commit 5fffd9b28c2b67d4f58596ad8837a024e11882f5 Author: Duncan Cou

[commit: testsuite] master: Accept changed output for a couple ghc-pkg tests (588d371)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master http://hackage.haskell.org/trac/ghc/changeset/588d371db5a91e5fcb9f1c14f80ae74e11d4caff >--- commit 588d371db5a91e5fcb9f1c14f80ae74e11d4caff Author: Dun

[commit: ghc] master: Implement ${pkgroot} spec, allows relocatable registered packages (40b6bd4)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/40b6bd47cf00f025426746bbd7abdd0eda2a3afd >--- commit 40b6bd47cf00f025426746bbd7abdd0eda2a3afd Author: Duncan Cou

[commit: ghc] master: Deprecate the ghc-pkg --auto-ghci-libs flag (7818553)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/78185538b0d9513b1b287a98cbf96cd120c7ef8f >--- commit 78185538b0d9513b1b287a98cbf96cd120c7ef8f Author: Duncan Cou

[commit: ghc] master: Add stricter ghc-pkg checks on package file/dir/url fields (f61d53d)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f61d53d322cdf81a1cfa09cf4a4af4198611bcd5 >--- commit f61d53d322cdf81a1cfa09cf4a4af4198611bcd5 Author: Duncan Cou

[commit: ghc] master: ghc-pkg: don't expand ${name}-style env vars by default (6ef41c2)

2011-05-25 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/6ef41c263075b9399efa35850a7e5b0046335ef8 >--- commit 6ef41c263075b9399efa35850a7e5b0046335ef8 Author: Duncan Cou

[commit: ghc] master: Revert "Add capability sets to the event system. Contains code from Duncan Coutts." (96d64fe)

2011-05-22 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/96d64fe2175d829f9499656750d51cf577ff9892 >--- commit 96d64fe2175d829f9499656750d51cf577ff9892 Author: Duncan Cou

patch applied (ghc-7.0/ghc): FIX #4825: Update User Guide info on DLLs.

2011-05-17 Thread Duncan Coutts
Tue May 17 08:42:57 PDT 2011 Duncan Coutts * FIX #4825: Update User Guide info on DLLs. Original patch by Orphi Plus a few miscellaneous updates from me. M ./docs/users_guide/shared_libs.xml -25 +38 M ./docs/users_guide/win32-dlls.xml -9 +27 View patch online: http

[commit: ghc] master: FIX #4825: Update User Guide info on DLLs. (58339b0)

2011-05-17 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/58339b06aff704834e8553faaa2db00d746b26f3 >--- commit 58339b06aff704834e8553faaa2db00d746b26f3 Author: Duncan Cou

patch applied (ghc-7.0/ghc): Make the GHCi linker handle partially stripped object files (#5004)

2011-05-16 Thread Duncan Coutts
Thu May 12 09:43:59 PDT 2011 Duncan Coutts * Make the GHCi linker handle partially stripped object files (#5004) When you use 'strip --strip-unneeded' on a ELF format .o or .a file, if the object file has no global/exported symbols then 'strip' ends up removing the s

patch applied (ghc-7.0/ghc): Add a missing deRefTSO in scheduleHandleThreadFinished

2011-05-13 Thread Duncan Coutts
Tue May 10 09:39:03 PDT 2011 Duncan Coutts * Add a missing deRefTSO in scheduleHandleThreadFinished Was causing rts assertions and incorrect results for FFI callbacks, e.g. was causing the ThreadScope GUI to segfault. This only applies to the 7.0 branch, deRefTSO has gone in 7.2. M

patch applied (ghc-7.0/testsuite): Remove out-of-date ghc-7-specific test output for test break024 (fixes #5078)

2011-05-13 Thread Duncan Coutts
Thu May 12 06:33:47 PDT 2011 Duncan Coutts * Remove out-of-date ghc-7-specific test output for test break024 (fixes #5078) The test currently gives the same output as for ghc HEAD, whereas previously with the 7.0 branch the test gave slightly different output. R ./tests/ghc-regress

patch applied (ghc-7.0/testsuite): Adjust the expected bytes allocated range for test space_leak_001

2011-05-13 Thread Duncan Coutts
Thu May 12 06:42:26 PDT 2011 Duncan Coutts * Adjust the expected bytes allocated range for test space_leak_001 M ./tests/ghc-regress/perf/space_leaks/all.T -3 +3 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc-7.0/testsuite;a=darcs_commitdiff;h=20110512134226-b0bbe

[commit: ghc] master: Make the GHCi linker handle partially stripped object files (#5004) (cfbf0eb)

2011-05-13 Thread Duncan Coutts
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/cfbf0eb134efd1c5d9a589f6ae2139d7fad60581 >--- commit cfbf0eb134efd1c5d9a589f6ae2139d7fad60581 Author: Duncan Cou

Re: patch applied (ghc): Turn off dtrace unless you override USE_DTRACE

2011-01-18 Thread Duncan Coutts
On 18 January 2011 09:27, Simon Marlow wrote: > On 18/01/2011 02:03, Manuel M T Chakravarty wrote: >> >> Ian Lynagh: >>> >>> On Mon, Jan 17, 2011 at 12:44:30PM +1100, Manuel M T Chakravarty >>> wrote: If the hurdle is that you have no Mac with 10.6 to build a 64-bit, 10.6-only insta

Re: patch applied (ghc): Add a simple arity analyser

2010-12-22 Thread Duncan Coutts
and then comparing streams vs foldr/build with benchmarks again). I hope you'll forgive me if I hand in first and then give it a whirl. No new exicting toys for me, yet. Duncan > | -Original Message- > | From: Duncan Coutts [mailto:duncan.cou...@googlemail.com] > | Sent: 22 De

Re: patch applied (ghc): Add a simple arity analyser

2010-12-22 Thread Duncan Coutts
On 21 December 2010 16:58, Simon Peyton Jones wrote: > Tue Dec 21 08:58:00 PST 2010  simo...@microsoft.com >  * Add a simple arity analyser > >  I've wanted to do this for ages, but never gotten around to >  it.  The main notes are in Note [Arity analysis] in SimplUtils. > >  The motivating exampl

Re: vector for DPH

2010-09-21 Thread Duncan Coutts
On 22 September 2010 02:05Duncan Coutts wrote: > On 22 September 2010 01:32, Manuel M T Chakravarty > wrote: > >>> Manuel: would you like to talk to Ben, Gabi, Roman, and decide what you'd >>> like us to do for the release.  Specifically: >>> >>> - Release with DPH, or rely on 'cabal install dp

Re: vector for DPH

2010-09-21 Thread Duncan Coutts
On 22 September 2010 01:32, Manuel M T Chakravarty wrote: >> Manuel: would you like to talk to Ben, Gabi, Roman, and decide what you'd >> like us to do for the release.  Specifically: >> >> - Release with DPH, or rely on 'cabal install dph'? >> - Push the new refactoring into the branch; or not?

Re: rpath for shared libraries

2010-01-25 Thread Duncan Coutts
On Fri, 2010-01-15 at 21:48 +, Thomas Schilling wrote: > 2010/1/13 Duncan Coutts > > > I'm not sure I can. Apparently I just don't get what other people think > > is wrong with rpath. > > Quoting from: http://en.wikipedia.org/wiki/Rpath_(linking) > "

Re: rpath for shared libraries

2010-01-13 Thread Duncan Coutts
On Tue, 2010-01-12 at 16:52 +, Simon Marlow wrote: > On 12/01/10 10:52, Duncan Coutts wrote: > > > This would also be relevant for the ghc build process. Currently for ghc > > we do not use rpath at all for the .so files for the core packages. I > > did it that way ini

Re: rpath for shared libraries

2010-01-12 Thread Duncan Coutts
Brief summary from the rpath discussion between Andrew and myself: One reason people find rpath annoying is that it overrides the LD_LIBRARY_PATH. This is the historical behaviour of the ELF DT_RPATH entry. There is a newer ELF DT_RUNPATH entry which fixes this behaviour, ie lets LD_LIBRARY_PATH o

Re: rpath for shared libraries

2010-01-12 Thread Duncan Coutts
On Tue, 2010-01-12 at 09:01 +, Andrew Suffield wrote: > > This is a main linking to libfoo.so via rpath but overridden to link to > > a separate ./bar/libfoo.so that exports a different implementation of > > extern int foo(); > > asuffi...@cyclone:~/tmp$ echo 'int foo = 42;' > foo42.c > asuff

Re: rpath for shared libraries

2010-01-12 Thread Duncan Coutts
On Tue, 2010-01-12 at 01:49 +, Andrew Suffield wrote: > On Tue, Jan 12, 2010 at 12:16:31AM +0000, Duncan Coutts wrote: > > On Mon, 2010-01-11 at 20:19 +, Andrew Suffield wrote: > > > > > To reiterate, this is the exemplar use case for relocatable objects: > >

Re: rpath for shared libraries

2010-01-11 Thread Duncan Coutts
On Mon, 2010-01-11 at 20:19 +, Andrew Suffield wrote: > To reiterate, this is the exemplar use case for relocatable objects: > > Install ghc and some libraries to /usr/local/ > Build some applications with ghc and install them into /home/asuffield/bin/ > mv /usr/local/lib/*ghc* /srv/nfs-app-s

Re: rpath for shared libraries

2010-01-11 Thread Duncan Coutts
On Sun, 2010-01-10 at 21:22 +, Andrew Suffield wrote: > On Sun, Jan 10, 2010 at 07:11:43PM +0000, Duncan Coutts wrote: > > Right. I think it's much more sensible to use isolated locations for > > installed library files. It makes it much easier to have multiple >

Re: Windows DLLs should be working.

2010-01-11 Thread Duncan Coutts
On Mon, 2010-01-11 at 05:31 +0100, Lars Viklund wrote: > > If you want to get this working with COM, then building an assembly > > out of the DLLs is probably mandatory. So that's looking like the way > > to go. Yes, we'll want to be able to make and use assemblies. Not just for COM, it's the gen

Re: Windows DLLs should be working.

2010-01-11 Thread Duncan Coutts
On Sun, 2010-01-10 at 17:24 +1100, Ben Lippmeier wrote: > Windows DLLs should be working now. Huzza. Great work Ben. So what was the solution in the end to the problem of the cross-module inlining and making intra vs inter DLL-calls? > To turn on the "dyn" way add the > string "i386-unknown-min

Re: DPH libs are re-haddocked every time

2010-01-11 Thread Duncan Coutts
On Thu, 2010-01-07 at 14:29 +, Simon Marlow wrote: > > I don't think haddock should be doing any pre-processing, but certainly > > we should not be telling it to generate the same .o files as we do for > > the main build. > > > > So if we changed the way Cabal invokes haddock to point it to a

Re: rpath for shared libraries

2010-01-10 Thread Duncan Coutts
On Sat, 2010-01-02 at 13:47 +, Simon Marlow wrote: > We had a similar plan in the past, see e.g. > > http://www.haskell.org/pipermail/glasgow-haskell-users/2007-June/012740.html > > and for background: > > http://hackage.haskell.org/trac/ghc/wiki/SharedLibraries/Management > > However, Dun

Re: DPH libs are re-haddocked every time

2010-01-07 Thread Duncan Coutts
On Thu, 2009-12-31 at 14:34 +, Simon Marlow wrote: > If you have HADDOCK_DOCS enabled, then every 'make' will re-haddock the > DPH libraries, which is rather annoying. > > I've done some investigation, here's what I've discovered: > > * When we run Haddock on DPH, Haddock must actually com

Re: Patch for shared libraries support on FreeBSD

2009-12-30 Thread Duncan Coutts
On Wed, 2009-12-30 at 12:09 +0100, Maxime Henrion wrote: > - Is there a plan to deal with the ldconfig cache on UNIX systems? As > things are now, I had to manually add all the package directories > under /usr/local/lib/ghc-6.12.1/ to be able to run the generated > executable. I guess Cabal could

Re: Validate fails on Mac OS X, again!

2009-12-21 Thread Duncan Coutts
On Mon, 2009-12-21 at 20:50 +0100, Matthias Kilian wrote: > On Mon, Dec 21, 2009 at 02:46:41PM +1100, Manuel M T Chakravarty wrote: > > > 'tr' -d '\t' < compiler/main/DynFlags.hs | '/usr/bin/sed' > > > '/^xFlags/,/]/s/^ *( *\("[^"]*"\)[^"]*/ [\1] ++/p;d' >> > > > utils/ghc-cabal/dist-dummy-ghc/b

Re: GHC.Arr

2009-12-17 Thread Duncan Coutts
On Thu, 2009-12-17 at 18:03 +, Simon Peyton-Jones wrote: > Simon > > I'm puzzling over GHC.Arr.safeIndex > > It calls the overloaded method 'index' which does bound checks on the > "semantic range", by checking that i is in the range (l,u). But then > safeIndex does *another* range check, on

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-04 Thread Duncan Coutts
On Thu, 2009-12-03 at 08:59 -0800, Howard B. Golden wrote: > On Thursday December 3, 2009, Duncan Coutts wrote: > > The point is, technically we probably do not want "ghci -lpcre" to > > translate directly into a call to dlopen "libpcre.so". There should > &

Re: Fix GHC ticket 2615 (linker scripts in .so files)

2009-12-03 Thread Duncan Coutts
On Wed, 2009-12-02 at 16:38 -0800, Howard B. Golden wrote: > At present, it is possible to say 'ghci -lpcre' or 'addDLL "lpcre"'. For > these to work, you have to be able to call the system linker from ghci > dynamically. (Therefore, I think it means replacing Linker.c with the > native system

  1   2   3   >