unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54793: guile-fibers does not cross-compile
@ 2022-04-08 15:37 Mathieu Othacehe
  2022-04-14 12:50 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Othacehe @ 2022-04-08 15:37 UTC (permalink / raw)
  To: 54793


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#54793: guile-fibers does not cross-compile
  2022-04-08 15:37 bug#54793: guile-fibers does not cross-compile Mathieu Othacehe
@ 2022-04-14 12:50 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-04-14 12:50 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 54793-done

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’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-14 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08 15:37 bug#54793: guile-fibers does not cross-compile Mathieu Othacehe
2022-04-14 12:50 ` Ludovic Courtès

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).