Replies: 4 comments 1 reply
-
|
Created the binfmt_misc configuration file for FEX Emu: x86 (32-bit) FEX Emu registration:FEX-x86:M:0:MZ::/usr/bin/FEXLoader: x86_64 (64-bit) FEX Emu registration:FEX-x86_64:M:0:\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/FEXLoader: and not work |
Beta Was this translation helpful? Give feedback.
-
|
Something is wrong with your binfmt_misc files. It should be using As for why arguments are complaining, again use |
Beta Was this translation helpful? Give feedback.
-
|
You have successfully configured FEX Emu's binfmt_misc entries! The output ls /proc/sys/fs/binfmt_misc/ now clearly shows FEX-x86 and FEX-x86_64, which means your kernel is correctly configured to use FEX Emu for x86 binaries. You've also confirmed that FEXLoader itself has all its necessary host ARM64 libraries when checked from your native shell. The Remaining Problem: FEXLoader Rejecting Arguments The consistent error message FEXLoader: error: no such option: -d (when running Wine commands like winecfg) and FEXLoader: error: no such option: --verify (when running ldd on an x86 binary inside FEXBash) indicates a clear issue: FEX Emu is now being successfully invoked to emulate x86 binaries. However, FEXLoader is being passed arguments it doesn't recognize or support by the calling application (Wine, or ldd in the FEXBash environment). Since FEXLoader --help explicitly shows no -d or --verify options, FEX Emu is behaving strictly by rejecting these unknown arguments, which prevents Wine from initializing. What to Do Next: This issue is now at the boundary of Wine's internal invocation logic and FEX Emu's argument parsing. The solution must come from either finding a Wine build that is compatible with FEX Emu's invocation requirements, or a FEX Emu configuration that makes it more lenient with arguments. As I cannot directly browse or interact with private communities or dynamically search content not indexed by standard web searches, the most effective next step for you is to directly engage with the FEX Emu community. Here's a precise question to post on the FEX Emu GitHub Discussions (https://github.com/FEX-Emu/FEX/discussions) or their Discord server (https://discord.gg/fexemu): Subject: FEXLoader: error: no such option: -d when running Wine 6.0.3 on Ubuntu 22.04 ARM64 Body: "Hello, I am running Ubuntu 22.04 ARM64 (on a Neoverse N1 CPU) and using FEX Emu (version 2507.1 I have successfully configured FEX Emu's binfmt_misc entries, and ls /proc/sys/fs/binfmt_misc/ now correctly shows FEX-x86 and FEX-x86_64. FEXLoader itself also has all its necessary ARM64 host dependencies. However, when I attempt to run winecfg (or other Wine-related commands like wineboot), I consistently encounter the following error: Generated code I've verified that -d is not a valid option for FEXLoader according to FEXLoader --help. This issue isn't exclusive to Wine; running ldd $(which FEXLoader) from within FEXBash also produces a similar error: FEXLoader: error: no such option: --verify. It appears that Wine 6.0.3 (and potentially other tools in the emulated environment) is passing unrecognized command-line arguments to FEXLoader. Could you please advise on how to resolve this argument incompatibility? Is there a specific Wine version (different from Ubuntu's 6.0.3) that is recommended or known to be compatible with FEX Emu without passing these problematic arguments? Are there any FEX Emu configuration options or environment variables that can instruct FEXLoader to ignore unknown command-line arguments, or specifically handle Wine's invocation? Are there any FEX Emu-specific Wine builds or patches that address this? Thank you for your time and assistance!" This detailed explanation will provide the FEX Emu community with all the information they need to help you. They are the experts on FEX Emu's internal workings and compatibility. |
Beta Was this translation helpful? Give feedback.
-
|
Okay, I don't know what this remaining response is but I've answered your question. Stop using FEXLoader, use FEXInterpreter. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
"Hello,
I am running Ubuntu 22.04 ARM64 (on a Neoverse N1 CPU) and using FEX Emu (version 2507.1
j). I have installed Wine 6.0.3 from Ubuntu's official ARM repositories (6.0.3repack-1).I have successfully configured FEX Emu's binfmt_misc entries, and ls /proc/sys/fs/binfmt_misc/ now correctly shows FEX-x86 and FEX-x86_64. FEXLoader itself also has all its necessary ARM64 host dependencies.
However, when I attempt to run winecfg (or other Wine-related commands like wineboot), I consistently encounter the following error:
Usage: FEXLoader [options]
FEXLoader: error: no such option: -d
I've verified that -d is not a valid option for FEXLoader according to FEXLoader --help.
This issue isn't exclusive to Wine; running ldd $(which FEXLoader) from within FEXBash also produces a similar error: FEXLoader: error: no such option: --verify.
It appears that Wine 6.0.3 (and potentially other tools in the emulated environment) is passing unrecognized command-line arguments to FEXLoader.
Could you please advise on how to resolve this argument incompatibility?
Is there a specific Wine version (different from Ubuntu's 6.0.3) that is recommended or known to be compatible with FEX Emu without passing these problematic arguments?
Are there any FEX Emu configuration options or environment variables that can instruct FEXLoader to ignore unknown command-line arguments, or specifically handle Wine's invocation?
Are there any FEX Emu-specific Wine builds or patches that address this?
Thank you for your time and assistance!"
Beta Was this translation helpful? Give feedback.
All reactions