-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxima: fix build with -o ~sbcl #46709
Conversation
This is the default for aarch64.
Ready to merge. |
any reason we keep it |
other than that, it looks good to me, thanks. |
It doesn't cross build, does it? |
Well, if I remove
|
if I also remove the patch, then it builds fine
I'll try again later. |
I'm not sure ecl will cross build. It's no good if the binary that you build is x86_64 instead of aarch64. The strip hook just happens to barf at Just use |
file gives it seems one needs to do something like https://gitlab.com/spaghettisalat/jffi_repl_example/blob/master/app/src/main/lisp/asdf_libs/compile.lisp or https://gist.github.com/YasuakiHonda/98b2496f10642cdc080666b02b3db001 in order for ecl to use to the cross tool chain. |
You have to do it on the binaries, that's just a script to decide which binary to run. The binaries go into the |
I see, thanks, then it gives |
let's fix |
@leahneukirchen Can this be merged? |
This is the default for aarch64.
Testing the changes
Rework the patch
use-shared-library.patch
so the ecl binaries work as built, no need to usepatchelf
anymore. This way there should be no problem if maxima is needed to build the documentation.OTOH, the documentation is currently shipped in the tarball, so we touch the correct files so that it won't be rebuilt.
This won't change the binary package, no need to revbump.
Cc: @dkwo
Fixes: #46293