sgx-lkl
sgx-lkl copied to clipboard
Docker Hub's python:3-alpine fails with "copy_file_range: symbol not found"
docker pull python:3-alpine
docker run --rm python:3-alpine python3 -c "print('Hello world!')"
sgx-lkl-disk create --size=100M --docker=python:3-alpine python.img
sgx-lkl-run-oe --hw-debug python.img /usr/local/bin/python3 -c 'print("Hello world!")'
# Error relocating /usr/local/lib/libpython3.8.so.1.0: copy_file_range: symbol not found
I'm assuming this is caused by #200.
EDIT: Using python:3-alpine3.10 works.
Yes, we currently use musl version 1.1.21, and the copy_file_range wrapper was added in musl version 1.1.24.