libtool: fix include paths when cross compiling - #40606
Conversation
|
Thanks for looking into this. I've crossbuilt the package, I can install it on my aarch64 machine, but how do I make sure it is used in the build chroot when building ntl? I tried to build ntl in /tmp, but it fails before reaching that point. |
|
You can build libtool as cross, then build it as native, then replace the native package with the cross package in your Also if you can share the native-build package here for comparison, that would be appreciated. (You can also use |
|
Sure, will do it tomorrow. |
|
native builds for aarch64-musl: https://vasilek.cz/repo/libtool/ |
|
Thank you. |
8a3715d to
2088d9c
Compare
if I do that, it gives |
|
You need to do |
|
Thanks, now it errors out in a different way: https://paste.c-net.org/WedgedMopping |
|
Is this from the latest version of the branch, just checking? |
|
yes, it is. |
aaf2d14 to
78d1a79
Compare
|
Alright, I think I see the issue. That seems to be due to it being sed'ed to the form of The latest commit works for me with binfmt/qemu, feel free to verify when you are available @dkwo |
8b3da2a to
b94a5d4
Compare
|
It works :) Thanks for figuring this out! |
Fix library and object include paths. Fix ntl build by directly assigning cc/cxx/etc instead of using := assignment.
Testing the changes
@dkwo Can you test this? (whenever you are available ofc)