guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARM VM with networking support?


From: Ludovic Courtès
Subject: Re: ARM VM with networking support?
Date: Sun, 17 Nov 2019 18:06:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi Danny,

Danny Milosavljevic <address@hidden> skribis:

>> What’s the story with ‘readdir’?
>
> Shooting in the dark, we've had "fun" with readdir on ARM before in GNU Mes 
> and
> ended up doing the following:
>
> #ifdef __arm__
> #define O_DIRECTORY 0x4000
> /*#define O_DIRECT 0x10000*/
> #else
> #define O_DIRECTORY 0x10000
> #endif

Wat? :-)  (It’s 040000 in arm/fcntl.h actually!)

How would you explain that:

  guix environment -s armhf-linux --ad-hoc guile-static-stripped --no-grafts -- 
guile -q

gives us a Guile with a valid ‘readdir’ then?  I mean, the initrd runs
‘guile-static-stripped’?

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]