Viktor Dukhovni writes:
> On Thu, Mar 11, 2021 at 07:53:20PM +, Simon Peyton Jones via ghc-devs
> wrote:
>
>> Voila
>
> Thanks!
>
>> /etc/nsswitch.conf group entry
>> group: files systemd
>
> The main "suspicious" thing here (decoded traces below my signature) is
> that the
Tom Ellis writes:
> A user posted the following to the ghc-proposals repository. Both JB
> and RAE suggested ghc-devs as a more appropriate forum. Since I have
> no idea whether the user has even ever used a mailing list before I
> thought I would lower the activation energy by posting their
I've started a review, but sent along what I had when dinner was ready.
Hopefully more later, but don't wait up for me!
Incidentally: this is a monstrous patch, and so there is a strong incentive
just to get on with it without resolving all these quibbles. I won't stand in
your way on that
OK thanks. Let's pursue this further on this ticket:
https://gitlab.haskell.org/ghc/ghc/-/issues/19525
Simon
| -Original Message-
| From: ghc-devs On Behalf Of Viktor
| Dukhovni
| Sent: 11 March 2021 20:36
| To: ghc-devs@haskell.org
| Subject: Re: WSL2
|
| On Thu, Mar 11, 2021
On Thu, Mar 11, 2021 at 07:53:20PM +, Simon Peyton Jones via ghc-devs wrote:
> Voila
Thanks!
> /etc/nsswitch.conf group entry
> group: files systemd
The main "suspicious" thing here (decoded traces below my signature) is
that the nsswitch.conf file is configured to try "systemd"
Voila
simonpj@MSRC-3645512:~$ sh /mnt/c/tmp/getgrnam.sh
/etc/nsswitch.conf group entry
group: files systemd
== Tracing getent group xyzzy0
1f8b080818754a6374726163652e6f757400ed5a6d73daba12fe9e5fa1e1cc9d212d09b6e4
On Thu, Mar 11, 2021 at 12:21:15PM +, Simon Peyton Jones via ghc-devs wrote:
> Like Tom, I'm not following the details, but if you want me to run
> some commands and send you the output I can do that. Just send the
> script!
See attached. If any of the prerequisite shell utilities are not
Gergo
With HEAD, and -O, I get the exact same (good code) for these two functions:
f x = any (x ==) [1, 5, 7::Int]
g x = elem x [2, 6, 9 :: Int]
namely
f = \ (x_aga :: Int) ->
case x_aga of { GHC.Types.I# x1_a13b ->
case x1_a13b of {
__DEFAULT ->
PS: since this is not, apparently, just my stupidity, it would be good to open
a ticket and transfer this thread to it. Would someone like to do that?
| -Original Message-
| From: ghc-devs On Behalf Of Tom Ellis
| Sent: 11 March 2021 11:41
| To: ghc-devs@haskell.org
| Subject: Re:
Like Tom, I'm not following the details, but if you want me to run some
commands and send you the output I can do that. Just send the script!
| -Original Message-
| From: ghc-devs On Behalf Of Tom Ellis
| Sent: 11 March 2021 11:41
| To: ghc-devs@haskell.org
| Subject: Re: WSL2
|
> On Mar 11, 2021, at 9:41 AM, Tom Ellis
> wrote:
>
> I'm not really following the details, but is this useful to you?
>
> % cat g.c && cc g.c -o g && ./g
> #include
> #include
> #include
> #include
>
> int main(int argc, char **argv)
> {
>char buf[1024];
>struct group g, *p;
>
On Thu, Mar 11, 2021 at 06:19:46AM -0500, Viktor Dukhovni wrote:
> On Thu, Mar 11, 2021 at 06:05:04AM -0500, Viktor Dukhovni wrote:
> > So the question is why the lookup is failing. To that end compiling a
> > tracing with "strace" the below C program should tell the story:
[...]
> To experiment
On Thu, Mar 11, 2021 at 06:05:04AM -0500, Viktor Dukhovni wrote:
> So the question is why the lookup is failing. To that end compiling a
> tracing with "strace" the below C program should tell the story:
>
> #include
> #include
> #include
> #include
>
> int main(int
On Thu, Mar 11, 2021 at 10:19:52AM +, Tom Ellis wrote:
> SPJ Wrote:
> > I've just installed WSL2 and built GHC. I get this (single)
> > validation failure in libraries/unix/tests/getGroupEntryForName. It
> > seems to be just an error message wibble, but I can't push a change
> > to master
A user posted the following to the ghc-proposals repository. Both JB
and RAE suggested ghc-devs as a more appropriate forum. Since I have
no idea whether the user has even ever used a mailing list before I
thought I would lower the activation energy by posting their message
for them.
SPJ Wrote:
> I've just installed WSL2 and built GHC. I get this (single)
> validation failure in libraries/unix/tests/getGroupEntryForName. It
> seems to be just an error message wibble, but I can't push a change
> to master because that'll affect everyone else.
Interesting, I've only ever built
16 matches
Mail list logo