mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6745] build: fnettrace: cannot execute binary file (cross-compilation) #3357
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3357
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lamar-studio on GitHub (May 8, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6745
Description
Hello, I'd like to report an issue. While cross-compiling for the ARM64 architecture on Ubuntu_x86, I encountered the following error:
The root cause is that
fnettracewas compiled as an ARM64 binary, which cannot run directly on the Ubuntu_x86 host. Similar issues occurred later during the compilation process (e.g., attempting to execute ARM64 binaries generated during compilation). How should such issues be resolved?Environment
uname -srm): Linux 5.15.0-139-generic x86_64@kmk3 commented on GitHub (May 8, 2025):
This is likely because
fnettraceis used to buildstatic-ip-map:That is not clear from the log provided.
Please post the full configure/make build logs and the missing environment
items from the build issue template:
Maybe we could add a configure option to disable building
fnettrace.@lamar-studio commented on GitHub (May 22, 2025):
When performing cross-compilation on Ubuntu, technical challenges may emerge due to the execution of binaries targeting different architectures during the compilation process. To address this, it would be advisable to refine the compilation scripts to ensure proper cross-platform compatibility.
For instance, the code snippet shown below cannot be executed. Other similar scenarios may require cross-compilation environments that involve rigorous stress testing.
@kmk3 commented on GitHub (May 22, 2025):
This sounds like AI-generated slop and adds nothing new.
So what is your point?
Did you actually read the previous comment?
@lamar-studio commented on GitHub (May 22, 2025):
What I meant to say is that you can verify this issue yourself using a cross-compilation environment - the problem is 100% reproducible.
@kmk3 commented on GitHub (May 22, 2025):
That already seemed to be the case.
See this comment:
@lamar-studio commented on GitHub (May 22, 2025):
Thank you for your response. Additionally, I'd like to ask whether the latest version of Firejail supports physical memory limitations. The --rlimit-as option seems to restrict virtual memory instead.
ref:https://github.com/netblue30/firejail/discussions/6757
@kmk3 commented on GitHub (May 22, 2025):
No problem.
That was already asked and anyone can see and reply to it if they know the
answer.
There is no point in talking about it in unrelated issues.