Project

General

Profile

Actions

Bug #959

closed

crystax-test-posix-interfaces fails when compiled with clang3.6

Added by Alexander Z. over 9 years ago. Updated over 9 years ago.

Status:
Completed
Priority:
High
Assignee:
Category:
test
Target version:
Start date:
06/04/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
clang-3.6
Android version:
CrystaX NDK Version:

Description

2015-06-04 17:18:04.265 UTC:    * In file included from /Volumes/Source-HD/src/ndk/platform/ndk/sources/crystax/include/machine/endian.h:47:
2015-06-04 17:18:04.265 UTC:    * /Volumes/Source-HD/src/ndk/platform/ndk/sources/crystax/include/crystax/arm64/endian.h:78:44: error: value size does not match register size specified by the constraint and modifier [-Werror,-Wasm-operand-widths]
2015-06-04 17:18:04.266 UTC:    *     __asm volatile ("rev16 %0, %0" : "+r" (_x));
2015-06-04 17:18:04.266 UTC:    *                                            ^
2015-06-04 17:18:04.266 UTC:    * /Volumes/Source-HD/src/ndk/platform/ndk/sources/crystax/include/crystax/arm64/endian.h:78:28: note: use constraint modifier "w"
2015-06-04 17:18:04.266 UTC:    *     __asm volatile ("rev16 %0, %0" : "+r" (_x));
2015-06-04 17:18:04.266 UTC:    *                            ^~
2015-06-04 17:18:04.266 UTC:    *                            %w0
2015-06-04 17:18:04.266 UTC:    * /Volumes/Source-HD/src/ndk/platform/ndk/sources/crystax/include/crystax/arm64/endian.h:78:44: error: value size does not match register size specified by the constraint and modifier [-Werror,-Wasm-operand-widths]
2015-06-04 17:18:04.266 UTC:    *     __asm volatile ("rev16 %0, %0" : "+r" (_x));
2015-06-04 17:18:04.266 UTC:    *                                            ^
2015-06-04 17:18:04.266 UTC:    * /Volumes/Source-HD/src/ndk/platform/ndk/sources/crystax/include/crystax/arm64/endian.h:78:32: note: use constraint modifier "w"
2015-06-04 17:18:04.267 UTC:    *     __asm volatile ("rev16 %0, %0" : "+r" (_x));
2015-06-04 17:18:04.267 UTC:    *                                ^~
2015-06-04 17:18:04.267 UTC:    *                                %w0
2015-06-04 17:18:04.278 UTC:    * 2 errors generated.
2015-06-04 17:18:04.279 UTC:    * make: *** [obj/local/arm64-v8a/objs/test-std-functions/arpa_inet.o] Error 1
Actions #1

Updated by Dmitry M. over 9 years ago

  • Description updated (diff)
  • Toolchain clang-3.6 added
Actions #2

Updated by Dmitry M. over 9 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Dmitry M. over 9 years ago

  • Status changed from Open to In Progress
Actions #4

Updated by Dmitry M. over 9 years ago

  • Status changed from In Progress to Completed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF