{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3293","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3293/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3293/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3293/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/3293","id":100263434,"number":3293,"title":"18115632: Xcode 6 beta 6: Inscrutable Error when analyzing sqlite3.c","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:serious%20bug","name":"classification:serious bug","color":"e11d21"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/121","html_url":"https://github.com/lionheart/openradar-mirror/milestones/Xcode%206%20Beta%206","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/121/labels","id":1249699,"number":121,"title":"Xcode 6 Beta 6","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-08-11T09:01:17Z","updated_at":"2015-08-11T09:01:18Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-11T09:01:18Z","updated_at":"2015-08-11T09:01:18Z","closed_at":null,"body":"#### Description\n\n* SUMMARY\r\n\r\nI build sqlite3 from source into a static library to ship in my app.  For historical reasons, it is built in a separate project.  Due to known incompatibilities with Dr. Hipp's coding style and clang, I have set a compiler flag -w -Xanalyzer -analyzer-disable-checker on the amalgamated source file, sqlite3.c.\r\n\r\nIf I open this project in Xcode 5 and run the static analyzer, it succeeds with no errors.  However, when I do the same thing in Xcode 6 Beta 6, I get a these two completely inscrutable errors:\r\n\r\nerror: error reading 'pic'\r\nerror: no analyzer checkers are associated with '-mrelocation-model'\r\n\r\n\r\n* STEPS TO REPRODUCE\r\n\r\n1.  Download archive of project folder from here:\r\n      http://sheepsystems.com/engineering/sqlite3.zip\r\n2.  Unzip, find the project inside and open with Xcode 5.\r\n3.  Click in the menu: Product > Analyze.  It results in no errors or warnings.\r\n4.  Quit Xcode 5.\r\n5.  Open the project in Xcode 6 Beta 6.\r\n6.  Click in the menu: Product > Analyze.\r\n\r\n\r\n* EXPECTED RESULTS\r\n\r\nNo warnings or errors, same as with Xcode 5\r\n\r\n\r\n* ACTUAL RESULTS\r\n\r\n(Scroll down to bottom to see \"2 errors\")\r\n\r\nAnalyze sqlite3.c\r\n    cd /Users/jk/Desktop/sqlite3\r\n    export LANG=en_US.US-ASCII\r\n    /Applications/Xcode6-Beta6.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 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode6-Beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mmacosx-version-min=10.6 -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-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 -iquote /Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Intermediates/sqlite3.build/Debug/sqlite.build/sqlite-generated-files.hmap -I/Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Intermediates/sqlite3.build/Debug/sqlite.build/sqlite-own-target-headers.hmap -I/Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Intermediates/sqlite3.build/Debug/sqlite.build/sqlite-all-target-headers.hmap -iquote /Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Intermediates/sqlite3.build/Debug/sqlite.build/sqlite-project-headers.hmap -I/Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Products/Debug/include -I/Applications/Xcode6-Beta6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Intermediates/sqlite3.build/Debug/sqlite.build/DerivedSources/x86_64 -I/Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Intermediates/sqlite3.build/Debug/sqlite.build/DerivedSources -F/Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Products/Debug -w -Xanalyzer -analyzer-disable-checker --analyze /Users/jk/Desktop/sqlite3/sqlite3.c -o /Users/jk/Library/Developer/Xcode/DerivedData/sqlite3-ewelmofosrmtfyggddqlcevplxef/Build/Intermediates/sqlite3.build/Debug/sqlite.build/StaticAnalyzer/sqlite3/sqlite/normal/x86_64/sqlite3.plist\r\n\r\nerror: error reading 'pic'\r\nerror: no analyzer checkers are associated with '-mrelocation-model'\r\n2 errors generated.\r\nCommand /Applications/Xcode6-Beta6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1\r\n\r\n\r\n* NOTES\r\n\r\nI have no idea how to begin trying to understand what this error is.  I have no idea what is meant by 'pic'.\n\n-\nProduct Version: Xcode 6.0 (6A280e)\nCreated: 2014-08-25T02:50:15.992945\nOriginated: 2014-08-24T00:00:00\nOpen Radar Link: http://www.openradar.me/18115632"}}