- User Since
- Sep 11 2014, 7:17 AM (200 w, 3 d)
Wed, Jun 20
@last_g if you do not intend to address LLVM in any way in this patch, does this mean it will potentially render the llvm backend broken? I'm not asking for the same functionality in the LLVM backend, just that we ensure not to break -fllvm.
Jun 14 2018
Jun 13 2018
Howdy @Phyx, I actually did try my luck on GHC 7.3; but this ended up being really messy. And then I have no idea how to build gcc/mingw on windows properly.
Jun 1 2018
May 31 2018
May 26 2018
Note that while we have the fix in LLVM, the result only works with the llvm-ng backend, not with the stock llvm backend due to the excessive use of aliases in the stock backend, which confuses LLVM's entry-point logic.
May 23 2018
As @simonmar noted, the LLVM part is missing, I don't see any fundamental reasons why the LLVM backend could not support the same.
Similar to the -ffunction-sections question:
- has this been tested on macOS with -dead_strip, which uses the .subsections_via_symbols directive?
- The lack of symbols as @simonmar noted, is concerning to me as well, and I'm in the same boat, not making the connect with D4713 yet. Could you provide the same Perf-list without the D4713 interaction?
May 20 2018
May 16 2018
LGTM. Maybe see the comments.
May 12 2018
Apr 3 2018
Apr 2 2018
Apr 1 2018
Related: D4553 tries to address (3).
Mar 31 2018
Mar 25 2018
Mar 19 2018
Mar 6 2018
Mar 5 2018
@trofi you might want to still try --via-asm with https://github.com/haskell/hsc2hs/pull/8. It might be faster, as we do not need to do the binary search for constants.
Ideally we'd also extend it to compute all constants in one go, instead of computing each on their own.
Ok, let's do this in 8.6.
Mar 4 2018
won't make it in 8.4 anymore.
Mar 3 2018
Mar 2 2018
... and the windows build is green!
- Adds hvr's fix
- Windows, are we friends now?
Mar 1 2018
- add .buildinfo from dist/build into bindist-list
Feb 28 2018
- fix .buildinfo lookup for bindist
- in-place is the worst
Feb 27 2018
for the record:
make: *** [utils/check-ppr/dist-install/build/Main.dyn_o] Segmentation fault: 11 make: *** Waiting for unfinished jobs.... make: *** [utils/check-api-annotations/dist-install/build/Main.dyn_o] Segmentation fault: 11 make: *** [utils/ghctags/dist-install/build/Main.dyn_o] Segmentation fault: 11 make: *** [all] Error 2
This does however cause my stage2 ghc to segfault, and I have no idea why...
Feb 23 2018
- drop flavour change
Feb 22 2018
- drop hsc2hs related changes. (end up in a different diff: D4439)
Feb 21 2018
Feb 15 2018
- rebase onto master
Aside from stat failures; this builds and validates for me locally.
- fix Makefile
- adds .gitignore
Feb 14 2018
Feb 13 2018
- rebase onto master
- adds configure
Feb 12 2018
I have a working version with the configure script in a local branch.
Feb 11 2018
Feb 7 2018
Feb 6 2018
Feb 5 2018
Sorry to be a bit late to the party 🎉
@bgamari yey, everything is green... except for Linux which fails with Haddock 🗡
Feb 4 2018
Lovely, haddock is failing... what the hell?
Jan 31 2018
@harpocrates, I’m terribly sorry for letting this languish. I’m currently bed bound, but will try to give this a try next week. Feel free to ping me next week!
Jan 21 2018
... and optllvm starts failing ;-)
Unexpected failures: /tmp/ghctest-qmrjo3ke/test spaces/./llvm/should_compile/T5681.run T5681 [exit code non-0] (optllvm) /tmp/ghctest-qmrjo3ke/test spaces/./llvm/should_compile/T7571.run T7571 [exit code non-0] (optllvm) /tmp/ghctest-qmrjo3ke/test spaces/./llvm/should_compile/T8131b.run T8131b [exit code non-0] (optllvm) /tmp/ghctest-qmrjo3ke/test spaces/./llvm/should_compile/T11649.run T11649 [exit code non-0] (optllvm)
Jan 8 2018
Alright, as CI claims this builds, why not.
Jan 5 2018
No objections. @bgamari, you've got any?
BTW: what's our policy regarding older releases?
I'm generally in favour of any simplification we have here. I believe the TOOL="$Tool" lines were (are?) due to some substitution non-substitution logic, where the .in files got the AC_SUBST but the TOOL was used someplace else.
Dec 19 2017
Dec 7 2017
attached is the llvm-ng patch for this logic. Just so I don't lose it.
Dec 5 2017
Nov 27 2017
Nov 25 2017
I'm also missing the changes to the driver pipeline, adding the relevant attributes to the llvm tool invocation. See https://github.com/ghc/ghc/commit/39f7fc86bb0a4cbf0476f98819d597c0a00d1210, I believe that code needs to be part of this diff as well.
Just create a new one with —create.
Alright. Even though I find the arm_HOST_ARCH_PRE_XXX AC_DEFINE and the ARM_ISA AC_SUBST rather terrible.
Nov 24 2017
Alright, let's do this. I'll rework this as suggested.
Nov 23 2017
Nov 22 2017
Just for reference, I believe this: https://github.com/ghc/ghc/commit/39f7fc86bb0a4cbf0476f98819d597c0a00d1210 will be needed for the LLVM backend as well.
The llvm code should probably look similar to: https://github.com/ghc/ghc/commit/8427df332d2db338f0fc0c1a1976696227a280f6.
I really *really* hope I'm getting around to finish D3608 this weekend. Will see if I can try some interplay between both diffs then.
Nov 21 2017
Nov 19 2017
Nov 18 2017
@snowleopard, yes. The #elfi was a stupid spelling mistake. Currently checking that a correction works.