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 felix winkelmann, 16 years ago

Milestone: 4.3.0
Priority: majorminor

comment:2 by Mario Domenech Goulart, 16 years ago

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.

in reply to:  2 comment:3 by felix winkelmann, 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 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.

comment:4 by felix winkelmann, 16 years ago

Owner: set to felix winkelmann
Status: newassigned

comment:5 by felix winkelmann, 15 years ago

Owner: felix winkelmann removed

comment:6 by felix winkelmann, 15 years ago

Owner: set to felix winkelmann

comment:7 by felix winkelmann, 14 years ago

Owner: felix winkelmann removed

comment:8 by sjamaan, 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 sjamaan, 7 years ago

Milestone: 5.15.2

comment:10 by felix winkelmann, 6 years ago

Milestone: 5.25.3

comment:11 by sjamaan, 4 years ago

Milestone: 5.35.4

Aaand postponing again :)

comment:12 by felix winkelmann, 2 years ago

Milestone: 5.46.0.0
Note: See TracTickets for help on using tickets.