andraxin
andraxin
My platform is neither Windows nor ARM, but I'm still inconvenienced by the need to spawn an extra process to run `uname` **during JNI loading**, since that's not allowed, causing...
Great! Will you fix that or would you prefer a pull request?
[PR](https://github.com/jodersky/sbt-jni/pull/32) created.
@FlorianFranzen --- I'm not sure _where_ to put this comment... The original PR (https://github.com/swaywm/sway/pull/4952) is closed. This one is partially merged, and based on its title has a different focus....
@JasonMendoza2008 Apparently, the `mojo` binary is located at `./.modular/pkg/packages.modular.com_mojo/bin/mojo`: ```console > find -name mojo ./.modular/.mojo_cache/mojo ./.modular/pkg/packages.modular.com_mojo/lib/mojo ./.modular/pkg/packages.modular.com_mojo/bin/mojo ``` and trying to execute it directly reveals that the root cause has...
@JasonMendoza2008 > Illegal instruction (core dumped) That usually means that the binary includes an instruction your CPU doesn't support. https://duckduckgo.com/?t=ffab&q=Illegal+instruction+(core+dumped) Chances are Mojo was compiled with optimizations that your hardware...
@JasonMendoza2008 > How could I fix these binaries? Given that the source code doesn't appear to be available, recompiling is not an option. You could reach out to Modular and...
@JasonMendoza2008 > If you mean a Virtual Machine, this was already what I was doing as I thought it had higher chances of working. Running in a VM may or...
@JasonMendoza2008 > That's indeed my host machine but that's also what grep -m1 model\ name /proc/cpuinfo returns :/ I cannot really accuse you of being clear... :smirk: Did you mean...
@JasonMendoza2008 I could reproduce your issue in a VirtualBox VM. I had even tried every possible paravirtualization interface option for the processor to no avail. https://superuser.com/questions/945910/how-to-select-paravirtualization-interface-in-virtualbox Note, however, that I...