mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-22 14:41:05 +01:00
tags: update io-uring & add illegal-instruction
This commit is contained in:
parent
a958fb06b2
commit
e0446ad994
1 changed files with 28 additions and 1 deletions
|
@ -57,8 +57,35 @@ content = """
|
||||||
|
|
||||||
To fix this error, you need to update Linux kernel.
|
To fix this error, you need to update Linux kernel.
|
||||||
If you are using the Windows Subsystem for Linux, do:
|
If you are using the Windows Subsystem for Linux, do:
|
||||||
**1.** Open powershell
|
**1.** Open powershell as administrator
|
||||||
**2.** Run:
|
**2.** Run:
|
||||||
• wsl --set-version <distro name> 2
|
• wsl --set-version <distro name> 2
|
||||||
• wsl --shutdown
|
• wsl --shutdown
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
[illegal-instruction]
|
||||||
|
keywords = ["illegal-instruction", "core-dumped", "dumped", "core", "illegal"]
|
||||||
|
cotent = """
|
||||||
|
**Illegal instruction - core dumped**
|
||||||
|
|
||||||
|
Bun currently only works on CPUs supporting the AVX2 instruction set.
|
||||||
|
To run on older CPUs this can be emulated using Intel SDE, however bun won't be as fast as it would be when running on CPUs with AVX2 support.
|
||||||
|
If you get this error while bun is initializing, you probably need to wrap the bun executable with intel-sde.
|
||||||
|
|
||||||
|
**1.** Install intel-sde:
|
||||||
|
• Arch Linux: `yay -S intel-sde`
|
||||||
|
• Other Distros:
|
||||||
|
```bash
|
||||||
|
wget https://downloadmirror.intel.com/732268/sde-external-9.7.0-2022-05-09-lin.tar.xz -O /tmp/intel-sde.tar.xz
|
||||||
|
cd /tmp
|
||||||
|
tar -xf intel-sde.tar.xz
|
||||||
|
cd sde-external*
|
||||||
|
mkdir /usr/local/bin -p
|
||||||
|
cp sde64 /usr/local/bin/sde
|
||||||
|
cp -r intel64 /usr/local/bin/
|
||||||
|
cp -r misc /usr/local/bin/
|
||||||
|
```
|
||||||
|
|
||||||
|
**2.** Add alias to bashrc
|
||||||
|
• `echo "alias bun='sde -chip-check-disable -- bun'" >> ~/.bashrc`
|
||||||
|
"""
|
Loading…
Reference in a new issue