sgx-lkl icon indicating copy to clipboard operation
sgx-lkl copied to clipboard

Docker Hub's python:3-alpine fails with "copy_file_range: symbol not found"

Open letmaik opened this issue 5 years ago • 1 comments

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.

letmaik avatar Jun 12 '20 10:06 letmaik

Yes, we currently use musl version 1.1.21, and the copy_file_range wrapper was added in musl version 1.1.24.

prp avatar Jun 15 '20 07:06 prp