Opened 16 years ago
Last modified 2 years ago
#125 assigned defect
cross-chicken should prefer loading uncompiled import libraries
| Reported by: | felix winkelmann | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 6.0.0 |
| Component: | core tools | Version: | 4.2.x |
| Keywords: | Cc: | ||
| Estimated difficulty: | medium |
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.
Change History (12)
comment:1 by , 16 years ago
| Milestone: | 4.3.0 |
|---|---|
| Priority: | major → minor |
follow-up: 3 comment:2 by , 16 years ago
comment:3 by , 16 years ago
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
includeinstead ofrequire-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.
comment:4 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:5 by , 15 years ago
| Owner: | removed |
|---|
comment:6 by , 15 years ago
| Owner: | set to |
|---|
comment:7 by , 14 years ago
| Owner: | removed |
|---|
comment:8 by , 8 years ago
| Estimated difficulty: | → medium |
|---|---|
| Milestone: | → 5.1 |
This has been sitting in the issues for far too long. Let's see if we can tackle this in 5.1.
comment:9 by , 7 years ago
| Milestone: | 5.1 → 5.2 |
|---|
comment:10 by , 6 years ago
| Milestone: | 5.2 → 5.3 |
|---|
comment:12 by , 2 years ago
| Milestone: | 5.4 → 6.0.0 |
|---|

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
includeinstead ofrequire-extension.