- 21 Apr, 2014 1 commit
-
-
Herbert Valerio Riedel authored
This clean-up is in a similiar spirit as 574ef429 . Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
- 11 Apr, 2014 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- 08 Apr, 2014 1 commit
-
-
Simon Marlow authored
One important reason is that gcc 4.8.1 sometimes crashes: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60436 Another reason is that preprocessing assembly files unnecessarily slows down compilation.
-
- 13 Mar, 2014 1 commit
-
-
Ben Gamari authored
While -O1 and -O2 both include -globalopt, the order in which the passes are run means that aliases aren't resolved which then causes llc to fall over. See GHC bug #8855. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 19 Feb, 2014 1 commit
-
-
Austin Seipp authored
As pointed out by Albert Y. C. Lai on glasgow-haskell-users. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 28 Jan, 2014 1 commit
-
-
Christiaan Baaij authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 21 Jan, 2014 1 commit
-
-
Austin Seipp authored
When using TemplateHaskell and -prof, we *do not* want -dynamic-too, because we're going to *expect* that you compiled the vanilla/dyn way already, and are compiling profiling the second time (i.e. so GHCi can just load the normal, non-profiled object files.) Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 18 Jan, 2014 1 commit
-
-
pali.gabor@gmail.com authored
On FreeBSD, /usr/lib has to be added to the library path on linking when libthr is needed but -nostdlib is used (which is the case when the -prof and -threaded flags are combined).
-
- 16 Jan, 2014 1 commit
-
-
Austin Seipp authored
This fixes a large majority of the testsuite failures on Mavericks with Clang. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 14 Jan, 2014 3 commits
-
-
kgardas authored
The -u option must be placed before libraries which define the necessary symbols. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
As Simon pointed out, we should only enable -dynamic-too in the template haskell case if GHC is dynamic and we're not already compiling in the dyn way (the dyn way will be switched on by -dynamic-too later in the pipeline anyway - see pipeLoop) Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 12 Jan, 2014 1 commit
-
-
Austin Seipp authored
When compiling a set of modules under --make, we need to check if the module graph has TemplateHaskell enabled. If it does, then we need to switch on -dynamic-too for GHCi, so that the linker can properly find the right dynamic object files. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 07 Jan, 2014 1 commit
-
-
Austin Seipp authored
(It improperly used 'show' on the Maybe Int, not the Int.) Authored-by:
Karel Gardas <karel.gardas@centrum.cz> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 25 Oct, 2013 1 commit
-
-
Austin Seipp authored
This includes both executables (by correcly setting the rpath to the topDir) and libffi, and GHC itself, so that everything works with no build tree. Authored-by:
Christiaan Baaj <christiaan.baaij@gmail.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 23 Sep, 2013 4 commits
-
-
gmainlan@microsoft.com authored
This sets the SSE "version" to 1.0.
-
gmainlan@microsoft.com authored
-
gmainlan@microsoft.com authored
-
gmainlan@microsoft.com authored
-
- 22 Sep, 2013 1 commit
-
-
Austin Seipp authored
This commit exposes GHC's internal compiler pipeline through a `Hooks` module in the GHC API. It currently allows you to hook: * Foreign import/exports declarations * The frontend up to type checking * The one shot compilation mode * Core compilation, and the module iface * Linking and the phases in DriverPhases.hs * Quasiquotation Authored-by:
Luite Stegeman <stegeman@gmail.com> Authored-by:
Edsko de Vries <edsko@well-typed.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 16 Sep, 2013 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- 11 Sep, 2013 1 commit
-
-
Austin Seipp authored
Authored-by:
David Luposchainsky <dluposchainsky@gmail.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 04 Sep, 2013 1 commit
-
-
thoughtpolice authored
Authored-by:
Luke Iannini <lukexi@me.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 29 Aug, 2013 1 commit
-
-
thoughtpolice authored
Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 28 Aug, 2013 1 commit
-
-
thoughtpolice authored
iOS has some particular constraints about how applications can be built: * We must generate a static library (.a) since XCode does the final link. * We need to carefully give the right set of arguments to libtool in the case we're generating an archive. * Dynamic linking isn't supported. * It can only be done on OS X. This patch cleans up all of the above. We add a new flag `-staticlib` (only supported on Darwin) that allows us to produce archive files using libtool, and a -pgmlibtool flag to control which 'libtool' executable to use. This fixes #8127. I believe this is the last piece missing from the iOS cross compiler. Authored-by:
Luke Iannini <lukexi@me.com> Authored-by:
Maxwell Swadling <maxwellswadling@gmail.com> Authored-by:
Stephen Blackheath <...@blacksapphire.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 22 Aug, 2013 1 commit
-
-
Simon Marlow authored
In 1e2b3780 I changed the option ordering for C compilations. A side effect was that -optc options came before the automatic -O we were adding, which made it so that the -debug RTS was getting optimised when it shouldn't have been. Perhaps we shouldn't have automatic -O options added to C compilations. But that might cause problems for build systems that are relying on the current behaviour, so I've made a minor change instead: now C optimisation level == Haskell optimisation level.
-
- 14 Aug, 2013 1 commit
-
-
thoughtpolice authored
When cross compiling to iOS, we generate archive files which are linked into the final executable. We already *did* generate archive files - just with the wrong suffix. Fixes #8125. Authored-by:
Stephen Blackheath <...@blacksapphire.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 30 Jul, 2013 1 commit
-
-
ian@well-typed.com authored
Makes it look less likely that people will confuse what it is for (e.g. #8104).
-
- 09 Jul, 2013 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- 05 Jul, 2013 1 commit
-
-
This pass is pretty cheap and eliminates the aliases generated by the LLVM backend. This in turn is required for dynamic linking to work correctly, as LLVM fails to properly attribute calls to aliased addresses. Signed-off-by:
David Terei <davidterei@gmail.com>
-
- 19 Jun, 2013 2 commits
-
-
thoughtpolice authored
Clang doesn't like whitespace between macro and arguments. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
thoughtpolice authored
This is needed because Clang is very strict about C99 macro rules, which dictate that '#' in a body must have a token immediately following it for string-ification. In practice we break this all the time, because we do very weird stuff like: #define FOOBAR(xyz) \ {-# SOME PRAGMA #-} \ baz :: (xyz) \ baz = ... where the leading '#' in in the macro body clearly breaks this rule. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 21 May, 2013 1 commit
-
-
Simon Marlow authored
Now these are always added by the run<blah> functions in SysTools, so we never miss any out. Several cleanups resulted.
-
- 18 May, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 27 Apr, 2013 1 commit
-
-
ian@well-typed.com authored
On iOS, binaries are really static libraries, so we don't want to use flags like -lm when linking them.
-
- 26 Apr, 2013 4 commits
-
-
ian@well-typed.com authored
We now just pass the filename as an argument
-
ian@well-typed.com authored
We now just pass the output filename as an argument instead
-
ian@well-typed.com authored
-
ian@well-typed.com authored
The output location needs to be different for the vanilla and dynamic ways when doing -dynamic-too. Fixes dynamicToo003.
-
- 18 Mar, 2013 1 commit
-
-
ian@well-typed.com authored
Without it, when linking the split objects for Language.Haskell.TH.Syntax, the commandline was too long when listing all the files directly.
-