mystikos icon indicating copy to clipboard operation
mystikos copied to clipboard

gettid: symbol not found

Open aep opened this issue 2 years ago • 1 comments

is there a list of supported symbols?

this is from stock mariadb on alpine-3:

myst exec-sgx --roothash=roothash ext2rootfs /usr/bin/mariadbd
Error relocating /usr/bin/mariadbd: gettid: symbol not found

not sure if this is supposed to work,

aep avatar Aug 15 '22 09:08 aep

Thats interesting, I can't seem to find a gettid function in musl C library. We've had some gap with C library functions present in glibc, but not in musl in the past. Could you can share your Dockerfile and some repro steps?

Also during creation of the rootfs, you could run scripts/appbuilder with -p option. That should print unsupported glibc symbols present in the application - https://github.com/deislabs/mystikos/blob/main/scripts/appbuilder#L27.

vtikoo avatar Aug 24 '22 05:08 vtikoo

@aep Please let us know if you need additional help.

radhikaj avatar Oct 03 '22 19:10 radhikaj