GNU bug report logs -
#54793
guile-fibers does not cross-compile
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 14 Apr 2022 14:50:33 +0200
with message-id <874k2vakx2.fsf <at> 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 <at> gnu.org.)
--
54793: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54793
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
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.