gopalshankar / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

iossim runtime library must differ from the x86 one #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following error is printed when we're trying to link with ASan using ld 
from Xcode 5:

ld: building for iOS Simulator, but linking against dylib built for MacOSX file 
'.../src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.4/lib/darwin/
libclang_rt.asan_osx_dynamic.dylib' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Looks like we need to build a separate version of the runtime library for 
iossim.

Original issue reported on code.google.com by ramosian.glider@gmail.com on 26 Sep 2013 at 2:10

GoogleCodeExporter commented 9 years ago

Original comment by gli...@chromium.org on 1 Oct 2013 at 4:36

GoogleCodeExporter commented 9 years ago
As of  
https://llvm.org/viewvc/llvm-project?view=revision&sortby=log&revision=194820
and related diffs, I believe you can (and should) close this issue.

Original comment by mathieu....@gmail.com on 18 Dec 2013 at 1:26

GoogleCodeExporter commented 9 years ago
Yeah, thanks.

Original comment by ramosian.glider@gmail.com on 23 Dec 2013 at 4:14