Bug 128346

Summary: Errors while compiling WebInspectorUI with ASAN
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: Tools / TestsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED WORKSFORME    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description Myles C. Maxfield 2014-02-06 17:13:58 PST
=== BUILD TARGET WebInspectorUI OF PROJECT WebInspectorUI WITH CONFIGURATION Release ===

Check dependencies

PhaseScriptExecution Copy\ User\ Interface\ Resources /Volumes/Data/home/mmaxfield/Build/WebInspectorUI.build/Release/WebInspectorUI.build/Script-1C60FF1214E6D9AF006CD77D.sh
    cd /Volumes/Data/home/mmaxfield/src/WebKit/OpenSource/Source/WebInspectorUI
    /bin/sh -c /Volumes/Data/home/mmaxfield/Build/WebInspectorUI.build/Release/WebInspectorUI.build/Script-1C60FF1214E6D9AF006CD77D.sh

AnalyzeShallow WebInspectorUI.c
    cd /Volumes/Data/home/mmaxfield/src/WebKit/OpenSource/Source/WebInspectorUI
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wmissing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -DNDEBUG -DENGINEERING_BUILD=1 -DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST -DFRAMEWORK_NAME=WebInspectorUI -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.Internal.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.9 -g -Wno-sign-conversion -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang mode=shallow -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -I/Volumes/Data/home/mmaxfield/Build/WebInspectorUI.build/Release/WebInspectorUI.build/WebInspectorUI.hmap -I/Volumes/Data/home/mmaxfield/Build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/ASAN.xctoolchain/usr/include -I/Volumes/Data/home/mmaxfield/Build/WebInspectorUI.build/Release/WebInspectorUI.build/DerivedSources/x86_64 -I/Volumes/Data/home/mmaxfield/Build/WebInspectorUI.build/Release/WebInspectorUI.build/DerivedSources -Wall -W -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter -Wexit-time-destructors -F/Volumes/Data/home/mmaxfield/Build/Release -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.Internal.sdk/System/Library/PrivateFrameworks -fsanitize=address -O1 -mllvm -asan-blacklist=/Volumes/Data/home/mmaxfield/src/WebKit/OpenSource/Tools/asan/webkit-asan-ignore.txt -Wno-error -fno-omit-frame-pointer -g -DUSE_SYSTEM_MALLOC=1 --analyze /Volumes/Data/home/mmaxfield/src/WebKit/OpenSource/Source/WebInspectorUI/WebInspectorUI.c -o /Volumes/Data/home/mmaxfield/Build/WebInspectorUI.build/Release/WebInspectorUI.build/StaticAnalyzer/WebInspectorUI/WebInspectorUI/normal/x86_64/WebInspectorUI.plist
clang: error: '-fsanitize-undefined-trap-on-error' required with '-fsanitize=address' option
clang: error: unsupported argument 'address' to option 'fsanitize='
Comment 1 BJ Burg 2014-02-08 20:59:57 PST
Created attachment 223605 [details]
patch
Comment 2 BJ Burg 2014-02-08 21:00:45 PST
Comment on attachment 223605 [details]
patch

wrong bug
Comment 3 David Farler 2014-02-21 15:27:38 PST
Still having problems building?
Comment 4 Myles C. Maxfield 2014-02-21 15:41:39 PST
Reopened so I can verify
Comment 5 Alexey Proskuryakov 2015-01-20 11:13:28 PST
The whole WebKit stack builds with ASan successfully now.