great – it’s not just me. I’ll await further guidance,
and revert to “sh validate” meanwhile.
Thanks
Simon
*From:*ghc-devs *On Behalf Of *Alp
Mestanogullari
*Sent:* 04 April 2019 16:25
*To:* ghc-devs@haskell.org
*Subject:* Re: In-tree invocation of GHC built with Hadrian
I can reproduce
OK, that's great - it's not just me. I'll await further guidance, and revert
to "sh validate" meanwhile.
Thanks
Simon
From: ghc-devs On Behalf Of Alp Mestanogullari
Sent: 04 April 2019 16:25
To: ghc-devs@haskell.org
Subject: Re: In-tree invocation of GHC built with Hadrian
I can
I can reproduce this problem. This doesn't come up when building stage2
with that executable (stage1) because the commands that Hadrian emits
all do something along the lines of `-no-user-package-db -package-db
_build/stage0/lib/package.conf.d`, which masks the problem. I'm looking
into this,
supported","NO")
,("Have native code generator","YES")
,("Support SMP","YES")
,("Tables next to code","YES")
,("RTS ways","v thr")
,("RTS expects libdw","NO")
,("Support dynam
920190404", got "8064")
|
1 | module Foo where
|^^^
| -Original Message-
| From: Moritz Angermann
| Sent: 04 April 2019 12:47
| To: Simon Peyton Jones
| Subject: Re: In-tree invocation of GHC built with Hadrian
|
| Yes, that looks wrong indeed. It shouldn't
No, definitely not in the current directory. There is only one file in the
directory, Foo.hs
Simon
| -Original Message-
| From: Matthew Pickering
| Sent: 04 April 2019 12:46
| To: Simon Peyton Jones
| Cc: ghc-devs@haskell.org
| Subject: Re: In-tree invocation of GHC built
Do you have any .ghc-environment files in your working directory?
Matt
On Thu, Apr 4, 2019 at 12:21 PM Simon Peyton Jones via ghc-devs
wrote:
>
> How can I run the inplace binary built by Hadrian. I tried this
>
> ~/code/HEAD/_build/stage0/bin/ghc -c Foo.hs
>
> but I got this
>
>
How can I run the inplace binary built by Hadrian. I tried this
~/code/HEAD/_build/stage0/bin/ghc -c Foo.hs
but I got this
~/code/HEAD/_build/stage0/bin/ghc -c Foo.hs
Foo.hs:1:8: error:
Bad interface file: /opt/ghc/8.6.4/lib/ghc-8.6.4/base-4.12.0.0/Prelude.hi
mismatched