So im trying to compile the angle lib and in renderer/serial_utils.h there is a static assert that std::atomic’s is_always_lock_free is true.
I’m compiling for an old PowerPC machine (It’s a G4/MPC7447). In the reference guide it states it has atomic memory instructions (lwarx and stwcx)
however the assert is failing.
EDIT:
Or are there any compiler/C++ implementation changes that i could make have it implement the atomic operations using these instructions if thats not already the case?
This is on Gentoo for PowerPC using a custom kernel config so perhaps i’ve configured it wrong?
Is there anything in the kernel config I can set or am I S.O.O.L.?
And advice is appreciated.
Kind regards Josh “Hakaru” C.

