Project

General

Profile

Actions

Emulator Issues #1141

closed

Mac OS X build problems since svn r3775 with Atomic operations library

Added by celgilles about 15 years ago. Updated 5 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. 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


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #889: Dolphin Doesn't Work in Mac OS XFixed

Actions
Actions

Also available in: Atom PDF