Compact regions in users guide

2016-10-17 Thread Ben Gamari
Hello Compact Regions authors, It occurs to me that the compact regions support that is due to be included in GHC 8.2 is lacking any discussion in the users guide. At very least we should have a mention in the release notes (this is one of the major features of 8.2, afterall) and a brief overview

Re: GHC 8.0.2 status

2016-10-25 Thread Ben Gamari
George Colpitts writes: > Hi > > Where are we on this? 12479 was last updated 5 days ago and it is not clear > who has the next action. > Unfortunately The merge of #12479 took longer than expected and soon thereafter yet another terrible bug has reared its ugly head.

setnumcapabilities001 failure

2016-10-25 Thread Ben Gamari
Hi Simon, It seems that setnumcapabilities001 still occassionally fails, although this time by a different mode: https://phabricator.haskell.org/harbormaster/build/14485/?l=100 Cheers, - Ben signature.asc Description: PGP signature ___ ghc-devs

[Help needed] GHC HCAR Submission Contributors

2016-10-25 Thread Ben Gamari
Hello everyone, Haskell Communities and Activities Report submission season is once again upon us. If you are receiving this message then you have a major contribution listed on the GHC 8.2 status page and therefore should have a corresponding entry in GHC's HCAR submission. I've collected some

Re: Dataflow analysis for Cmm

2016-10-20 Thread Ben Gamari
Jan Stolarek writes: >> I don't entirely agree. I personally find it very hard to review large >> patches as the amount of mental context generally seems to grow >> super-linearly in the amount of code touched. Moreover, I think it's >> important to remember that the need

Re: Dataflow analysis for Cmm

2016-10-20 Thread Ben Gamari
Jan Stolarek writes: >> (did you intend to send two identical links?) > No :-) The branches should be js-hoopl-cleanup-v1 and js-hoopl-cleanup-v2 > >> Yes, the end result would be the same - I'm merely asking what would be >> preferred by GHC devs (i.e., I don't know how

Master recently broke on OS X

2016-10-18 Thread Ben Gamari
Hello Simon, It looks like one of the patches that you pushed to master today may have broken the build on OS X. According to Harbormaster something in the range of f148513ccd93..7129861397f8 caused T5611 to fail on the OS X build bot [1]. Could you have a look? Cheers, - Ben [1]

Re: GHC 8.0.2 status

2016-11-14 Thread Ben Gamari
Yitzchak Gale writes: > Ben, I see #12757 is now fixed and closed. Great! > > What's the prognosis now for a release? > I'm just waiting for a release of filepath and then one more round of tests and then I should have a source release ready. This release has been a bit of a

Re: Non-working "-no-pie" test?

2016-11-14 Thread Ben Gamari
Gabor Greif writes: > Hi all, > > The test for checking "-no-pie" support of GCC doesn't seem to work. See > below: > > $ gcc --version > gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) > Copyright (C) 2010 Free Software Foundation, Inc. > This is free software; see the source for

[ANNOUNCE] GHC 8.0.2 release candidate 1

2016-11-25 Thread Ben Gamari
Hello everyone, The GHC team is happy to (finally!) announce the first candiate of the 8.0.2 release of the Glasgow Haskell Compiler. Source and binary distributions are available at http://downloads.haskell.org/~ghc/8.0.2-rc1/ This is the first of what will hopefully be only two release

Re: [ANNOUNCE] GHC 8.0.2 release candidate 1

2016-11-26 Thread Ben Gamari
George Colpitts writes: > Thanks Ben, this is great! > > Installing the binary on the Mac results in the following minor problem: > > /usr/bin/install -c -m 644 docs/users_guide/build-man/ghc.1 > "/usr/local/share/man/man1" > install: /usr/local/share/man/man1/ghc.1:

Re: Making (useful subsets of) bytecode portable between targets

2016-11-21 Thread Ben Gamari
CCing Luite who has done this sort of thing in the context of GHCJS. Shea Levy writes: > Hi all, > > I'm interested in implementing a general solution for TH during > cross-compilation, which if my naive lack-of-understanding is correct > will broadly involve the following

DWARF patches for 8.2

2016-11-21 Thread Ben Gamari
Hello fellow DWARF enthusiasts, Tonight I finally made something of a breakthrough on the DWARF front; after finding a small logic error in one of my patches I was able to get a full stack trace into and out of Haskell using the runtime system's native stack unwinder. This is quite exciting!

Re: Linux -> Windows cross-compiling failed

2016-11-15 Thread Ben Gamari
Bernard de la Paz writes: > I try to cross-compile GHC 8.0.1 with x86_64-mingw toolchain (gcc 6.2.1) and > native GHC 8.0.1. Sources are from > http://downloads.haskell.org/~ghc/8.0.1/ghc-8.0.1-src.tar.xz > > cp mk/build.mk.example mk/build.mk > > sed -i

Re: GHC 8.0.2 status

2016-11-17 Thread Ben Gamari
Ben Gamari <b...@well-typed.com> writes: > Hello GHCers, > > Thanks to the work of darchon the last blocker for the 8.0.2 release > (#12479) has nearly been resolved. After the fix has been merged I'll be > doing some further testing of the ghc-8.0 branch and cut a source &g

Re: GHC archeology and git commit hashes

2016-11-17 Thread Ben Gamari
Ismael Figueroa writes: > Dear ghc devs, > > I'm doing some archeology of the GHC codebase, and I need to map every > release to a given git tag/commit/hash. So far, based on the official > webpage and Github mirror, I have done it for releases from 7.2.1 until > 8.0.1.

Re: build fail with latest 8.1 sources

2016-11-13 Thread Ben Gamari
John Leo <l...@halfaya.org> writes: > I just pulled again and picked up a more recent patch by Ben Gamari: > https://github.com/ghc/ghc/commit/ca1b986074757efff755c33c7f9a62c7eae43c7f > > This seems to have fixed the problem. The commit says 8 hours ago but for > some reaso

Re: Windows build broken -- again

2016-11-13 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > Sigh. The Simon PJ Windows Buildbot reports > Yes, my apologies for this one. I'm currently in the process of getting this one fixed in D2700. Unfortunately my own Windows machine is having hardware issues so I progress has been a

Re: GHC 8.0.2 status

2016-11-14 Thread Ben Gamari
"Boespflug, Mathieu" writes: > Hi Ben, > > still a few tickets, most of them with patches, slated for the 8.0.2 > milestone: https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-8.0.2. Is the > plan still to merge those in? > There was one patch that was mistakenly in patch state

Re: Linker reorganization

2016-10-28 Thread Ben Gamari
Simon Marlow writes: >> One concern that I have is that the RTS's header file structure (where >> everything is #include'd via Rts.h) doesn't work very well for this >> particular use, where we have a group of headers specific to a >> particular subsystem (e.g. linker/*.h).

Linker reorganization

2016-10-27 Thread Ben Gamari
Hello RTS people, Today I finally grew frustrated enough with my constant battle with the 7000 line tangle of CPP that is rts/Linker.c to do something about it. The result is D2643 through D2650. In short, I took the file and chopped it into more managable pieces: * linker/PEi386.[ch]: PE

Re: setnumcapabilities001 failure

2016-10-27 Thread Ben Gamari
Simon Marlow writes: > I haven't been able to reproduce the failure yet. :( > Indeed I've also not seen it in my own local builds. It's quite an fragile failure. Cheers, - Ben signature.asc Description: PGP signature ___

Re: simple pictures about GHC development flow

2016-11-03 Thread Ben Gamari
Takenobu Tani writes: > Hi devs, > > 2016-10-31 20:02 GMT+09:00 Takenobu Tani : > >> > Also it might be good to add something about the process of fixing doc >> "bugs" and improving the doc. >> > >> > I think these are areas where less experienced

Re: Tool for minimizing examples

2016-10-26 Thread Ben Gamari
Eric Crockett writes: > Are there any tools out there that can do any portion of this process for > me? This is a good question. Unfortunately I don't know of any; I do my minimizations by hand. > Perhaps it is possible to output contents after the compiler does a DCE >

Re: Register Allocator Tests

2016-10-11 Thread Ben Gamari
Thomas Jakway writes: > Can anyone point me to the register allocator tests (especially for the > graph register allocator)? Can't seem to find them and grepping doesn't > turn up much (pretty much just > testsuite/tests/codeGen/should_run/cgrun028.h). > What sort of tests

Re: failing

2016-10-12 Thread Ben Gamari
On October 12, 2016 8:27:24 AM EDT, Simon Peyton Jones via ghc-devs wrote: >Ben: all builds are failing >https://phabricator.haskell.org/harbormaster/ >What’s up? I see a perf failure on T1969. Does not happen for me; and >is only in residency, so just bump it? > >Simon >

Re: Better X87

2016-10-09 Thread Ben Gamari
Hi Thomas! Thomas Jakway writes: > I was looking through compiler/nativeGen/X86/Instr.hs > > and it's pretty hard not to notice the (hilarious) diatribe about the > horror that is x87. > Reading

GHC 8.0.2 status

2016-10-10 Thread Ben Gamari
Hello GHCers, Thanks to the work of darchon the last blocker for the 8.0.2 release (#12479) has nearly been resolved. After the fix has been merged I'll be doing some further testing of the ghc-8.0 branch and cut a source tarball for 8.0.2-rc1 later this week. If you intend on offering a binary

[GHC Proposal] "Constraint to Bool" wired-in type family

2016-10-15 Thread Ben Gamari
Hello everyone, Sylvain Henry just opened Pull Request #22 [1] against the ghc-proposals repository. This proposal describes a type family which would given users access to type-level evidence of the satisfiability of a constraint. Please feel free to read and discuss the proposal on the pull

Status of GHC testsuite driver on Windows

2016-10-16 Thread Ben Gamari
So I spent my weekend in the jungles Windows compatibility layers. I'll spare you the details as they are gruesome but here's a brief summary, * There are a few nasty bugs currently in msys2 which affect the GHC testsuite driver: * Mingw Python packages are terribly broken (#12554)

RE: failing

2016-10-12 Thread Ben Gamari
Simon Peyton Jones writes: > Can you? With comment etc. > Of course. Cheers, - Ben signature.asc Description: PGP signature ___ ghc-devs mailing list ghc-devs@haskell.org

Re: Dataflow analysis for Cmm

2016-10-17 Thread Ben Gamari
Michal Terepeta writes: > On Mon, Oct 17, 2016 at 10:57 AM Jan Stolarek > wrote: > >> Second question: how could we merge this? (...) >> I'm not sure if I understand. The end result after merging will be exactly >> the same, right? Are >> you

Re: Status of GHC testsuite driver on Windows

2016-10-17 Thread Ben Gamari
Ben Gamari <b...@smart-cactus.org> writes: > So I spent my weekend in the jungles Windows compatibility layers. I'll > spare you the details as they are gruesome but here's a brief summary, > > * There are a few nasty bugs currently in msys2 which affect the GHC >

Re: GHC Trac spam filter is rejecting new registrations

2016-10-15 Thread Ben Gamari
Robert Henderson writes: > Hi, > > I've been trying to register a new account on GHC Trac in order to > submit a bug report, and I'm getting the following error: > > Submission rejected as potential spam > SpamBayes determined spam probability of 90.82% > Oh dear, very

Re: Windows validate failures

2016-12-08 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > I'm getting irreproducible validate failures on Windows. Here's the output: > What commit are you on? The plugins issues I've seen before but I believe the "Errno 17" issues we recently fixed. Cheers, - Ben signature.asc

Linux Harbormaster host

2016-12-08 Thread Ben Gamari
Hello everyone, This morning I noticed that the Linux Harbormaster builder somehow got stuck. I've killed off the hung build and added a timeout to the build script to prevent this from happening again. That being said, it may take a while for it to catch up so don't be surprised if it takes a

Re: Windows build again

2016-12-09 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > Windows build is broken in a new way. > When I run validate I end up with sh.exe processes that consume a full CPU > forever. See the process log below. > > Note that these are not GHC processes: they are shells! I have no

Re: More windows woe

2016-12-09 Thread Ben Gamari
Ben Gamari <b...@well-typed.com> writes: > Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> writes: > >> I see that anything involving ghci fails: >> >> /c/code/HEAD/inplace/bin/ghc-stage2 --interactive >> >> GHCi, version 8.1.20161209: ht

Re: More windows woe

2016-12-09 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > I see that anything involving ghci fails: > > /c/code/HEAD/inplace/bin/ghc-stage2 --interactive > > GHCi, version 8.1.20161209: http://www.haskell.org/ghc/ :? for help > > ghc-stage2.exe: unable to load package `base-4.9.0.0' > >

Re: More windows woe

2016-12-09 Thread Ben Gamari
Edward Yang pointed out a truncated sentence in this message. See below. Thank you Edward! Cheers, - Ben Ben Gamari <b...@well-typed.com> writes: > Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> writes: > ... > > To hack around this, mingw-w64 ships a static

GHC 8.2 status

2016-12-09 Thread Ben Gamari
Hello everyone, While we are still trying to get 8.0.2 out the door, 8.2.1 is quickly approaching. If you have a feature that you would like to see in 8.2, please add it to the 8.2 status page [1] as soon as possible and let us know; we would like to cut the ghc-8.2 branch in late December for a

RE: Telemetry (WAS: Attempt at a real world benchmark)

2016-12-09 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > Just to say: > > > · Telemetry is a good topic > > · It is clearly a delicate one as we’ve already seen from two widely > differing reactions. That’s why I have never seriously contemplated > doing anything about it. > > · I’m love

Differential builds with on Darwin now enabled

2016-12-09 Thread Ben Gamari
Hello everyone, Note that the Mac Mini builder will now build submitted Differentials as well as commits to master. Originally I was hesitant to take this step since unreviewed differentials are essentially untrusted code; however it has become clear that to keep regressions from entering the

Re: Please don’t break travis

2016-12-09 Thread Ben Gamari
Joachim Breitner writes: > Hi, > > again, Travis is failing to build master since a while. Unfortunately, > only the author of commits get mailed by Travis, so I did not notice it > so far. But usually, when Travis reports a build failure, this is > something

Reverted f723ba2f3b6d778f903fb1de4a5af93fe65eed10

2016-12-13 Thread Ben Gamari
Hi Simon, Earlier today I noticed that the testsuite started failing with f723ba2f3b6d778f903fb1de4a5af93fe65eed10 due to break024 and break011. See https://phabricator.haskell.org/harbormaster/build/16407/ (I've included the output differences below). I've reverted the patch to keep the tree

FYI: base version bump landing soon

2016-12-15 Thread Ben Gamari
Hello fellow Haskellers, Sometime soon (likely today) I'll be landing a commit to `master` which will bump the version of the `base` library to 4.10.0.0 This will involve bumping a number of submodules as well. This will mean that testing against Hackage will typically require that you pass

Re: Measuring performance of GHC

2016-12-06 Thread Ben Gamari
Joachim Breitner <m...@joachim-breitner.de> writes: > Hi, > > Am Dienstag, den 06.12.2016, 17:14 -0500 schrieb Ben Gamari: >> Joachim Breitner <m...@joachim-breitner.de> writes: >> >> > Hi, >> > >> > Am Dienstag, den 06.12.2016, 19

Re: Measuring performance of GHC

2016-12-06 Thread Ben Gamari
Joachim Breitner writes: > Hi, > > Am Dienstag, den 06.12.2016, 19:27 + schrieb Michal Terepeta: >> (isn't that's what perf.haskell.org is doing?) > > for compiler performance, it only reports the test suite perf test > number so far. > > If someone modifies the

Re: [ANNOUNCE] Glasgow Haskell Compiler 8.0.2 is available!

2017-01-11 Thread Ben Gamari
Ben Gamari <b...@well-typed.com> writes: >=== > The Glasgow Haskell Compiler -- version 8.0.2 >=== > > The GHC team is happy to at last annou

GHC 8.2.1 tree freeze timing

2017-01-09 Thread Ben Gamari
Hello everyone, GHC 8.2.1 is quickly approaching. Our plan is to do a release candidate in February, so we would like to have the tree sorted out by the end of this month. Consequently, I would like to set a general feature freeze for 30 Janary 2016. If you are concerned that your work isn't

GHC 8.2.1 tree freeze timing

2017-01-09 Thread Ben Gamari
tl;dr. The feature freeze for GHC 8.2 will happen on 30 January 2016. Get any patches you'd like to see in 8.2 up on Phabricator soon! Hello everyone, GHC 8.2.1 is quickly approaching. Our plan is to do a release candidate in February, so we would like to have the tree sorted out by the

[ANNOUNCE] Glasgow Haskell Compiler 8.0.2 is available!

2017-01-11 Thread Ben Gamari
=== The Glasgow Haskell Compiler -- version 8.0.2 === The GHC team is happy to at last announce the 8.0.2 release of the Glasgow Haskell Compiler. Source and binary

Re: Trac to Phabricator (Maniphest) migration prototype

2017-01-10 Thread Ben Gamari
Matthew Pickering writes: > Dear devs, > > I have completed writing a migration which moves tickets from trac to > phabricator. The conversion is essentially lossless. The trac > transaction history is replayed which means all events are transferred > with their

Re: [Haskell-cafe] ANN: `dump-core` a prettier GHC core viewer

2017-01-12 Thread Ben Gamari
On January 12, 2017 1:36:12 PM EST, Iavor Diatchki wrote: >Hello, > >Over the holidays I wrote a small GHC plugin to help me do some >low-level >optimizations of Haskell code. I thought it might be of use to other >people too, so please try it out! > >When enabled, the

Re: Compiling on OpenBSD-current

2016-12-01 Thread Ben Gamari
Reid Barton writes: > https://phabricator.haskell.org/D2673 is responsible. It adds > CONF_LD_LINKER_OPTS_STAGE0 to $1_$2_$3_ALL_LD_OPTS, which is > documented as "Options for passing to plain ld", which is okay. But > just below that the same variable $1_$2_$3_ALL_LD_OPTS is

Re: testsuite broken

2016-12-01 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > Yikes. I can’t run the testsuite on Linux (debian ? I think…). See below. > I installed python3 by saying > apt-get install python3 > And indeed > > python3 --version > > Python 3.2.3 For the record I've opened #12909

Re: [ANNOUNCE] GHC 8.0.2 release candidate 1

2016-11-29 Thread Ben Gamari
Jens Petersen <juhpeter...@gmail.com> writes: > On 26 November 2016 at 07:38, Ben Gamari <b...@well-typed.com> wrote: > >> http://downloads.haskell.org/~ghc/8.0.2-rc1/ >> > > Thank you, I built it for Fedora 25 (just released last week) and Rawhide: > &g

Re: Measuring performance of GHC

2016-12-05 Thread Ben Gamari
Michal Terepeta writes: > Interesting! I must have missed this proposal. It seems that it didn't meet > with much enthusiasm though (but it also proposes to have a completely > separate > repo on github). > > Personally, I'd be happy with something more modest: > - A

Re: Measuring performance of GHC

2016-12-05 Thread Ben Gamari
Michal Terepeta writes: > Hi everyone, > > I've been running nofib a few times recently to see the effect of some > changes > on compile time (not the runtime of the compiled program). And I've started > wondering how representative nofib is when it comes to measuring

Re: Github repos for boot libraries

2017-01-05 Thread Ben Gamari
Edward Kmett writes: > For reference, the master repository for transformers is at > > http://hub.darcs.net/ross/transformers > > We should probably edit the 'website' link for that github repository to at > least point there. > > I don't have access to do so, however. > >

[ANNOUNCE] Formation of the initial GHC Steering Committee

2017-01-03 Thread Ben Gamari
(@mchakravarty) * Iavor Diatchki (@yav) * Atze Dijkstra (@atzedijkstra) * Richard Eisenberg (@goldfirere) * Ben Gamari (@bgamari) * Simon Marlow (@simonmar) * Ryan Newton (@rrnewton) * Simon Peyton-Jones (@simonpj) The body will be chaired jointly by Simon Marlow and Simon Peyton-Jones. Since

Phabricator upgrade tomorrow

2017-01-07 Thread Ben Gamari
Hello everyone! Currently our Phabricator installation is quite old, based on a commit from last July. Given that I have a bit of breathing room now between 8.0.2 and 8.2.1, I'd like to take this opportunity to do an upgrade tomorrow if no one objects. Given that this is the first time I have

Re: Trac to Phabricator (Maniphest) migration prototype

2017-01-07 Thread Ben Gamari
Matthew Pickering writes: > Dear devs, > Hi Matthew and Dan, First, thanks for your work on this; it is an impressive effort. Reconstructing a decade of tickets with broken markup, tricky syntax, and a strange data model is no easy task. Good work so far! On the

Re: Phabricator upgrade underway

2017-01-09 Thread Ben Gamari
Ben Gamari <b...@well-typed.com> writes: > Hello everyone, > > I'll be bringing down Phabricator for an upgrade in a few minutes. I'll > let you know when things are back up. > Hello everyone, The upgrade should now be complete. Feel free to resume your typical Phabric

Re: Contributing Examples to the Documentation

2017-01-04 Thread Ben Gamari
Sunjay Varma writes: > Hi, > I'm considering contributing examples to the documentation. I wanted to > start with something like Data.List because it is one of the modules I end > up using the most. I think a few examples for each function would help > users understand

Phabricator upgrade underway

2017-01-08 Thread Ben Gamari
Hello everyone, I'll be bringing down Phabricator for an upgrade in a few minutes. I'll let you know when things are back up. Cheers, - Ben signature.asc Description: PGP signature ___ ghc-devs mailing list ghc-devs@haskell.org

Re: nofib on Shake

2017-01-08 Thread Ben Gamari
Michal Terepeta writes: > Hi all, > > While looking at nofib, I've found a blog post from Neil Mitchell [1], > which describes a Shake build system for nofib. The comments mentioned > that this should get merged, but it seems that nothing actually happened? > Is there

Re: Debugging GHC with GHCi

2017-01-08 Thread Ben Gamari
Thomas Jakway writes: > I want to be able to load certain GHC modules in interpreted mode in > ghci so I can set breakpoints in them. I have tests in the testsuite > that are compiled by inplace/bin/ghc-stage2 with -package ghc. I can > load the tests with ghc-stage2

Re: Confused about the sub-modules

2016-12-21 Thread Ben Gamari
Erik de Castro Lopo writes: > Edward Z. Yang wrote: > >> Not any more. The commit just has to exist in the remote repo (that's >> what the lint checks.) > > So this is where I am running into trouble. Everything for process > and directory is fine, but for Cabal and

Re: User manual broken

2016-12-22 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > I’m getting tons of this stuff from the user manual type setting. Might > someone fix it? Hmm, I've tried a few environments and have so far been unable to reproduce this. what version of sphinx-build are you using (e.g.

Re: User manual broken

2016-12-22 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > I’m getting tons of this stuff from the user manual type setting. Might > someone fix it? Yes, I'm on it. Cheers, - Ben signature.asc Description: PGP signature ___ ghc-devs mailing

[ANNOUNCE] GHC 8.0.2 release candidate 2

2016-12-22 Thread Ben Gamari
Hello everyone, The GHC team is happy to announce the second candiate of the 8.0.2 release of the Glasgow Haskell Compiler. Source and binary distributions are available at http://downloads.haskell.org/~ghc/8.0.2-rc2/ This is the second and likely final release candidate leading up the

Re: Reading source annotations during type checking

2016-12-19 Thread Ben Gamari
Alan, did you see this? Alejandro Serrano Mena writes: > Dear GHC devs, > Is there a way to retrieve "source annotations" (as defined by > https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/extending_ghc.html#source-annotations) > during type checking. In

Re: Will directory 1.3.0.0 be shipped with GHC 8.0.2?

2016-12-19 Thread Ben Gamari
Andrés Sicard-Ramírez writes: > Dear all, > > I got directory 1.3.0.0 after installing GHC 8.0.2 RC2 (which hasn't > been announced) using: > The source release went out last week. I'll likely announce the availability of builds tomorrow or Wednesday. Indeed GHC 8.0.2 will

Re: Measuring performance of GHC

2016-12-06 Thread Ben Gamari
Johannes Waldmann writes: > Hi, > >> ... to compile it with a profiled GHC and look at the report? > > How hard is it to build hackage or stackage > with a profiled ghc? (Does it require ghc magic, or can I do it?) > Not terribly hard although it could be made

Re: Measuring performance of GHC

2016-12-06 Thread Ben Gamari
Michal Terepeta <michal.terep...@gmail.com> writes: >> On Tue, Dec 6, 2016 at 2:44 AM Ben Gamari <b...@smart-cactus.org> wrote: >> >>I don't have a strong opinion on which of these would be better. >>However, I would point out that currently the tests/perf/

Re: Measuring performance of GHC

2016-12-07 Thread Ben Gamari
Johannes Waldmann writes: > Hi Ben, thanks, > > >> 4. run the build, `cabal configure --ghc-options="-p -hc" $args && cabal >> build` > > cabal configure $args --ghc-options="+RTS -p -hc -RTS" > Ahh, yes, of course. I should have tried this before hitting

GHC 8.2.1 status

2017-03-27 Thread Ben Gamari
Hello everyone, Here is your periodic release update. After a number of false-starts, the tree is finally approaching a releasable state. Last week I cut the ghc-8.2 branch and things have been stabilizing ever since. At this point we are waiting on only a couple more fixes before the rc1 source

Re: GHC 8.2.1 status

2017-03-27 Thread Ben Gamari
George Colpitts writes: > Thanks Ben. When you have a chance it would be good to update the status > page wrt what we > will be getting, specifically will Backpack be in 8.2.1 > Hi George, I just reviewed the

Re: [commit: ghc] master: rts linker: Introduce MachOTypes (8ed29b5)

2017-03-27 Thread Ben Gamari
Moritz Angermann writes: > Hi Gabor, > > thanks! And sorry for causing trouble. I’ll look into the MachO > case. > Thanks for handling this Gabor and Moritz! Cheers, - Ben signature.asc Description: PGP signature ___

Re: Building head on Openbsd

2017-03-26 Thread Ben Gamari
Karel Gardas writes: > On 03/26/17 04:54 PM, Sergei Trofimovich wrote: >> On Sun, 26 Mar 2017 15:08:50 +0200 >> Karel Gardas wrote: >> >>> On 03/26/17 03:04 PM, Sergei Trofimovich wrote: I guess openbsd does not have definition of EM_PPC64

D3316 status

2017-03-29 Thread Ben Gamari
Hi Richard, It took me a bit longer than expected to get back to D3316 but I think I am now done. It wasn't quite as trivial as I thought it might be, so I thought I would summarize what was needed, 1. tcSplitTyConApp_maybe and tcRepSplitTyConApp_maybe have been moved from TcType to Type to

Re: Stat too good

2017-03-18 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > Ben, > I still get these four stat-too-good "failures" on 64-bit Linux. > > Unexpected stat failures: > >/tmp/ghctest-ca0gfq/test spaces/./perf/compiler/T13035.run T13035 [stat > too good] (normal) > >

Re: Why are there no Show instances for internal types

2017-03-18 Thread Ben Gamari
Tom Sydney Kerckhove writes: > On 19-03-17 02:08:56, Rahul Muttineni wrote: >> Syd, can you tell us what kind of things you were trying to print out? > > Maybe I wasn't very clear. > I'm trying to visualise the internal structure of some of the > typechecker's output. >

Re: Adding a module

2017-03-16 Thread Ben Gamari
Simon Peyton Jones via ghc-devs writes: > If you add a module to GHC, I know you need to extend ghc.cabal.in. But > also ghc.mk? Otherwise I get hits > > > If you add a module to GHC, I know you need to extend ghc.cabal.in. But > also ghc.mk? Otherwise I get hits >

Re: Why are there no Show instances for internal types

2017-03-18 Thread Ben Gamari
Rahul Muttineni writes: > I think another way to go about this problem is to figure out an > alternative to baking in DynFlags to SDocContext (which I feel is the core > problem here). The only use of those DynFlags is via sdocWithDynFlags and > 94 call sites use them. >

Re: Why are there no Show instances for internal types

2017-03-18 Thread Ben Gamari
On March 18, 2017 9:03:48 AM EDT, Tom Sydney Kerckhove wrote: Snip. > >My questions for you: > >- Is there a reason that there are no derived 'Show' instances for most > types? As Richard mentioned, we don't derive Show due to code size and compilation time

Re: LLVM calling convention for AVX2 and AVX512 registers

2017-03-15 Thread Ben Gamari
Siddhanathan Shanmugam writes: >> I would be happy to advise if you would like to pick this up. > > Thanks Ben! > >> This would mean that Haskell libraries compiled with different flags >> would not be ABI compatible. > > Wait, can we not maintain ABI compatibility if

Re: LLVM calling convention for AVX2 and AVX512 registers

2017-03-14 Thread Ben Gamari
Edward Kmett writes: > Hrmm. In C/C++ I can tell individual functions to turn on additional ISA > feature sets with compiler-specific __attribute__((target("avx2"))) tricks. > This avoids complains from the compiler when I call builtins that aren't > available at my current

Re: LLVM calling convention for AVX2 and AVX512 registers

2017-03-15 Thread Ben Gamari
It's a bit unclear from this comment whether this statement is a critique of a particular implementation strategy for adding SIMD support to the NCG or a more general reflection on SIMD interfaces. From your later messages I infer the latter in my response; feel free to disregard if I

Re: LLVM calling convention for AVX2 and AVX512 registers

2017-03-15 Thread Ben Gamari
Carter Schonwald writes: > No matter *how* ghc ultimately bundles simd for high level > programming, it *will* have to bottom out into these target specific > operations at code gen time, and LLVM is *not* an abstraction for it. > I am very interested to hear what you

Re: PSA: perf.haskell.org/ghc temporarily out of order

2017-03-15 Thread Ben Gamari
Joachim Breitner writes: > Hi, > > a recent change to nofib > (https://phabricator.haskell.org/rNOFIB313812d319e009d698bc1a4d2e8ac26d4dfe3c0a) > broke the perf.haskell.org builder, so we won’t be getting perf > warnings until that is fixed. > I've pushed the michalt's

Re: LLVM calling convention for AVX2 and AVX512 registers

2017-03-15 Thread Ben Gamari
Edward Kmett writes: > Currently if you try to use a DoubleX4# and don't have AVX2 turned on, it > deliberately crashes out during code generation, no? I very well be missing something, but I don't believe this is true. This program compiles just fine with merely -fllvm -msse,

Re: LLVM calling convention for AVX2 and AVX512 registers

2017-03-15 Thread Ben Gamari
Carter Schonwald writes: > solution: lets call these registers what they are, instead of pretending > they're portable. we are not going to find the right abstraction in the > first go. lets not do that. first get it working sanely, then figure out > proper

Re: Translation of GHC typechecker output to haskell-src-exts's 'Type'

2017-04-01 Thread Ben Gamari
Tom Sydney Kerckhove writes: > Dear GHC Devs, Hi Tom, > Because of the unwieldy nature of the data that the GHC type checker > outputs, I am trying to convert a GHC 'Type' [1] to a haskell-src-ext > 'Type' [2]. > > The translation does not need to be perfect for now,

GHC 8.2.1-rc1 source tarball availability

2017-04-03 Thread Ben Gamari
tl;dr: If you would like to produce a binary distribution for GHC 8.2.1-rc1 then let me know, grab the source distribution and start building. The binary distributions will be announced one week from today. Hello GHC packagers, I am happy to announce the release of the

Re: GHC 8.2.1-rc1 source tarball availability

2017-04-04 Thread Ben Gamari
Alan & Kim Zimmerman writes: > There is no tag in the source tree, which commit has been used? > As I mention in the message, I intentionally held off on pushing the tag to avoid the need to force push in case this commit ends up being bad. The tarball was produced from

Re: Windows 10 Creators Update will break GHC (Was FW: GHC on Windows 10 15019+)

2017-04-04 Thread Ben Gamari
Phyx writes: > We have discussed a few options on what to do, but haven't gotten a > conclusion/concensus yet. > Tamar and I have discussed this on IRC in the passed. I tend to agree that we will need to, at the very least, put out a new 8.0.2. I'm not sure about 7.10.

Re: Windows 10 Creators Update will break GHC (Was FW: GHC on Windows 10 15019+)

2017-04-04 Thread Ben Gamari
Ryan Trinkle writes: > I would strongly urge that any new tarballs be released under new names, > and that the old tarballs be kept in place. Changing existing tarball URLs > silently causes breakage for Nix, and, I would imagine, for any other build > systems that are

Re: [ANNOUNCE] GHC 8.2.1 release candidate 1

2017-04-10 Thread Ben Gamari
"Boespflug, Mathieu" writes: > Hi Ben, > > this is great news! I'm particularly keen on learning more about two points > you mentioned in your email: > > * Compiler performance: do you have any numbers to quantify what 8.0 vs 8.2 > is likely to look like? I'm afraid the best I

<    1   2   3   4   5   6   7   8   9   10   >