- 29 Aug, 2009 1 commit
-
-
Simon Marlow authored
- tracing facilities are now enabled with -DTRACING, and -DDEBUG additionally enables debug-tracing. -DEVENTLOG has been removed. - -debug now implies -eventlog - events can be printed to stderr instead of being sent to the binary .eventlog file by adding +RTS -v (which is implied by the +RTS -Dx options). - -Dx debug messages can be sent to the binary .eventlog file by adding +RTS -l. This should help debugging by reducing the impact of debug tracing on execution time. - Various debug messages that duplicated the information in events have been removed.
-
- 31 Aug, 2009 1 commit
-
-
Simon Marlow authored
The check for whether a Capability was free was inverted, which harmed performance for callbacks.
-
- 30 Aug, 2009 1 commit
-
-
Simon Marlow authored
Also add a panic for resurrecting a thread blocked on an exception, since it should never happen.
-
- 29 Aug, 2009 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
Fixes an ASSERTION failure with concprog001, -threaded -debug, +RTS -N2
-
- 05 Aug, 2009 1 commit
-
-
Simon Marlow authored
This has no effect with static libraries, but when the RTS is in a shared library it does two things: - it prevents the function from being exposed by the shared library - internal calls to the function can use the faster non-PLT calls, because the function cannot be overriden at link time.
-
- 26 Aug, 2009 3 commits
-
-
kili authored
Should help to fix the build on OpenBSD (together with a corresponding patch to libraries/base).
-
kili authored
-
kili authored
When there are some absolute include dirs, don't create arguments like -Ilibraries/base//usr/local/include. I need this fix for injecting the iconv include dir (which is /usr/local/include on OpenBSD) into the build of libraries/base.
-
- 28 Aug, 2009 1 commit
-
-
Simon Marlow authored
-
- 27 Aug, 2009 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
rolling back: Mon Aug 3 11:44:13 BST 2009 Simon Marlow <marlowsd@gmail.com> UNDO: Add -r option to darcs-all, and remove push-all (#3375) Contributed by: seliopou@gmail.com This patch modifies darcs-all to have feature parity with push-all by recognizing two new options. * -i, equivalent to --ignore-failure in push-all * -r <repo>, specifies the remote repository darcs commands will use Some example commands: Get the libraries from a repository of your choosing. This is useful when working with a git mirror: $ ./darcs-all -r http://darcs.haskell.org get Pull changes. Used to be: $ ./push-all --pull http://darcs.haskell.org Is now: $ ./darcs-all -r http://darcs.haskell.org pull Or to use the default remote of the ghc repository: $ ./darcs-all pull M ./darcs-all -79 +33 A ./push-all
-
Simon Marlow authored
-
- 26 Aug, 2009 5 commits
-
-
Ian Lynagh authored
We need to change a dependency on pkg-inplace to pkg-$abihash when installing
-
Ian Lynagh authored
-
Ian Lynagh authored
We were running into problems like: for f in LICENSE configure config.sub config.guess [...] make[2]: execvp: /bin/sh: Argument list too long This patch moves the loop into make, rather than the shell.
-
Simon Marlow authored
-
Simon Marlow authored
That is, unless we're printing in LeftMode, where we bypass encoding for speed. This is safe, because LeftMode is used for outputting C or asm, where everyting is Z-encoded and hence ASCII. Error messages and other compiler output containing Unicode will now appear correctly according to the locale settings.
-
- 25 Aug, 2009 1 commit
-
-
Simon Marlow authored
I've updated the wiki page about the RTS headers http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes to reflect the new layout and explain some of the rationale. All the header files now point to this page.
-
- 24 Aug, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 20 Aug, 2009 1 commit
-
-
Simon Marlow authored
See commentary at http://hackage.haskell.org/trac/ghc/wiki/Commentary/Packages
-
- 25 Aug, 2009 3 commits
-
-
simonpj@microsoft.com authored
This is just a tiny refactoring. In general, we're trying to get rid of parser errors in favour of later, more civlised, errors.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
The issue here is this: type ItemColID a b = Int -- Discards a,b get :: ItemColID a b -> a -> ItemColID a b get (x :: ItemColID a b) = x :: ItemColID a b The pattern signature for 'x' doesn't actually rigidly bind a,b. This crashed GHC 6.10 with a 'readFilledBox' panic. Now we fail with an erroe message With the new outside-in algorithm we'll be able to accept this program.
-
- 24 Aug, 2009 3 commits
-
-
Thomas Schilling authored
This is needed both for per-session parallelism and for allowing multiple concurrent sessions in the same process. With the help of atomicModifyIORef and unsafePerformIO it is also quite fast--an MVar would most likely be slower. On a full compilation of Cabal's head branch it was about 1-2 percent slower, but then overall compilation times varied by about 4 percent, so I think it's worth it.
-
simonpj@microsoft.com authored
-
Simon Marlow authored
-
- 21 Aug, 2009 2 commits
-
-
Simon Marlow authored
For: FastStrings, Names, and Bin values. This makes .hi files smaller on 64-bit platforms, while also making the format a bit more robust.
-
Simon Marlow authored
We now have a dummy 32/64-bit field near the beginning of a .hi file for backward-compatibility reasons; see comments (Note [dummy iface field]) in BinIface.hs.
-
- 24 Aug, 2009 1 commit
-
-
Ross Paterson authored
-
- 23 Aug, 2009 1 commit
-
-
Ian Lynagh authored
It breaks the unregisterised build on IA64.
-
- 22 Aug, 2009 1 commit
-
-
Thomas Schilling authored
-
- 21 Aug, 2009 5 commits
-
-
Thomas Schilling authored
Without this, concurrent updates to the EPS could introduce overlapping instances (even though they came from the same module).
-
simonpj@microsoft.com authored
Somehow I'd forgotten to instantiate the coercion that is stored in a 'NewtypeDerived' constructor in an InstInfo. The necessary code is in TcInstDcls.tc_inst_decl2. The result was ghc: panic! (the 'impossible' happened) (GHC version 6.10.3 for x86_64-unknown-linux): No match in record selector Var.tcTyVarDetails because we were looking at an (uninstantiated) TyVar instead of an (instantiated) TcTyVar.
-
Ian Lynagh authored
Fixes linking with -dynamic
-
Ian Lynagh authored
This fixes linking hello world with -dynamic. I've also added some more variables, so there is less duplication between the different ways of linking.
-
Simon Marlow authored
Also, -fPIC causes an error if the target is registerised and has no native code generator.
-
- 20 Aug, 2009 1 commit
-
-
Simon Marlow authored
This gives about a 15% performance boost in GHCi for me. nice!
-