WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
128346
Errors while compiling WebInspectorUI with ASAN
https://bugs.webkit.org/show_bug.cgi?id=128346
Summary
Errors while compiling WebInspectorUI with ASAN
Myles C. Maxfield
Reported
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='
Attachments
patch
(21.88 KB, patch)
2014-02-08 20:59 PST
,
Blaze Burg
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Blaze Burg
Comment 1
2014-02-08 20:59:57 PST
Created
attachment 223605
[details]
patch
Blaze Burg
Comment 2
2014-02-08 21:00:45 PST
Comment on
attachment 223605
[details]
patch wrong bug
David Farler
Comment 3
2014-02-21 15:27:38 PST
Still having problems building?
Myles C. Maxfield
Comment 4
2014-02-21 15:41:39 PST
Reopened so I can verify
Alexey Proskuryakov
Comment 5
2015-01-20 11:13:28 PST
The whole WebKit stack builds with ASan successfully now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug