[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26341: [PATCH] build: vm: Add missing module.
From: |
Ludovic Courtès |
Subject: |
bug#26341: [PATCH] build: vm: Add missing module. |
Date: |
Wed, 05 Apr 2017 23:35:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello!
Mathieu Othacehe <address@hidden> skribis:
>> That said, we should improve this. Perhaps something along the lines of
>> the attached patch would work.
>>
>> Could you try and send an updated patch?
>
> Well, I tried a "guix system vm ..." with just my patch and it worked. I
> agree with you it shouldn't work because it is not possible to use FFI
> in static Guile.
>
> I don't exactly what happend but it might be something like that :
>
> (gnu build vm) -- uses module ----> (guix build syscalls) (with my patch)
> | |
> | |
> | -------- provides
> | | |
> | v v
> | mount umount (FFI versions)
> |
> -------------> (gnu build linux-boot)
> |
> | uses
> (gnu build file-systems)
> |
> |
> overrides mount and
> unount with libguile
> versions if you're
> using static Guile.
>
> So we end-up using libguile mount and umount in (gnu build vm) and not
> FFI versions of (guix build syscalls).
Yeah, I think there must have been a “(guix build syscalls) overrides
core binding ‘mount’” warning, and Guile chose the core binding over the
other one so things turned out to work fine.
> However, it is still a good idea to allow modules to use (guix build
> syscalls) independently of the fact that they are running inside static
> Guile or not.
Agreed!
Ludo’.
- bug#26341: [PATCH] build: vm: Add missing module., Mathieu Othacehe, 2017/04/02
- bug#26341: [PATCH] build: vm: Add missing module., Ludovic Courtès, 2017/04/04
- bug#26341: [PATCH] build: vm: Add missing module., Mathieu Othacehe, 2017/04/05
- bug#26341: [PATCH] build: vm: Add missing module., Mathieu Othacehe, 2017/04/05
- bug#26341: [PATCH] build: vm: Add missing module., Ludovic Courtès, 2017/04/05
- bug#26341: [PATCH] build: vm: Add missing module., Mathieu Othacehe, 2017/04/06
- bug#26341: [PATCH] build: vm: Add missing module., Ludovic Courtès, 2017/04/06
- bug#26341: [PATCH] build: vm: Add missing module., Ludovic Courtès, 2017/04/07
- bug#26341: [PATCH] build: vm: Add missing module., Mathieu Othacehe, 2017/04/08
- bug#26341: [PATCH] build: vm: Add missing module.,
Ludovic Courtès <=
bug#26341: [PATCH 1/2] build: syscalls: Allow mount and umount use from static Guile., Mathieu Othacehe, 2017/04/06
bug#26341: [PATCH 0/5] Fix warnings related to syscalls in static Guile., Mathieu Othacehe, 2017/04/08
bug#26341: [PATCH 3/5] build: syscalls: Add mount and umount to #:replace list., Mathieu Othacehe, 2017/04/08
bug#26341: [PATCH 4/5] build: syscalls: Add load-linux-module., Mathieu Othacehe, 2017/04/08