{"action":"created","issue":{"url":"https://api.github.com/repos/google/sanitizers/issues/669","repository_url":"https://api.github.com/repos/google/sanitizers","labels_url":"https://api.github.com/repos/google/sanitizers/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/google/sanitizers/issues/669/comments","events_url":"https://api.github.com/repos/google/sanitizers/issues/669/events","html_url":"https://github.com/google/sanitizers/issues/669","id":147376658,"number":669,"title":"Several hundred asan failures with 6.0 on x86_64-apple-darwin10.8","user":{"login":"DominiquedHumieres","id":18394944,"avatar_url":"https://avatars.githubusercontent.com/u/18394944?v=3","gravatar_id":"","url":"https://api.github.com/users/DominiquedHumieres","html_url":"https://github.com/DominiquedHumieres","followers_url":"https://api.github.com/users/DominiquedHumieres/followers","following_url":"https://api.github.com/users/DominiquedHumieres/following{/other_user}","gists_url":"https://api.github.com/users/DominiquedHumieres/gists{/gist_id}","starred_url":"https://api.github.com/users/DominiquedHumieres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DominiquedHumieres/subscriptions","organizations_url":"https://api.github.com/users/DominiquedHumieres/orgs","repos_url":"https://api.github.com/users/DominiquedHumieres/repos","events_url":"https://api.github.com/users/DominiquedHumieres/events{/privacy}","received_events_url":"https://api.github.com/users/DominiquedHumieres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T10:00:32Z","updated_at":"2016-04-11T17:20:35Z","closed_at":null,"body":"On x86_64-apple-darwin10.8 I get several hundred asan failures with 6.0 (see\r\nhttps://gcc.gnu.org/ml/gcc-testresults/2016-04/msg01013.html). Most (if not\r\nall) of them are of the kind\r\n\r\ndyld: Symbol not found: _dyldVersionNumber\r\n  Referenced from:\r\n/opt/gcc/build_c/x86_64-apple-darwin10.8.0/i386/libsanitizer/asan/.libs/libasan.3.dylib\r\n  Expected in: flat namespace\r\n in\r\n/opt/gcc/build_c/x86_64-apple-darwin10.8.0/i386/libsanitizer/asan/.libs/libasan.3.dylib\r\n\r\nAFAICT they are related to revision r229111\r\n\r\n+bool DyldNeedsEnvVariable() {\r\n+  // If running on OS X 10.11+ or iOS 9.0+, dyld will interpose even if\r\n+  // DYLD_INSERT_LIBRARIES is not set. However, checking OS version via\r\n+  // GetMacosVersion() doesn't work for the simulator. Let's instead check\r\n+  // `dyldVersionNumber`, which is exported by dyld, against a known version\r\n+  // number from the first OS release where this appeared.\r\n+  return dyldVersionNumber < kMinDyldVersionWithAutoInterposition;\r\n+}\r\n+\r\n"},"comment":{"url":"https://api.github.com/repos/google/sanitizers/issues/comments/208456812","html_url":"https://github.com/google/sanitizers/issues/669#issuecomment-208456812","issue_url":"https://api.github.com/repos/google/sanitizers/issues/669","id":208456812,"user":{"login":"chefmax","id":3305556,"avatar_url":"https://avatars.githubusercontent.com/u/3305556?v=3","gravatar_id":"","url":"https://api.github.com/users/chefmax","html_url":"https://github.com/chefmax","followers_url":"https://api.github.com/users/chefmax/followers","following_url":"https://api.github.com/users/chefmax/following{/other_user}","gists_url":"https://api.github.com/users/chefmax/gists{/gist_id}","starred_url":"https://api.github.com/users/chefmax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chefmax/subscriptions","organizations_url":"https://api.github.com/users/chefmax/orgs","repos_url":"https://api.github.com/users/chefmax/repos","events_url":"https://api.github.com/users/chefmax/events{/privacy}","received_events_url":"https://api.github.com/users/chefmax/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T17:20:35Z","updated_at":"2016-04-11T17:20:35Z","body":"Could it be that your dyld simply doesn't contain **_dyldVersionNumber** symbol (although this would be quite strange)? Could you check this?"}}