Project

General

Profile

Actions

Bug #809

closed

Build of crystax-test-__GCC_HAVE_SYNC_COMPARE_AND_SWAP failed for mips platform

Added by Dmitry M. almost 10 years ago. Updated almost 10 years ago.

Status:
Completed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/26/2014
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
mips
Host OS:
Toolchain:
clang-3.4, clang-3.5
Android version:
CrystaX NDK Version:

Description

[mips] Compile        : clang-atomic-macros <= main.c
/home/crystax/work/ndk/ndk/platform/ndk/toolchains/llvm-3.5/prebuilt/linux-x86_64/bin/clang -MMD -MP -MF ./obj/local/mips/objs/clang-atomic-macros/main.o.d -gcc-toolchain /home/crystax/work/ndk/ndk/platform/ndk/toolchains/mipsel-linux-android-4.8/prebuilt/linux-x86_64 -target mipsel-none-linux-android -fpic -fno-strict-aliasing -finline-functions -ffunction-sections -funwind-tables -fmessage-length=0 -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -O2 -g -DNDEBUG -fomit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -fPIE -c -I/home/crystax/work/ndk/ndk/platform/ndk/sources/crystax/include -I/home/crystax/work/ndk/ndk/platform/ndk/platforms/android-9/arch-mips/usr/include jni/main.c -o ./obj/local/mips/objs/clang-atomic-macros/main.o
jni/main.c:6:2: error: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 not defined
#error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 not defined
 ^
jni/main.c:10:2: error: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 not defined
#error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 not defined
 ^
jni/main.c:14:2: error: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 not defined
#error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 not defined
 ^
3 errors generated.
Actions

Also available in: Atom PDF