I'm using Arch Linux nowadays, which uses a very new glibc. It seems that recently librt.so and some other libraries were merged into libc.so and replaced by stubs (source). Unfortunately, it doesn't appear that a stub for librt.so exists, and if it does, it is not compatible with Micropython's FFI for some reason.
Using the value of libc when librt.so does not exist seems to be a valid workaround, which is what I'm proposing here.
I'm using Arch Linux nowadays, which uses a very new glibc. It seems that recently
librt.so
and some other libraries were merged intolibc.so
and replaced by stubs (source). Unfortunately, it doesn't appear that a stub forlibrt.so
exists, and if it does, it is not compatible with Micropython's FFI for some reason.Using the value of
libc
whenlibrt.so
does not exist seems to be a valid workaround, which is what I'm proposing here.