Emulator Issues #1141
closedMac OS X build problems since svn r3775 with Atomic operations library
0%
Description
What steps will reproduce the problem?
- Building svn r3775 and up with Atomic operations library breaks the compilation (r3774 works
fine, even SMSunshine works on OS X 10.5.7)
2.
3.
What is the expected output? What do you see instead?
Compiling Build/Darwin-i386-release/Source/Core/AudioCommon/Src/AOSoundStream.o
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicAdd(volatile u32&,
u32)':
Source/Core/Common/Src/Atomic_GCC.h:43: error: '__sync_add_and_fetch' was not declared in
this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicIncrement(volatile
u32&)':
Source/Core/Common/Src/Atomic_GCC.h:48: error: '__sync_add_and_fetch' was not declared in
this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'u32 Common::AtomicLoadAcquire(volatile
u32&)':
Source/Core/Common/Src/Atomic_GCC.h:55: error: '__sync_synchronize' was not declared in
this scope
Source/Core/AudioCommon/Src/Mixer.h: At global scope:
Source/Core/AudioCommon/Src/Mixer.h:29: warning: 'class CMixer' has virtual functions but
non-virtual destructor
scons: *** [Build/Darwin-i386-release/Source/Core/AudioCommon/Src/AOSoundStream.o]
Error 1
scons: building terminated because of errors.
Please use labels and text to provide additional information.
I tried to add #include "Atomic.h" to Core.h / Thread.h / CommandProcessor.h which partly
works but for "AOSoundStream" it breaks up the compilation.
Mac OS X 10.5.7 Intel with XCode 3.1.3 (gcc 4.0.1).
All revision < 3774 works well (and even launches Gamecube games)
Thanks for your patience ;-)
gilcel