Project

General

Profile

Actions

Emulator Issues #1150

closed

OS X Build-scons: building terminated because of errors- Atomic_GCC.h related

Added by shaneooconnor about 15 years 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. entered cd dolphin-emu-read-only then scons in terminal after successfully completing
    previous steps for OS X 32-bit build
    2.
    3.

What is the expected output? What do you see instead?

scons: Reading SConscript files ...
Checking for pkg-config version > 0.15.0... (cached) yes
Looking for macports... (cached) Adding port lib and include path(cached) yes
Looking for fink... (cached) no
Checking for sdl lib version > 1.0.0... (cached) yes
Checking for bluez... (cached)
Looking for framework bluez... (cached)
Using pkg-config for bluez... (cached) no
Looking for lib bluez... (cached) no
Checking for ao... (cached)
Looking for framework ao... (cached)
Using pkg-config for ao... (cached) yes
Checking for openal... (cached)
Looking for framework openal... (cached) yes
Checking for sfml-network... (cached)
Looking for framework sfml-network... (cached)
Using pkg-config for sfml-network... (cached) no
Looking for lib sfml-network... (cached) no
Checking for wxWidgets >= 2.8... (cached) yes
Checking for OpenGL... (cached)
Looking for framework OpenGL... (cached) yes
Checking for Cg... (cached)
Looking for framework Cg... (cached) yes
Checking for GLEW... (cached)
Looking for framework GLEW... (cached)
Using pkg-config for glew... (cached) no
Looking for lib GLEW... (cached) yes
Plugin_PadSimpleEvnt Doesn't work without testgl
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: Build/Darwin-i386-release
Compiling Build/Darwin-i386-release/Source/Core/Core/Src/HW/CommandProcessor.o
Source/Core/Common/Src/Atomic_GCC.h: In function 'void Common::AtomicAdd(volatile u32&,
u32)':
Source/Core/Common/Src/Atomic_GCC.h:41: 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:45: 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:52: error: '__sync_synchronize' was not declared in
this scope
Source/Core/Common/Src/Atomic_GCC.h: In function 'void
Common::AtomicStoreRelease(volatile u32&, u32)':
Source/Core/Common/Src/Atomic_GCC.h:60: error: '__sync_lock_test_and_set' was not declared
in this scope
scons: *** [Build/Darwin-i386-release/Source/Core/Core/Src/HW/CommandProcessor.o] Error 1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?

OS-I'm using OS X 10.5.7
scons-v1.2.0.r3842
xcode-3.1.2

Please provide any additional information below.

I'm using a 15" MacBook Pro that's only a few days old.(I don't know if that's relevant)

Any addition information you need just ask. Please help.

Thanks in advance.

Actions

Also available in: Atom PDF