Lix on 64-bit systems assumes it can run 32-bit code #371

Open
opened 2024-06-02 14:06:42 +00:00 by puck · 2 comments
Owner

e.g. x86_64-linux assumes 32-bit code can be executed, even if it is kconfig'd out. Similar with 64-bit Arm cores that can't execute 32-bit code.

e.g. x86_64-linux assumes 32-bit code can be executed, even if it is kconfig'd out. Similar with 64-bit Arm cores that can't execute 32-bit code.
Owner

hmmm. i think the most trivial thing to do is to write a trivial -m32 target that we try to execve to find this info. the alternative is assembly crimes that aren't good.

hmmm. i think the most trivial thing to do is to write a trivial -m32 target that we try to execve to find this info. the alternative is assembly crimes that aren't good.
pennae added this to the 2.95 milestone 2025-12-01 14:51:44 +00:00
raito self-assigned this 2026-03-01 15:20:15 +00:00
raito modified the milestone from 2.95 to 2.96 2026-03-01 18:14:11 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/5299 ("libexec/supports-32bits: check if we can execute 32 bits code")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/5299", "number": 5299, "kind": "commit message"}], "cl_meta": {"5299": {"change_title": "libexec/supports-32bits: check if we can execute 32 bits code"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/5299](https://gerrit.lix.systems/c/lix/+/5299) ("libexec/supports-32bits: check if we can execute 32 bits code")
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
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
lix-project/lix#371
No description provided.