Open craciunoiuc opened 1 year ago
I'm honestly confused, is there any technical reason why this can't be supported? It doesn't make sense to go about making a standard libc implementation and not support C standard.
As far as I remember, it heavily depends on the compiler used.
They decided to be compiler agnostic so no implementation for it.
That's why I still think we should add an option to make it available if needed as we use gcc
and sometimes clang
Musl currently does not support the C11 standard for atomic variables, and as far as I know, it will never support it.
Unfortunately, plenty of applications depend on the respective header files to compile successfully.
As such, to avoid problems, one thing we could do is to implement
stdatomic
ourselves using gcc calls, as Unikraft is currently compiled with mostly gcc.