paramiko crosscompile issue #135
Replies: 2 comments
-
I have no idea why during compiling module: Actually syn and version_check module must be compiling for host (e.g. x86_64) but during linking time I've tried to pull cryptography from github and test if it crosscompiles from source with direct cargo invocation cmd as during the crossenv build and it passes the stage of building version_check module. There must be a reason why host ld tries to link with targer crt and that is happening only during crossenv build on my pc. I would be gratefull for any help, thanks in advance, I wouldn't take your time any further with comments without being asked to provide any additional info. Just in case cargo direct invocation log:
sysconfig:
|
Beta Was this translation helpful? Give feedback.
-
Usually when I've seen errors like that (outside of crossenv), the fix was to add a [target.arm-unknown-linux-gnueabihf]
linker = "/home/serg/crscmpl/imx6bh4/host/usr/bin/arm-buildroot-linux-gnueabihf-gcc" There's also the possibility that some build script in there is using the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Please help me with cross compiling paramiko module to embedded Linux with ARM.
I've crosscompiling from linux x86_64 to armv7 (32 bit).
Looks like there is a problem with crosscompiling "cryptography" module due to some parts is written in Rust and Rust do not have information about need to crosscompile the library to target board. I think that way because of messages during build, e.g.:
I doubt that -m64 is right argument because my target board has imx6 (32-bit armv7)
and later on I've see:
host ld fails at trying to link target libs
host and target python version is 3.6.10, crossvenv ver. 1.20
verbose output:
Beta Was this translation helpful? Give feedback.
All reactions