Bug #959
closedcrystax-test-posix-interfaces fails when compiled with clang3.6
100%
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