[GH-ISSUE #129] How to compile simulator binary for Linux ARM? #38

Open
opened 2026-05-06 13:14:43 +02:00 by BreizhHardware · 3 comments

Originally created by @aisuneko on GitHub (Jan 22, 2022).
Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/129

I successfully compiled a binary of the simulator for x86_64 Linux. When I try to compile it on an ARM machine, errors occur because it reads from ion/src/simulator/shared/collect_registers_x86_64.s. I would like to know if it's possible to compile one for ARM (in particular armhf) Linux, and if so, how? Thanks!

Originally created by @aisuneko on GitHub (Jan 22, 2022). Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/129 I successfully compiled a binary of the simulator for x86_64 Linux. When I try to compile it on an ARM machine, errors occur because it reads from `ion/src/simulator/shared/collect_registers_x86_64.s`. I would like to know if it's possible to compile one for **ARM (in particular armhf) Linux**, and if so, how? Thanks!
Author
Owner

@RedGl0w commented on GitHub (Jan 22, 2022):

I successfully compiled a binary of the simulator for x86_64 Linux. When I try to compile it on an ARM machine, errors occur because it reads from ion/src/simulator/shared/collect_registers_x86_64.s. I would like to know if it's possible to compile one for ARM (in particular armhf) Linux, and if so, how? Thanks!

The implementation of register collection is only for x86_64 (coded in asm). However, if someone knows how micropython works, I think he could implement it. B ythe way, this issue is also present on epsilon.

<!-- gh-comment-id:1019246683 --> @RedGl0w commented on GitHub (Jan 22, 2022): > I successfully compiled a binary of the simulator for x86_64 Linux. When I try to compile it on an ARM machine, errors occur because it reads from `ion/src/simulator/shared/collect_registers_x86_64.s`. I would like to know if it's possible to compile one for **ARM (in particular armhf) Linux**, and if so, how? Thanks! The implementation of register collection is only for x86_64 (coded in asm). However, if someone knows how micropython works, I think he could implement it. B ythe way, this issue is also present on epsilon.
Author
Owner

@Lauryy06 commented on GitHub (Jan 23, 2022):

I personally don't think I have the capacity to fix that.

<!-- gh-comment-id:1019552369 --> @Lauryy06 commented on GitHub (Jan 23, 2022): I personally don't think I have the capacity to fix that.
Author
Owner

@Techwizz-somboo commented on GitHub (Mar 24, 2022):

Epsilon 17 worked for me to compile on my OnePlus 7 Pro (ARM64 phone) through Droidian (Debian-based Linux). Might be able to compare the code of Epsilon 17 (of course you can't upstream the changes though because of the newer licensing).

<!-- gh-comment-id:1077056858 --> @Techwizz-somboo commented on GitHub (Mar 24, 2022): Epsilon 17 worked for me to compile on my OnePlus 7 Pro (ARM64 phone) through Droidian (Debian-based Linux). Might be able to compare the code of Epsilon 17 (of course you can't upstream the changes though because of the newer licensing).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Upsilon#38
No description provided.