Project

General

Profile

Bug #809

Build of crystax-test-__GCC_HAVE_SYNC_COMPARE_AND_SWAP failed for mips platform

Added by Dmitry Moskalchuk over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
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 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.

#1

Updated by Dmitry Moskalchuk over 5 years ago

  • Status changed from Open to In Progress
#2

Updated by Dmitry Moskalchuk over 5 years ago

  • Toolchain clang-3.4, clang-3.5 added
#3

Updated by Dmitry Moskalchuk over 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF