- May 12, 2013
-
-
Ian Lynagh authored
Dynamic GHC is now working in-place, but pathologically slow due to the DLL split. (GHC assumes that all intra-package calls are in the same DLL, but that isn't true when we split the GHC package into 2 DLLs. That means that GHC's startup time is around 22 seconds, as it is doing run-time linking). Also, ghci isn't actually working yet: $ inplace/bin/ghc-stage2 --interactive GHCi, version 7.7.20130512: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... <command line>: can't load .so/.DLL for: HSghc-prim-0.3.1.0.dll (addDLL: could not load DLL) ghc-stage2.exe: HSghc-prim-0.3.1.0: The specified module could not be found.
-
Ian Lynagh authored
Not just base, integer-gmp and ghc-prim.
-
- May 09, 2013
-
-
Ian Lynagh authored
On Windows, we need to keep the DLL called libffi-6.dll (rather than libffi.dll) or Windows can't find it.
-
Ian Lynagh authored
This is a rather ugly hack to fix dynamically linked GHC on Windows. If GHC is linked with -threaded, then it links against libHSrts_thr. But if base is linked against libHSrts, then both end up getting loaded, and things go wrong. We therefore link the libraries that link against the RTS with the same RTS flags that we link GHC with.
-
Ian Lynagh authored
They used to be treated as being in an exnternal package, which went wrong on Windows (it tried to call them via an imp wrapper, rather than calling them directly).
-
New external top-level names were being created but the name cache wasn't being populated, leading to #7878. Signed-off-by:
Jose Pedro Magalhaes <jpm@cs.ox.ac.uk>
-
- May 07, 2013
-
-
jpm@cs.ox.ac.uk authored
-
- May 04, 2013
-
-
Austin Seipp authored
People are probably more likely to notice some useful variables if they're located closer to the top (like V=0 and stage=2.) Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
Erik de Castro Lopo authored
-
- May 03, 2013
-
-
Simon Peyton Jones authored
This is a bad bug, if a rare one. See Note [Work-free values only in environment]. Thanks to Amos Robinson for finding it.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Previously we looked for fundeps, and if any fired we didn't try to solve the constraint. But that's wrong (see Note [Weird fundeps]). Now I solve first and only if that fails try fundeps. Code is neater too. Fixes Trac #7875
-
Simon Peyton Jones authored
We simply weren't quantifying kind variables at the points we were claiming. In paritcular, in forall (a:k). blah we quantify the 'k' around the 'forall a', provided k isn't already in scope
-
Simon Peyton Jones authored
See Note [Eliminate flat-skols]. IT wasn't exactly wrong before the the error messages are deeply strange.
-
Simon Peyton Jones authored
The pretty-printer uses isPredTy to decide whether to use "=>" or "->", and typeKind crashes on ill-kinded types. But it's really unhelpful for the pretty-printer to crash on an ill-kinded type, because then you can't see it!
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Fixes Trac #7872
-
- May 02, 2013
-
- Apr 30, 2013
-
-
tibbe authored
The flag shows no real impact on nofib benchmarks and GHC itself, which is expected given the small number of strict but not already unpacked fields in the source of these programs. However, the flag allows us to omit most of the UNPACK pragmas that are so common in source code today.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Previously, for f :: [Bool] f = map not we'd get a helpful message Probable cause: ‛map’ is applied to too few arguments but not for f :: [Bool] f = map which seems a bit stupid.
-
Simon Peyton Jones authored
We were saying The function `f' is applied to one argument, but its type `[a] -> b' has only one which is obviously bogus. This fix suppresses the explanation in cases where it may not be the *right* explanation.
-
Simon Peyton Jones authored
In particular, (forall a. Num a => ...) always has kind *, becuase the "=>" really is a function. It turned out that this was at the bottom of the crash in Trac #7778, which is now fixed
-
- Apr 29, 2013
-
-
Ian Lynagh authored
sed on OS X doesn't handle \+
-
- Apr 28, 2013
-
-
Ian Lynagh authored
-
Ian Lynagh authored
Based on a patch from Peter Trommler
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
It was marked as "backwards compatibility" in 2006, so I think can be removed now. It allowed using old field names when looking at fields with ghc-pkg.
-
Ian Lynagh authored
It used to just ignore the --simple-output flag
-
Ian Lynagh authored
Patch from Peter Trommler
-
- Apr 27, 2013
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
pali.gabor@gmail.com authored
explicitly link against any dependent library
-
pali.gabor@gmail.com authored
properly (see #7819)
-
Ian Lynagh authored
On iOS, binaries are really static libraries, so we don't want to use flags like -lm when linking them.
-
Ian Lynagh authored
Based on a patch from PHO, in trac #7813. We were previously declaring StgRun as a private symbol (in rts/StgRun.h), but were actually defining it as a public one (in rts/StgCRun.c). This caused a linkage problem with old binutils. See: http://www.haskell.org/pipermail/ghc-devs/2013-April/000932.html
-
- Apr 26, 2013
-
-
Colin Watson authored
-
Ian Lynagh authored
Patch from pgj; part of #7819.
-