From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: ARM VM with networking support? Date: Sun, 17 Nov 2019 18:06:57 +0100 Message-ID: <87eey6o2j2.fsf@gnu.org> References: <87r22p3trp.fsf@gnu.org> <87ftj4vqcy.fsf@gmail.com> <87mud59d47.fsf@gnu.org> <20191111082304.4c92b664@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37752) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWO0q-0007uM-HC for guix-devel@gnu.org; Sun, 17 Nov 2019 12:07:01 -0500 In-Reply-To: <20191111082304.4c92b664@scratchpost.org> (Danny Milosavljevic's message of "Mon, 11 Nov 2019 08:23:04 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel Hi Danny, Danny Milosavljevic skribis: >> What=E2=80=99s the story with =E2=80=98readdir=E2=80=99? > > Shooting in the dark, we've had "fun" with readdir on ARM before in GNU M= es and > ended up doing the following: > > #ifdef __arm__ > #define O_DIRECTORY 0x4000 > /*#define O_DIRECT 0x10000*/ > #else > #define O_DIRECTORY 0x10000 > #endif Wat? :-) (It=E2=80=99s 040000 in arm/fcntl.h actually!) How would you explain that: guix environment -s armhf-linux --ad-hoc guile-static-stripped --no-graft= s -- guile -q gives us a Guile with a valid =E2=80=98readdir=E2=80=99 then? I mean, the = initrd runs =E2=80=98guile-static-stripped=E2=80=99? Thanks, Ludo=E2=80=99.