Spoiler:
[ 55%] Building CXX object Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o
In file included from /home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic.h:15:0,
from /home/amelia/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:5:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:60:2: error: #error __ATOMIC_RELAXED not defined; your compiler version is too old.
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:65:31: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoadAcquire(volatile T&)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:70:31: error: ‘__ATOMIC_ACQUIRE’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:75:33: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStoreRelease(volatile T&, U)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:80:33: error: ‘__ATOMIC_RELEASE’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T* Common::AtomicExchangeAcquire(T* volatile&, U)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:85:43: error: ‘__ATOMIC_ACQ_REL’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/amelia/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:53:42: instantiated from here
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:65:47: error: ‘__atomic_load_n’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U) [with T = unsigned int, U = unsigned int]’:
/home/amelia/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:130:38: instantiated from here
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:75:2: error: ‘__atomic_store_n’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:66:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o] Error 1
make[1]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/all] Error 2
make: *** [all] Error 2
In file included from /home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic.h:15:0,
from /home/amelia/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:5:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:60:2: error: #error __ATOMIC_RELAXED not defined; your compiler version is too old.
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:65:31: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoadAcquire(volatile T&)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:70:31: error: ‘__ATOMIC_ACQUIRE’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:75:33: error: ‘__ATOMIC_RELAXED’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStoreRelease(volatile T&, U)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:80:33: error: ‘__ATOMIC_RELEASE’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T* Common::AtomicExchangeAcquire(T* volatile&, U)’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:85:43: error: ‘__ATOMIC_ACQ_REL’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/amelia/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:53:42: instantiated from here
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:65:47: error: ‘__atomic_load_n’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘void Common::AtomicStore(volatile T&, U) [with T = unsigned int, U = unsigned int]’:
/home/amelia/dolphin-emu/Source/Core/AudioCommon/Src/Mixer.cpp:130:38: instantiated from here
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:75:2: error: ‘__atomic_store_n’ was not declared in this scope
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h: In function ‘T Common::AtomicLoad(volatile T&) [with T = unsigned int]’:
/home/amelia/dolphin-emu/Source/Core/Common/Src/Atomic_GCC.h:66:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/Mixer.cpp.o] Error 1
make[1]: *** [Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/all] Error 2
make: *** [all] Error 2