Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 254 by [email protected]: dyld: Symbol not found:
___asan_mapping_offset, when running ASanified binary
http://code.google.com/p/address-sanitizer/issues/detail?id=254
This happens on Mac OS X when a binary is linked
with "-exported_symbol,something" option to specify that only the listed
symbols should be visible.
All the other symbols are made hidden when -exported_symbol is specified.
There are 2 possible solutions:
- teach the compiler driver to pass
the "-exported_symbol,__asan_mapping_offset"
and "-exported_symbol,__asan_mapping_scale" to the linker when in ASan mode.
- the constructor/initializer can pass the address of the function to the
runtime library directly. In that case, the symbols will not have to be
exported and can stay hidden.
I saw this issue when building 2 projects and
https://groups.google.com/forum/#!topic/address-sanitizer/aM-Tbw_zsD0 seems
to be the same problem.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.