Skip to content

Added paragraph about SSE3 support to build-instructions.md. #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions src/build-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,3 +292,39 @@ If you try to use an unsupported file system, this error will be printed:
```
Cannot mount overlay: Invalid argument
```

### SSE3 Support

When running on older CPUs without SSE3 Support, you might run into issues like:

```
user$ darling shell
Bootstrapping the container with launchd...
Cannot open mnt namespace file: No such file or directory
```

or more likely

```
user$ sudo darling shell
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the implication of including a command like sudo darling shell in the wiki. I don't want the wiki to imply that this is an okay thing to do.

I recommend removing the user$ darling shell and user$ sudo darling shell part.

Setting up a new Darling prefix at /root/.darling
Bootstrapping the container with launchd...
Illegal instruction (core dumped)
```

If your CPU doesn't support SSE3, you might still be able to run darling by installing the opemu-linux kernel module.

But first check `/proc/cpuinfo` to find out if your CPU supports SSE3, e.g. by running `cat /proc/cpuinfo | grep SSE3`. Unless it comes back with `SSE3` your CPU doesn't support SSE3.

To install [opemu-linux](https://github.com/mirh/opemu-linux) first clone the repository:
```bash
git clone https://github.com/mirh/opemu-linux
```
then switch directories & compile the kernel module:
```bash
cd opemu-linux && make
```
and load it:
```bash
sudo insmod op_emu.ko
```
Comment on lines +319 to +330
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have mixed feelings about including build instructions for projects that the Darling team does not manage. Ideally, you should submit a PR request to the opemu-linux to add build instructions.

With that being said, it's looks like that project is no longer in active development.