Summary

cross-chicken should prefer loading uncompiled import libraries

Metadata

Description

Unless in `-host` mode, `chicken(1)` should prefer loading import libraries from the current directory in source form (`.scm`), or it will possibly load import libs compiled for the target architecture.

Changes and comments

[2009-12-01 15:28:16 UTC] felix changed priority from major to minor

[2009-12-01 15:28:16 UTC] felix removed milestone 4.3.0

[2009-12-02 12:35:35 UTC] mario wrote:

Would it possibly be the reason why I get a message like "wrong ELF class: ELFCLASS32" when cross compiling from x86_64 to x86?

I could "fix" if by using include instead of require-extension.

[2009-12-02 14:09:04 UTC] felix wrote:

Replying to mario: > Would it possibly be the reason why I get a message like "wrong ELF class: ELFCLASS32" when cross compiling from x86_64 to x86? > > I could "fix" if by using include instead of require-extension.

Yes, this is possible. If you are currently in a `chicken-install` run that produces .so's and these .so's are located in the current-directory, and `-setup-mode` is given then any chicken tools that try to `require-extension` a module of this name. We need `-setup-mode` for those cases when this behaviour is actually intended (an egg build uses compiled modules that are products of the current build) - for these eggs cross-compilation has to be done manually.

[2010-05-18 15:29:32 UTC] felix changed status from new to assigned

[2010-05-18 15:29:32 UTC] felix set owner to felix

[2010-07-20 01:58:48 UTC] felix removed owner felix

[2010-08-17 22:14:54 UTC] felix set owner to felix

[2011-09-17 15:02:34 UTC] felix removed owner felix

[2017-08-25 15:13:26 UTC] sjamaan set difficulty to medium

[2017-08-25 15:13:26 UTC] sjamaan set milestone to 5.1

[2017-08-25 15:13:26 UTC] sjamaan wrote:

This has been sitting in the issues for far too long. Let's see if we can tackle this in 5.1.

[2019-04-08 01:06:33 UTC] sjamaan changed milestone from 5.1 to 5.2

[2019-08-25 17:32:01 UTC] felix changed milestone from 5.2 to 5.3

[2021-06-16 16:14:34 UTC] sjamaan changed milestone from 5.3 to 5.4

[2021-06-16 16:14:34 UTC] sjamaan wrote:

Aaand postponing again :)

[2023-11-06 22:15:30 UTC] felix changed milestone from 5.4 to 6.0.0