Re: submodules

2017-04-11 Thread Reid Barton
ust a name for the remote within your local ghc checkout, so it can be anything you choose. Regards, Reid Barton On Tue, Apr 11, 2017 at 11:53 AM, Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> wrote: > Devs > > I want to build a GHC from someone else repo; this one actually > g.

Re: Where do I start if I would like help improve GHC compilation times?

2017-04-09 Thread Reid Barton
he copy of DynFlags that you are testing on and the compiler's own modules. Regards, Reid Barton On Sun, Apr 9, 2017 at 5:37 AM, Alfredo Di Napoli <alfredo.dinap...@gmail.com> wrote: > Hey Ben, > > as promised I’m back to you with something more articulated and hopefully > meaningful. I

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

2017-03-19 Thread Reid Barton
On Sun, Mar 19, 2017 at 2:16 PM, Joachim Breitner <m...@joachim-breitner.de> wrote: > Hi, > > Am Sonntag, den 19.03.2017, 13:23 -0400 schrieb Reid Barton: >> ght? On Sat, Mar 18, 2017 at 1:05 PM, Joachim Breitner >> > <m...@joachim-breitner.de> wrote:

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

2017-03-19 Thread Reid Barton
logs/, right? But even those are missing. So something seems to be more seriously broken. Regards, Reid Barton > Greetings, > Joachim > > Am Samstag, den 18.03.2017, 01:56 -0400 schrieb Reid Barton: >> Don't know whether it is the same issue, but perf.haskell.org seems >> to

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

2017-03-17 Thread Reid Barton
Don't know whether it is the same issue, but perf.haskell.org seems to still have not built anything for the past 3 days, according to https://github.com/nomeata/ghc-speed-logs/commits/master. Regards, Reid Barton On Wed, Mar 15, 2017 at 5:49 PM, Ben Gamari <b...@smart-cactus.org>

Re: [commit: ghc] master: Deserialize IfaceId more lazily (6446254)

2017-03-08 Thread Reid Barton
gt; | >--- > | > | commit 644625449a9b6fbeb9a81f1a7d0e7d18424fb707 > | Author: Reid Barton <rwbar...@gmail.com> > | Date: Fri Mar 3 15:49:38 2017 -0500 > | > | Deserialize IfaceId more lazily > | > | This change sped up th

ghc speed log build script

2017-02-10 Thread Reid Barton
ow exactly what it does so that I can experiment with custom build settings without worrying about them being overridden by your build script. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/li

More history in perf.haskell.org graphs

2017-02-01 Thread Reid Barton
and then narrow in on commits that caused regressions. Is there a way to do that using the https://perf.haskell.org/ghc/ website? Failing that, is the data that goes into these graphs available for download in some form? Regards, Reid Barton ___ ghc-devs mailing

Re: Lazy ST vs concurrency

2017-01-30 Thread Reid Barton
with no users, it would be better to start with correct but slow, of course. Regards, Reid Barton On Mon, Jan 30, 2017 at 11:18 AM, David Feuer <da...@well-typed.com> wrote: > I forgot to CC ghc-devs the first time, so here's another copy. > > I was working on #11760 this weekend,

Re: Arc doesn't work

2017-01-20 Thread Reid Barton
On Fri, Jan 20, 2017 at 12:50 PM, Simon Peyton Jones <simo...@microsoft.com> wrote: > Yes that worked! THanks > https://phabricator.haskell.org/D2995 > > Will you make that change? I have done so, in commit 5ff812c14594f507c48121f16be4752eee6e3c88. Regards, Reid Barton > S

Re: Arc doesn't work

2017-01-20 Thread Reid Barton
From the python 3 reference: New in version 3.3: The 'rb' prefix of raw bytes literals has been added as a synonym of 'br'. Simon, can you try replacing that occurrent of rb by br and see whether that fixes it? Just the one on the line it complained about. Regards, Reid Barton On Fri, Jan 20

Re: Large tuple strategy

2017-01-05 Thread Reid Barton
OK, I filed https://ghc.haskell.org/trac/ghc/ticket/13072 for this. Regards, Reid Barton On Thu, Jan 5, 2017 at 10:28 AM, Simon Peyton Jones <simo...@microsoft.com> wrote: > | It occurred to me that rather than moving just these instances to a new > | module, we could move the

Large tuple strategy

2017-01-05 Thread Reid Barton
, but the difficulties here don't seem to be insurmountable. Does this seem like a reasonable plan? Anything important I have missed? Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: Compiling on OpenBSD-current

2016-12-01 Thread Reid Barton
to $1_$2_$3_GHC_LD_OPTS ("Options for passing to GHC when we use it for linking"), which is wrong because GHC uses gcc to do the link, not ld. Regards, Reid Barton On Thu, Dec 1, 2016 at 6:58 AM, Karel Gardas <karel.gar...@centrum.cz> wrote: > > I've been hit by this during

Re: 177 unexpected test failures on a new system -- is this yet another linker issue?

2016-11-10 Thread Reid Barton
GNU-variant filename offset not > found while reading filename f Did this line get truncated? It might help to have the rest of it. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: Allow top-level shadowing for imported names?

2016-10-04 Thread Reid Barton
e worried about? It's already legal to have a clash between imported names as long as you don't refer to the colliding name. For example if one of my imports A exports a name `foo` which I don't use, and then another import B starts to export the same name `foo`, there won't be any error as long as

Re: Linux (ELF) Support for "ghc -static -shared"

2016-06-08 Thread Reid Barton
step up might be providing *_PIC.a objects for the base libraries, > so that the non-PIC objects are still available for the majority of cases > in which PIC is not required. > I think we don't do this mainly because it would inflate the size of the binary distribution significantly for so

Re: Why upper bound version numbers?

2016-06-08 Thread Reid Barton
ly obvious when a program fails to build due to a change in base and the normal reaction to a version error with base is just to retry with --allow-newer=base anyways. Of course the best thing is to stick to the part of the language that is unlikely to be broken by future versions of base; sadl

Re: Issue using StrictData

2016-03-19 Thread Reid Barton
m guessing you meant `other-extensions: StrictData`. Regards, Reid Barton On Sat, Mar 19, 2016 at 10:16 PM, Andrés Sicard-Ramírez <a...@eafit.edu.co> wrote: > Hi, > > I know this isn't a convenient issue report because the "test case" > isn't easily reproducible. Since

Re: Missing definitions of associated types

2016-02-18 Thread Reid Barton
hatever other weird things they want. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: GHC build time graphs

2016-02-12 Thread Reid Barton
tes, whereas ghc-8.0 takes 25.5 >> minutes. This isn't entirely unexpected but the change is quite a bit >> larger than I had thought. It would be nice to know which commits are >> responsible. >> > > btw, just recent experience on ARM64 (X-gene board): > > bootstrappi

Re: Expected a type

2016-02-08 Thread Reid Barton
s kinds in functions? Would it > make sense? May I file a ticket? Normally the reason to define a function is so that you can apply it to something. But there are no values of the promoted type A to apply f to, aside from perhaps undefined. What would be the purpose of allowing this? Regards,

Re: Unexpected lack of change in ghcspeed results

2016-01-28 Thread Reid Barton
On Wed, Jan 27, 2016 at 5:35 PM, Reid Barton <rwbar...@gmail.com> wrote: > Oh! I guess the name ghcspeed was too memorable... and browser bar > autocompletion did the rest. Sorry for the noise! > I noticed that https://perf.haskell.org/ghc/ still says "GHC Speed" in th

Re: Unexpected lack of change in ghcspeed results

2016-01-27 Thread Reid Barton
Oh! I guess the name ghcspeed was too memorable... and browser bar autocompletion did the rest. Sorry for the noise! Regards, Reid Barton On Wed, Jan 27, 2016 at 5:23 PM, Joachim Breitner <m...@joachim-breitner.de> wrote: > Dear Reid, > > Am Mittwoch, den 27.01.2016, 14:50 -05

Re: Confused about specified type variables using -XTypeApplications

2016-01-07 Thread Reid Barton
s. Maybe it should be the default when TypeApplications is enabled? Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: Kinds of type synonym arguments

2015-12-21 Thread Reid Barton
; Int#, Float#, Double# etc. > > > > Worth a wiki page and a ticket. > There is already a ticket at least, https://ghc.haskell.org/trac/ghc/ticket/1311. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: question about coercions between primitive types in STG level

2015-12-07 Thread Reid Barton
ode that compiles to it? But in any case "movq 16(%xmm1),%rax" is certainly wrong, it should be offseting 16 bytes from a register like Sp or R1. Regards, Reid Barton On Mon, Dec 7, 2015 at 11:21 AM, Ömer Sinan Ağacan <omeraga...@gmail.com> wrote: > Thanks Simon, primops wo

Re: How do I use CallStack?

2015-12-06 Thread Reid Barton
ckage/base-4.8.1.0/docs/GHC-Stack.html. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: stg_upd_frame_info still broken

2015-10-27 Thread Reid Barton
t commit or a related one was not correct. Windows is the only (major?) platform on which the ghc executable is built statically by default, and therefore uses ghc's own runtime linker. I'll try building a Linux ghc with GHC_DYNAMIC=NO and if it exhibits the same problem I should be able to

Re: stg_upd_frame_info still broken

2015-10-27 Thread Reid Barton
I got lucky and found an error in the first place I looked. I have no way to test it, but I expect that https://phabricator.haskell.org/D1382 will fix the build on Windows, or at least make it closer to correct :) Regards, Reid On Tue, Oct 27, 2015 at 11:25 AM, Reid Barton <rwbar...@gmail.

Re: stg_upd_frame_info still broken

2015-10-27 Thread Reid Barton
Unfortunately the DYNAMIC_GHC_PROGRAMS=NO build on Linux did produce a working ghci, so I guess that leaves reviewing the likely culprit patch(es) very carefully... Regards, Reid Barton On Tue, Oct 27, 2015 at 10:57 AM, Simon Peyton Jones <simo...@microsoft.com> wrote: > I'm pr

Re: MIN_VERSION macros

2015-09-25 Thread Reid Barton
gh. (Also, I wonder how MIN_VERSION_* fits into a Backpack world...) Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: MIN_VERSION macros

2015-09-25 Thread Reid Barton
ind of situation (where the API of a package depends on the version of its dependencies) should hopefully be fairly rare in practice. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: Cannot have GHC in ARMv6 architecture

2015-09-09 Thread Reid Barton
mpile ARM registerised build. > But "./configure [...] --enable-unregisterised" should mean using the C backend, not LLVM, right? So this still looks strange. Also there is an explicit "-fllvm" on the failing ghc-stage1 command line. What is in your build.mk? Maybe you are using one of the build flavors that sets -fllvm explicitly? That said you can also try installing the supported version of LLVM for ghc 7.10, which is LLVM 3.5. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: Shared data type for extension flags

2015-09-03 Thread Reid Barton
> package-dependency between `ghc` and `Cabal`) > Surely this argument does not apply to a package created to hold data types that would otherwise live in the template-haskell or ghc packages. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: arc patch

2015-08-05 Thread Reid Barton
It's actually arc upgrade. I added a mention of this command to the wiki: https://ghc.haskell.org/trac/ghc/wiki/Phabricator#HelpImgettingastrangeerrorwhenrunningarcthatIdidntgetyesterday Regards, Reid Barton On Wed, Aug 5, 2015 at 12:09 PM, Thomas Miedema thomasmied...@gmail.com wrote: Try

Re: Typechecker / OverloadedStrings question 7.8 vs. 7.10

2015-08-03 Thread Reid Barton
is ambiguous. It might help to phrase the error message text in a way that implies that the list of instances it displays is not necessarily exhaustive. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman

Re: Typechecker / OverloadedStrings question 7.8 vs. 7.10

2015-08-02 Thread Reid Barton
, but it seems a bit wordy for a compiler error... Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Re: Problem about `DerivedConstants.h` and `tmp.c` in `includes/dist-derivedconstants/header`, GHC 7.8.3

2015-06-16 Thread Reid Barton
object file and writes the information it gathered to DerivedConstants.h. We do it this way now to support cross-compilation (in that case, the C compiler generates object files for the target platform so we can't simply run them on the system that is building GHC). Regards, Reid Barton

Re: ghc-7.10 branch regression

2015-04-15 Thread Reid Barton
llvm-3.5 for the 7.10 series. Why do we need to revert anything, can't we just make a one-character fix of 3.6 to 3.5 on the ghc-7.10 branch? Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman

Re: 7.10.1RC2 compile problem? ghc: internal error: PAP object entered!

2015-01-31 Thread Reid Barton
encounter this when I tried to reproduce the issue because I have a bunch of lines like constraint: template-haskell installed in my .cabal/config file. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman

Re: Failing tests: literals T5681 annotations

2014-12-26 Thread Reid Barton
. I filed a ticket ( http://ghc.haskell.org/trac/ghc/ticket/9929). Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Build time regressions

2014-10-01 Thread Reid Barton
Richard fixed in https://ghc.haskell.org/trac/ghc/ticket/9233. (See g/F.hs from my minimized.tar.gz.) If so then I think it is actually caused simply by creating the worker function, and doesn't have to do with unpacking, only the strictness of the Bar field. Regards, Reid Barton

Re: HEADS UP: Running cabal install with the latest GHC

2014-09-27 Thread Reid Barton
with GHC HEAD. So if your cabal-install has stopped working with HEAD, try building the latest version as outlined in Edward's email. Cabal wizards, any gotchas with current Cabal GHC HEAD I should be aware of? Regards, Reid Barton ___ ghc-devs mailing list

Re: Proposal: run GHC API tests on fast

2014-08-23 Thread Reid Barton
)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'` ... so ghcApi.o is getting removed before the final link step, I would guess. Regards, Reid Barton ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: segfault in RTS - can anyone help me tracking this bug down?

2014-05-28 Thread Reid Barton
There are a couple of recent GC-related bug fixes (#9045 and #9001). Before trying to track this down any further I suggest you try using the tip of the ghc-7.8 branch with commit fc0ed8a730 cherry-picked on top. Regards, Reid Barton On Wed, May 28, 2014 at 6:04 AM, Ömer Sinan Ağacan omeraga

Re: Windows build failures in FD.hs

2013-10-01 Thread Reid Barton
14.1.1.2. Regards, Reid Barton On Tue, Oct 1, 2013 at 6:08 PM, Simon Peyton-Jones simo...@microsoft.comwrote: I have not seen that and I build on Windows all the time. The relevant big in FD.hs is #ifndef mingw32_HOST_OS getUniqueFileInfo _ dev ino = return (fromIntegral dev, fromIntegral