platoon-code / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

clang 64 bit build error #321

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Updating projects from gyp files...
Running build/landmines.py...
ninja: Entering directory `out/Debug'
[18/20] CC obj/util/cpuid.cpuid.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF 
obj/util/cpuid.cpuid.o.d -DV8_DEPRECATION_WARNINGS 
-DBLINK_SCALE_FILTERS_AT_RECORD_TIME -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 
-DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 
-DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH 
-DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 
-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY 
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DENABLE_EGLIMAGE=1 
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 
-DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 
-DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 
-DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 
-DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 
-DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 
-DENABLE_SERVICE_DISCOVERY=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 
-DWTF_USE_DYNAMIC_ANNOTATIONS=1 -I../../include -I../.. -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S
DKs/MacOSX10.8.sdk -O0 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof 
-mmacosx-version-min=10.6 -arch x86_64 -Wendif-labels -Wno-unused-parameter 
-Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing 
-Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-deprecated-register 
-Wno-absolute-value -std=c99 -Xclang -load -Xclang 
/Users/fbarchard/libyuv/trunk/tools/clang/scripts/../../../third_party/llvm-buil
d/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang 
find-bad-constructs -fcolor-diagnostics -fno-strict-aliasing 
-fstack-protector-all  -c ../../util/cpuid.c -o obj/util/cpuid.cpuid.o
Assertion failed: (IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"), 
function operator>, file 
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/include/llvm/ADT/APSIn
t.h, line 127.
0  clang                      0x0000000101d2cfa8 
llvm::sys::PrintStackTrace(__sFILE*) + 40
1  clang                      0x0000000101d2d4f4 abort + 692
2  libsystem_platform.dylib   0x00007fff865bc5aa _sigtramp + 26
3  libsystem_malloc.dylib     0x00007fff8f4286ca szone_malloc_should_clear + 
1095
4  libsystem_c.dylib          0x00007fff886dcb1a abort + 125
5  libsystem_c.dylib          0x00007fff886a69bf basename + 0
6  libFindBadConstructs.dylib 0x000000010287487d llvm::APSInt const& 
llvm::APSInt::operator>() const + 173
7  libFindBadConstructs.dylib 0x0000000102873dfb (anonymous 
namespace)::FindBadConstructsConsumer::CheckChromeEnum(clang::SourceLocation, 
clang::EnumDecl*) + 251
8  libFindBadConstructs.dylib 0x0000000102870831 
ChromeClassTester::CheckTag(clang::TagDecl*) + 609
9  libFindBadConstructs.dylib 0x000000010287059c 
ChromeClassTester::HandleTopLevelDecl(clang::DeclGroupRef) + 60
10 clang                      0x000000010008a6c5 
clang::MultiplexConsumer::HandleTopLevelDecl(clang::DeclGroupRef) + 69
11 clang                      0x0000000100358d63 clang::ParseAST(clang::Sema&, 
bool, bool) + 403
12 clang                      0x00000001002f8995 
clang::CodeGenAction::ExecuteAction() + 165
13 clang                      0x000000010006e084 
clang::FrontendAction::Execute() + 116
14 clang                      0x000000010004680d 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 973
15 clang                      0x00000001000092c8 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3464
16 clang                      0x000000010000119f cc1_main(char const**, char 
const**, char const*, void*) + 831
17 clang                      0x000000010000742b main + 9083
18 clang                      0x0000000100000e34 start + 52
19 clang                      0x0000000000000095 start + 4294963861
Stack dump:
0.  Program arguments: 
/Users/fbarchard/libyuv/trunk/third_party/llvm-build/Release+Asserts/bin/clang 
-cc1 -triple x86_64-apple-macosx10.6.0 -emit-obj -mrelax-all -disable-free 
-main-file-name cpuid.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim 
-relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2 
-target-linker-version 136 -gdwarf-2 -coverage-file 
/Users/fbarchard/libyuv/trunk/out/Debug/obj/util/cpuid.cpuid.o -resource-dir 
/Users/fbarchard/libyuv/trunk/third_party/llvm-build/Release+Asserts/bin/../lib/
clang/3.5 -dependency-file obj/util/cpuid.cpuid.o.d -MT obj/util/cpuid.cpuid.o 
-isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S
DKs/MacOSX10.8.sdk -D V8_DEPRECATION_WARNINGS -D 
BLINK_SCALE_FILTERS_AT_RECORD_TIME -D CHROMIUM_BUILD -D USE_LIBJPEG_TURBO=1 -D 
ENABLE_ONE_CLICK_SIGNIN -D ENABLE_REMOTING=1 -D ENABLE_WEBRTC=1 -D 
ENABLE_PEPPER_CDMS -D ENABLE_CONFIGURATION_POLICY -D ENABLE_INPUT_SPEECH -D 
ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D 
DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -D 
SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -D ENABLE_EGLIMAGE=1 -D 
ENABLE_TASK_MANAGER=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PLUGIN_INSTALLATION=1 -D 
ENABLE_PLUGINS=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D 
ENABLE_AUTOFILL_DIALOG=1 -D ENABLE_BACKGROUND=1 -D ENABLE_AUTOMATION=1 -D 
ENABLE_GOOGLE_NOW=1 -D CLD_VERSION=2 -D ENABLE_FULL_PRINTING=1 -D 
ENABLE_PRINTING=1 -D ENABLE_SPELLCHECK=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 
-D ENABLE_APP_LIST=1 -D ENABLE_SETTINGS_APP=1 -D ENABLE_MANAGED_USERS=1 -D 
ENABLE_SERVICE_DISCOVERY=1 -D DYNAMIC_ANNOTATIONS_ENABLED=1 -D 
WTF_USE_DYNAMIC_ANNOTATIONS=1 -I ../../include -I ../.. -O0 -Werror 
-Wnewline-eof -Wendif-labels -Wno-unused-parameter 
-Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing 
-Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-deprecated-register 
-Wno-absolute-value -std=c99 -fdebug-compilation-dir 
/Users/fbarchard/libyuv/trunk/out/Debug -ferror-limit 19 -fmessage-length 0 
-fvisibility hidden -stack-protector 3 -mstackrealign -fblocks 
-fobjc-runtime=macosx-10.6.0 -fencode-extended-block-signature 
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -load 
/Users/fbarchard/libyuv/trunk/tools/clang/scripts/../../../third_party/llvm-buil
d/Release+Asserts/lib/libFindBadConstructs.dylib -add-plugin 
find-bad-constructs -o obj/util/cpuid.cpuid.o -x c ../../util/cpuid.c 
1.  ../../include/libyuv/video_common.h:121:1: current parser token 'enum'
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see 
invocation)
clang version 3.5 (trunk 202554)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to 
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and 
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: 
/var/folders/00/0pldr000h01000cxqpysvccm002tdq/T/cpuid-9483d4.c
clang: note: diagnostic msg: 
/var/folders/00/0pldr000h01000cxqpysvccm002tdq/T/cpuid-9483d4.sh
clang: note: diagnostic msg: 

********************
[18/20] CXX obj/unit_test/libyuv_unittest.convert_test.o
ninja: build stopped: subcommand failed.
ninja: Entering directory `out/Release'
[17/19] CC obj/util/cpuid.cpuid.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF 
obj/util/cpuid.cpuid.o.d -DV8_DEPRECATION_WARNINGS 
-DBLINK_SCALE_FILTERS_AT_RECORD_TIME -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 
-DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 
-DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH 
-DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 
-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY 
-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DENABLE_EGLIMAGE=1 
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 
-DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 
-DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 
-DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 
-DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 
-DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 
-DENABLE_SERVICE_DISCOVERY=1 -DNDEBUG -DNVALGRIND 
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../include -I../.. -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S
DKs/MacOSX10.8.sdk -O3 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof 
-mmacosx-version-min=10.6 -arch x86_64 -Wendif-labels -Wno-unused-parameter 
-Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing 
-Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-deprecated-register 
-Wno-absolute-value -std=c99 -Xclang -load -Xclang 
/Users/fbarchard/libyuv/trunk/tools/clang/scripts/../../../third_party/llvm-buil
d/Release+Asserts/lib/libFindBadConstructs.dylib -Xclang -add-plugin -Xclang 
find-bad-constructs -fcolor-diagnostics -fno-strict-aliasing  -c 
../../util/cpuid.c -o obj/util/cpuid.cpuid.o
Assertion failed: (IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"), 
function operator>, file 
/Volumes/MacintoshHD2/src/chrome-git/src/third_party/llvm/include/llvm/ADT/APSIn
t.h, line 127.
0  clang                      0x0000000101d2cfa8 
llvm::sys::PrintStackTrace(__sFILE*) + 40
1  clang                      0x0000000101d2d4f4 abort + 692
2  libsystem_platform.dylib   0x00007fff865bc5aa _sigtramp + 26
3  libsystem_malloc.dylib     0x00007fff8f4286ca szone_malloc_should_clear + 
1095
4  libsystem_c.dylib          0x00007fff886dcb1a abort + 125
5  libsystem_c.dylib          0x00007fff886a69bf basename + 0
6  libFindBadConstructs.dylib 0x000000010287487d llvm::APSInt const& 
llvm::APSInt::operator>() const + 173
7  libFindBadConstructs.dylib 0x0000000102873dfb (anonymous 
namespace)::FindBadConstructsConsumer::CheckChromeEnum(clang::SourceLocation, 
clang::EnumDecl*) + 251
8  libFindBadConstructs.dylib 0x0000000102870831 
ChromeClassTester::CheckTag(clang::TagDecl*) + 609
9  libFindBadConstructs.dylib 0x000000010287059c 
ChromeClassTester::HandleTopLevelDecl(clang::DeclGroupRef) + 60
10 clang                      0x000000010008a6c5 
clang::MultiplexConsumer::HandleTopLevelDecl(clang::DeclGroupRef) + 69
11 clang                      0x0000000100358d63 clang::ParseAST(clang::Sema&, 
bool, bool) + 403
12 clang                      0x00000001002f8995 
clang::CodeGenAction::ExecuteAction() + 165
13 clang                      0x000000010006e084 
clang::FrontendAction::Execute() + 116
14 clang                      0x000000010004680d 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 973
15 clang                      0x00000001000092c8 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3464
16 clang                      0x000000010000119f cc1_main(char const**, char 
const**, char const*, void*) + 831
17 clang                      0x000000010000742b main + 9083
18 clang                      0x0000000100000e34 start + 52
Stack dump:
0.  Program arguments: 
/Users/fbarchard/libyuv/trunk/third_party/llvm-build/Release+Asserts/bin/clang 
-cc1 -triple x86_64-apple-macosx10.6.0 -emit-obj -disable-free -main-file-name 
cpuid.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -relaxed-aliasing 
-masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 136 
-gdwarf-2 -coverage-file 
/Users/fbarchard/libyuv/trunk/out/Release/obj/util/cpuid.cpuid.o -resource-dir 
/Users/fbarchard/libyuv/trunk/third_party/llvm-build/Release+Asserts/bin/../lib/
clang/3.5 -dependency-file obj/util/cpuid.cpuid.o.d -MT obj/util/cpuid.cpuid.o 
-isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/S
DKs/MacOSX10.8.sdk -D V8_DEPRECATION_WARNINGS -D 
BLINK_SCALE_FILTERS_AT_RECORD_TIME -D CHROMIUM_BUILD -D USE_LIBJPEG_TURBO=1 -D 
ENABLE_ONE_CLICK_SIGNIN -D ENABLE_REMOTING=1 -D ENABLE_WEBRTC=1 -D 
ENABLE_PEPPER_CDMS -D ENABLE_CONFIGURATION_POLICY -D ENABLE_INPUT_SPEECH -D 
ENABLE_NOTIFICATIONS -D ENABLE_HIDPI=1 -D 
DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -D 
SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -D ENABLE_EGLIMAGE=1 -D 
ENABLE_TASK_MANAGER=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PLUGIN_INSTALLATION=1 -D 
ENABLE_PLUGINS=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D 
ENABLE_AUTOFILL_DIALOG=1 -D ENABLE_BACKGROUND=1 -D ENABLE_AUTOMATION=1 -D 
ENABLE_GOOGLE_NOW=1 -D CLD_VERSION=2 -D ENABLE_FULL_PRINTING=1 -D 
ENABLE_PRINTING=1 -D ENABLE_SPELLCHECK=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 
-D ENABLE_APP_LIST=1 -D ENABLE_SETTINGS_APP=1 -D ENABLE_MANAGED_USERS=1 -D 
ENABLE_SERVICE_DISCOVERY=1 -D NDEBUG -D NVALGRIND -D 
DYNAMIC_ANNOTATIONS_ENABLED=0 -I ../../include -I ../.. -O3 -Werror 
-Wnewline-eof -Wendif-labels -Wno-unused-parameter 
-Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing 
-Wno-char-subscripts -Wno-unneeded-internal-declaration 
-Wno-covered-switch-default -Wstring-conversion -Wno-deprecated-register 
-Wno-absolute-value -std=c99 -fdebug-compilation-dir 
/Users/fbarchard/libyuv/trunk/out/Release -ferror-limit 19 -fmessage-length 0 
-fvisibility hidden -stack-protector 1 -mstackrealign -fblocks 
-fobjc-runtime=macosx-10.6.0 -fencode-extended-block-signature 
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp 
-load 
/Users/fbarchard/libyuv/trunk/tools/clang/scripts/../../../third_party/llvm-buil
d/Release+Asserts/lib/libFindBadConstructs.dylib -add-plugin 
find-bad-constructs -o obj/util/cpuid.cpuid.o -x c ../../util/cpuid.c 
1.  ../../include/libyuv/video_common.h:121:1: current parser token 'enum'
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see 
invocation)
clang version 3.5 (trunk 202554)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to 
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and 
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: 
/var/folders/00/0pldr000h01000cxqpysvccm002tdq/T/cpuid-0520b9.c
clang: note: diagnostic msg: 
/var/folders/00/0pldr000h01000cxqpysvccm002tdq/T/cpuid-0520b9.sh
clang: note: diagnostic msg: 

********************
[17/19] CXX obj/unit_test/libyuv_unittest.convert_test.o
ninja: build stopped: subcommand failed.

Original issue reported on code.google.com by fbarch...@google.com on 2 Apr 2014 at 6:40

GoogleCodeExporter commented 9 years ago
This issue also affects arm64, but not arm32.

Original comment by fbarch...@chromium.org on 3 Apr 2014 at 6:49

GoogleCodeExporter commented 9 years ago
fixed in r1000

Original comment by fbarch...@chromium.org on 12 Apr 2014 at 3:02