unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Exact same 'call-with-temporary-directory' defined twice?
Date: Sun, 24 May 2020 22:59:19 +0200	[thread overview]
Message-ID: <87tv05yrq0.fsf@gnu.org> (raw)
In-Reply-To: <CAJ3okZ1ZiiNk=CjBSjgh0-VCw=dbdxwJH1GJYZ9Hk8_ccdnHog@mail.gmail.com> (zimoun's message of "Wed, 20 May 2020 14:10:08 +0200")

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> On Sun, 17 May 2020 at 23:53, Ludovic Courtès <ludo@gnu.org> wrote:
>
>> > Naively: does it make sense to move it to "guix/build/utils.scm"?
>>
>> No because it depends on (guix build syscalls) for ‘mkdtemp!’ and
>> there’s currently that assumption that (1) (guix build utils) can be
>> used on a statically-linked Guile, and (2) it has no dependencies.
>
> Thank you for the explanations.  I am not sure to understand the
> assumption (1) but never mind.

Regarding (1): a statically-linked Guile cannot call ‘dynamic-link’ to
access libc symbols, so it cannot use FFI bindings to libc such as those
in (guix build syscalls).

HTH!

Ludo’.


  reply	other threads:[~2020-05-24 20:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 23:14 Exact same 'call-with-temporary-directory' defined twice? zimoun
2020-05-06 13:54 ` Ludovic Courtès
2020-05-06 14:58   ` zimoun
2020-05-17 21:53     ` Ludovic Courtès
2020-05-20 12:10       ` zimoun
2020-05-24 20:59         ` Ludovic Courtès [this message]
2020-05-25 10:16           ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tv05yrq0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).