darling
darling copied to clipboard
`compiler-rt` is Unable to Detect `atomic_flag`
For some reason, the compiler-rt/lib/builtins/atomic_flag_clear.c file is unable to detect the atomic_flag in from the stdatomic.h header.
[ 4%] Building C object src/external/compiler-rt/lib/builtins/CMakeFiles/compiler_rt_32bit.dir/atomic_flag_clear.c.o
/home/user/Downloads/darling/src/external/compiler-rt/lib/builtins/atomic_flag_clear.c:23:33: error: unknown type name 'atomic_flag'
void atomic_flag_clear(volatile atomic_flag *object) {
^
1 error generated.
As a workaround, I commented out the following code:
A proper solution to this issue will need to be figured out.