GNU bug report logs - #54793
guile-fibers does not cross-compile

Previous Next

Package: guix;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Fri, 8 Apr 2022 15:38:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 54793-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 54793-done <at> debbugs.gnu.org
Subject: Re: bug#54793: guile-fibers does not cross-compile
Date: Thu, 14 Apr 2022 14:50:33 +0200
Hi!

Mathieu Othacehe <othacehe <at> gnu.org> skribis:

> guile-fibers does not cross-compile, the error is the following:
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> In procedure dlopen: file "/tmp/guix-build-guile-fibers-1.1.0.drv-0/fibers-1.1.0/.libs/epoll.so", message "/tmp/guix-build-guile-fibers-1.1.0.drv-0/fibers-1.1.0/.libs/epoll.so: wrong ELF class: ELFCLASS32"

I pushed cross-compilation support upstream:

  c4756b9 epoll: Do not refer to 'epoll.so'-provided variables at expansion time.
  393ecc6 build: Pass '--target' and '-L' to 'guild compile' when cross-compiling.
  e5fa008 build: Do not load 'epoll.so' during cross-compilation.

… and an equivalent fix in Guix:

  1f82602153 gnu: guile-fibers <at> 1.1: Support cross-compilation.

Thanks!

Ludo’.




This bug report was last modified 3 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.