emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#54793: closed (guile-fibers does not cross-compile)


From: GNU bug Tracking System
Subject: bug#54793: closed (guile-fibers does not cross-compile)
Date: Thu, 14 Apr 2022 12:52:02 +0000

Your message dated Thu, 14 Apr 2022 14:50:33 +0200
with message-id <874k2vakx2.fsf@gnu.org>
and subject line Re: bug#54793: guile-fibers does not cross-compile
has caused the debbugs.gnu.org bug report #54793,
regarding guile-fibers does not cross-compile
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
54793: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54793
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: guile-fibers does not cross-compile Date: Fri, 08 Apr 2022 17:37:18 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello,

guile-fibers does not cross-compile, the error is the following:

--8<---------------cut here---------------start------------->8---
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"
--8<---------------cut here---------------end--------------->8---

It breaks the build of novena, pine64 and pinebook-pro images, see:
https://ci.guix.gnu.org/eval/216001?status=failed.

Thanks,

Mathieu



--- End Message ---
--- Begin Message --- Subject: Re: bug#54793: guile-fibers does not cross-compile Date: Thu, 14 Apr 2022 14:50:33 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi!

Mathieu Othacehe <othacehe@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@1.1: Support cross-compilation.

Thanks!

Ludo’.


--- End Message ---

reply via email to

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