Skip to content

How can i build an aarch64 version #175

Closed

Description

@hsinor

I only find release version of x86_64 and i686. I want build a AppImage for aarch64, what should i do?

Activity

  1. changed the title [-]I want a version of aarch64 for build my AppImage use in aarch64[/-] [+]How can i build an aarch64 version[/+] on May 20, 2021
  2. MatNieuw commented on Mar 24, 2022

    @MatNieuw
  3. lucasfernog commented on May 23, 2022

    @lucasfernog

    I'm also interested in this. Can we change the workflow to do it?

  4. lucasfernog commented on May 23, 2022

    @lucasfernog

    Would be closed by #189

  5. TheAssassin commented on May 23, 2022

    @TheAssassin
    Member

    #189 has never seen a reaction to the change requests, though.

    Since I also need ARM binaries soon, I'll probably pick up that PR and improve it in the next weeks.

  6. lucasfernog commented on May 23, 2022

    @lucasfernog

    Thanks!

  7. Korkman commented on Jul 11, 2022

    @Korkman

    @TheAssassin Any update on this?

  8. kacper-serewis commented on Dec 13, 2022

    @kacper-serewis

    Bump, any update?

  9. kacper-serewis commented on Dec 21, 2022

    @kacper-serewis

    I was able to create docker image containing linuxdeploy which works on arm64: https://github.com/K4CZP3R/linuxdeploy-tauri-arm64

  10. GentleGhostCoder commented on Dec 23, 2022

    @GentleGhostCoder

    Cool, thanks, I'll test it right away :D

  11. dcarr45 commented on Feb 25, 2023

    @dcarr45

    @K4CZP3R very new to this so my apologies, but I've produced the squashfs-root that's the output of the last RUN command in your Dockerfile sequence and I've been banging my head against the wall trying to produce the equivalent of linuxdeploy-aarch64.AppImage (the one that's not currently distributed).

    I assume all the files I need are there in /executables of the resultant Docker container, but if you get a chance could you please clarify how one would produce the executable that'd match the usage of linuxdeploy-x86_64.AppImage? I'm trying to replace the missing arm64 executable that'd be called in this bundler script used by Tauri

  12. andy5995 commented on Feb 26, 2023

    @andy5995

    Duplicate of #108

  13. dcarr45 commented on Mar 1, 2023

    @dcarr45

    I had some success just following the linuxdeploy:ci/build.sh and linuxdeploy-plugin-appimage:ci/build-appimage.sh in an arm64 Docker container - it got a little hairy due to the apparent circular dependency between those two builds where they each download the latest version of the other, but I was able to produce what appears to be a usable linuxdeploy-aarch64.AppImage

  14. yusiwen commented on Oct 16, 2023

    @yusiwen

    Any updates? Need arm64/aarch64 badly

  15. neildavis commented on Nov 3, 2023

    @neildavis

    Offering potential help on this for armhf & aarch64. See my comment on #189

  16. TheAssassin commented on Dec 5, 2023

    @TheAssassin
    Member

    Just for the record, an ARM version is on the way. I'm just fiddling with the build process, but it's working locally already.

  17. TheAssassin commented on Dec 5, 2023

    @TheAssassin
    Member

    Build is working now. I need to clean the branch up and merge it into the main branch. I should be able to do it tonight.

  18. TheAssassin commented on Dec 6, 2023

    @TheAssassin
    Member

    It's done. Binaries are available. Feedback welcome!

  19. andy5995 commented on Jan 12, 2024

    @andy5995

    @TheAssassin Thanks for completing this! I am finally getting around to trying it. I'm having a spot of trouble though.

    ./linuxdeploy-aarch64.AppImage: cannot execute binary file: Exec format error

    I seem to recall an issue where you mentioned using sed to change a few bytes, which worked in another case for me, but I can't find it.

    I'm trying it with a Dockerfile. Here's the workflow output

    https://github.com/netpanzer/netpanzer/actions/runs/7499142351/job/20415397490#step:8:435

    The actual workflow/yml file

    And the Dockerfile

    Of the 4 jobs in the workflow, the focal amd64 job is completing, and the two Jammy jobs (arm64 and amd64) don't use linuxdeploy (so those 2 are completing).

  20. andy5995 commented on Jan 29, 2024

    @andy5995

    @TheAssassin Thanks for completing this! I am finally getting around to trying it. I'm having a spot of trouble though.

    ./linuxdeploy-aarch64.AppImage: cannot execute binary file: Exec format error

    I seem to recall an issue where you mentioned using sed to change a few bytes, which worked in another case for me, but I can't find it.

    Found it. I also found the the dd method you mentioned in another ticket here.

    I believe this is fixed in netpanzer/netpanzer@241a664

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions