llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.69k stars 11.87k forks source link

Not able to build compiler-rt , linking error #25150

Closed llvmbot closed 2 years ago

llvmbot commented 9 years ago
Bugzilla Link 24776
Resolution FIXED
Resolved on Oct 11, 2015 10:48
Version 3.7
OS MacOS X
Reporter LLVM Bugzilla Contributor
CC @llvm-beanz,@jeremyhu,@Keno

Extended Description

I am trying to build LLVM and compiler-rt as its part. I am running on OS X El Capitan 10.11 Beta 6 (15A278b). But I am getting following error. ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++.tbd, missing required architecture x86_64h in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libc++.tbd Undefined symbols for architecture x86_64h: "_OSSpinLockLock", referenced from: sanitizer::BlockingMutex::Lock() in sanitizer_mac.o "_OSSpinLockUnlock", referenced from: sanitizer::BlockingMutex::Unlock() in sanitizer_mac.o "Block_object_assign", referenced from: ___copy_helperblock in asanmac.o copy_helperblock.16 in asan_mac.o _copy_helperblock.19 in asanmac.o copy_helperblock.22 in asan_mac.o _copy_helperblock.25 in asan_mac.o "__Block_objectdispose", referenced from: destroy_helperblock in asan_mac.o _destroy_helperblock.17 in asanmac.o destroy_helperblock.20 in asan_mac.o _destroy_helperblock.23 in asanmac.o destroy_helperblock.26 in asan_mac.o "NSConcreteStackBlock", referenced from: _wrap_dispatch_async in asan_mac.o _wrap_dispatch_group_async in asan_mac.o _wrap_dispatch_after in asan_mac.o _wrap_dispatch_source_set_cancel_handler in asan_mac.o _wrap_dispatch_source_set_event_handler in asan_mac.o "NSGetArgv", referenced from: asan::MaybeReexec() in asan_mac.o "NSGetEnviron", referenced from: sanitizer::GetEnviron() in sanitizer_mac.o __sanitizer::GetEnv(char const*) in sanitizer_mac.o "NSGetExecutablePath", referenced from: asan::MaybeReexec() in asan_mac.o __sanitizer::ReadBinaryName(char*, unsigned long) in sanitizer_mac.o "typeinfo for cxxabiv1::class_type_info", referenced from: ubsan::checkDynamicType(void, void, unsigned long) in ubsan_type_hash_itanium.o isDerivedFromAtOffset(cxxabiv1::class_type_info const, cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o findBaseAtOffset(cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o "typeinfo for cxxabiv1::si_class_type_info", referenced from: isDerivedFromAtOffset(cxxabiv1::class_type_info const, cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o findBaseAtOffset(cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o "typeinfo for cxxabiv1::vmi_class_type_info", referenced from: isDerivedFromAtOffset(cxxabiv1::class_type_info const, cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o findBaseAtOffset(cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o "typeinfo for std::type_info", referenced from: __ubsan::checkDynamicType(void, void, unsigned long) in ubsan_type_hash_itanium.o "vtable for cxxabiv1::class_type_info", referenced from: typeinfo for sanitizer::FlagHandlerBase in asan_activation.o typeinfo for __sanitizer::FlagHandlerBase in asan_flags.o typeinfo for sanitizer::ThreadContextBase in asan_thread.o typeinfo for sanitizer::DDetector in sanitizer_deadlock_detector1.o typeinfo for sanitizer::FlagHandlerBase in sanitizer_flags.o typeinfo for sanitizer::SymbolizerTool in sanitizer_symbolizer_libbacktrace.o typeinfo for sanitizer::SymbolizerTool in sanitizer_symbolizer_libcdep.o ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for cxxabiv1::si_class_type_info", referenced from: typeinfo for sanitizer::FlagHandler in asan_activation.o typeinfo for __sanitizer::FlagHandler in asan_activation.o typeinfo for sanitizer::FlagHandler<char const> in asan_activation.o typeinfo for sanitizer::FlagHandler in asan_flags.o typeinfo for __sanitizer::FlagHandler in asan_flags.o typeinfo for sanitizer::FlagHandler<char const> in asan_flags.o typeinfo for __asan::AsanThreadContext in asan_thread.o ... NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "operator delete[](void)", referenced from: substitutionZdaPv in asan_new_delete.o (maybe you meant: _wrapZdaPvRKSt9nothrow_t, _wrapZdaPv ) "operator delete[](void*, std::nothrow_t const&)", referenced from: substitutionZdaPvRKSt9nothrow_t in asan_new_delete.o (maybe you meant: _wrapZdaPvRKSt9nothrow_t) "operator delete(void*)", referenced from: substitution__ZdlPv in asan_new_delete.o (maybe you meant: _wrapZdlPvRKSt9nothrow_t, _wrapZdlPv ) "operator delete(void*, std::nothrow_t const&)", referenced from: substitutionZdlPvRKSt9nothrow_t in asan_new_delete.o (maybe you meant: _wrapZdlPvRKSt9nothrow_t) "operator new[](unsigned long)", referenced from: substitutionZnam in asan_new_delete.o (maybe you meant: _wrapZnam, _wrapZnamRKSt9nothrow_t ) "operator new[](unsigned long, std::nothrow_t const&)", referenced from: substitutionZnamRKSt9nothrow_t in asan_new_delete.o (maybe you meant: _wrap__ZnamRKSt9nothrow_t) "operator new(unsigned long)", referenced from: substitutionZnwm in asan_new_delete.o (maybe you meant: _wrapZnwmRKSt9nothrow_t, _wrapZnwm ) "operator new(unsigned long, std::nothrow_t const&)", referenced from: substitutionZnwmRKSt9nothrow_t in asan_new_delete.o (maybe you meant: _wrapZnwmRKSt9nothrow_t) "_assert_rtn", referenced from: _compilerrt_abort_impl in int_util.o "__bzero", referenced from: substitutionbzero in asan_interceptors.o (maybe you meant: _wrapbzero) "cxa_atexit", referenced from: _wrap_cxa_atexit in asaninterceptors.o substitutioncxa_atexit in asan_interceptors.o (maybe you meant: _wrap_cxa_atexit) "___cxa_demangle", referenced from: sanitizer::DemangleCXXABI(char const) in sanitizer_symbolizer_posix_libcdep.o __sanitizer::Symbolizer::PlatformDemangle(char const) in sanitizer_symbolizer_posix_libcdep.o "_cxa_throw", referenced from: wrapcxa_throw in asan_interceptors.o substitution_cxa_throw in asan_interceptors.o (maybe you meant: _wrap_cxathrow) "dynamic_cast", referenced from: ubsan::checkDynamicType(void, void, unsigned long) in ubsan_type_hash_itanium.o isDerivedFromAtOffset(cxxabiv1::class_type_info const, cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o findBaseAtOffset(cxxabiv1::class_type_info const, long) in ubsan_type_hash_itanium.o "_error", referenced from: sanitizer::internal_iserror(unsigned long, int) in sanitizer_mac.o sanitizer::DisableCoreDumperIfNecessary() in sanitizer_posix_libcdep.o sanitizer::SetStackSizeLimitInBytes(unsigned long) in sanitizer_posix_libcdep.o sanitizer::SetAddressSpaceUnlimited() in sanitizer_posix_libcdep.o sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o "_stack_chk_fail", referenced from: __asan::AsanDeactivatedFlags::OverrideFromActivationFlags() in asan_activation.o asan::InitializeFlags() in asan_flags.o _wrap_vscanf in asan_interceptors.o _wrap_vsscanf in asan_interceptors.o _wrap_vfscanf in asan_interceptors.o _wrap_scanf in asan_interceptors.o _wrap_fscanf in asan_interceptors.o ... "_stack_chk_guard", referenced from: __asan::AsanDeactivatedFlags::OverrideFromActivationFlags() in asan_activation.o asan::InitializeFlags() in asan_flags.o _wrap_vscanf in asan_interceptors.o _wrap_vsscanf in asan_interceptors.o _wrap_vfscanf in asan_interceptors.o _wrap_scanf in asan_interceptors.o _wrap_fscanf in asan_interceptors.o ... "dyld_get_image_header", referenced from: sanitizer::MemoryMappingLayout::Next(unsigned long, unsigned long, unsigned long, char, unsigned long, unsigned long*) in sanitizer_procmaps_mac.o "dyld_get_image_name", referenced from: sanitizer::MemoryMappingLayout::Next(unsigned long, unsigned long, unsigned long, char, unsigned long, unsigned long) in sanitizer_procmaps_mac.o "dyld_get_image_vmaddr_slide", referenced from: sanitizer::MemoryMappingLayout::Next(unsigned long, unsigned long, unsigned long, char, unsigned long, unsigned long) in sanitizer_procmaps_mac.o "dyld_image_count", referenced from: sanitizer::MemoryMappingLayout::MemoryMappingLayout(bool) in sanitizer_procmaps_mac.o sanitizer::MemoryMappingLayout::Reset() in sanitizer_procmaps_mac.o sanitizer::MemoryMappingLayout::MemoryMappingLayout(bool) in sanitizer_procmaps_mac.o sanitizer::MemoryMappingLayout::DumpListOfModules(sanitizer::LoadedModule, unsigned long, bool ()(char const)) in sanitizer_procmaps_mac.o "exit", referenced from: sanitizer::internalexit(int) in sanitizer_mac.o (maybe you meant: ZN11sanitizer14internalexitEi) "longjmp", referenced from: _wraplongjmp in asan_interceptors.o substitutionlongjmp in asan_interceptors.o (maybe you meant: _wraplongjmp) "_abort", referenced from: sanitizer::Abort() in sanitizer_posix_libcdep.o (maybe you meant: _ubsan_handle_cfi_bad_typeabort, ubsan_handle_nonnull_returnabort , ubsan_handle_function_type_mismatch_abort , _ubsan_handle_shift_out_of_boundsabort , ubsan_handle_mul_overflow_abort , _ubsan_handle_add_overflowabort , ubsan_handle_divrem_overflow_abort , _ubsan_handle_dynamic_type_cache_miss_abort , _compilerrt_abort_impl , _ubsan_handle_load_invalid_valueabort , ubsan_handle_out_of_bounds_abort , ___ubsan_handle_sub_overflowabort , ubsan_handle_cfi_bad_icall_abort , _ubsan_handle_nonnull_argabort , ubsan_handle_float_cast_overflow_abort , _ubsan_handle_negate_overflowabort , ubsan_handle_vla_bound_not_positive_abort , _ubsan_handle_type_mismatch_abort ) "_accept", referenced from: _wrap_accept in asan_interceptors.o substitution_accept in asan_interceptors.o (maybe you meant: _wrap_accept) "_asctime", referenced from: _wrap_asctime in asan_interceptors.o substitution_asctime in asan_interceptors.o (maybe you meant: _wrap_asctime_r, _wrap_asctime ) "_asctime_r", referenced from: _wrap_asctime_r in asan_interceptors.o substitution_asctime_r in asan_interceptors.o (maybe you meant: _wrap_asctime_r) "_asprintf", referenced from: substitution_asprintf in asan_interceptors.o (maybe you meant: _wrap_asprintf) "_atexit", referenced from: sanitizer::Atexit(void ()()) in sanitizer_posix_libcdep.o (maybe you meant: _wrap_cxa_atexit) "_atoi", referenced from: _wrap_atoi in asan_interceptors.o substitution_atoi in asan_interceptors.o (maybe you meant: _wrap_atoi) "_atol", referenced from: _wrap_atol in asan_interceptors.o substitution_atol in asan_interceptors.o (maybe you meant: _wrap_atol, ZN11sanitizer14internal_atollEPKc , _wrap_atoll ) "_atoll", referenced from: _wrap_atoll in asan_interceptors.o substitution_atoll in asan_interceptors.o (maybe you meant: ZN11sanitizer14internal_atollEPKc, _wrap_atoll ) "_calloc", referenced from: substitution_calloc in asan_malloc_mac.o (maybe you meant: _asan_mz_calloc, _wrap_calloc , ZN6__asan11asan_callocEmmPN11sanitizer18BufferedStackTraceE ) "_close", referenced from: sanitizer::internal_close(int) in sanitizer_mac.o (maybe you meant: ZN11sanitizer14internal_closeEi) "_confstr", referenced from: _wrap_confstr in asan_interceptors.o substitution_confstr in asan_interceptors.o (maybe you meant: _wrap_confstr) "_ctime", referenced from: _wrap_ctime in asan_interceptors.o substitution_ctime in asan_interceptors.o (maybe you meant: _wrap_ctime_r, _wrap_ctime ) "_ctime_r", referenced from: _wrap_ctime_r in asan_interceptors.o substitution_ctime_r in asan_interceptors.o (maybe you meant: _wrap_ctime_r) "_dispatch_after", referenced from: _wrap_dispatch_after in asan_mac.o substitution_dispatch_after in asan_mac.o (maybe you meant: _wrap_dispatch_after, _wrap_dispatch_after_f ) "_dispatch_after_f", referenced from: _wrap_dispatch_after_f in asan_mac.o substitution_dispatch_after_f in asan_mac.o (maybe you meant: _wrap_dispatch_after_f) "_dispatch_async", referenced from: _wrap_dispatch_async in asan_mac.o substitution_dispatch_async in asan_mac.o (maybe you meant: _wrap_dispatch_async, _wrap_dispatch_async_f ) "_dispatch_async_f", referenced from: _wrap_dispatch_async_f in asan_mac.o substitution_dispatch_async_f in asan_mac.o (maybe you meant: _wrap_dispatch_async_f) "_dispatch_barrier_async_f", referenced from: _wrap_dispatch_barrier_async_f in asan_mac.o substitution_dispatch_barrier_async_f in asan_mac.o (maybe you meant: _wrap_dispatch_barrier_async_f) "_dispatch_group_async", referenced from: _wrap_dispatch_group_async in asan_mac.o substitution_dispatch_group_async in asan_mac.o (maybe you meant: _wrap_dispatch_group_async, _wrap_dispatch_group_async_f ) "_dispatch_group_async_f", referenced from: _wrap_dispatch_group_async_f in asan_mac.o substitution_dispatch_group_async_f in asan_mac.o (maybe you meant: _wrap_dispatch_group_async_f) "_dispatch_source_set_cancel_handler", referenced from: _wrap_dispatch_source_set_cancel_handler in asan_mac.o substitution_dispatch_source_set_cancel_handler in asan_mac.o (maybe you meant: _wrap_dispatch_source_set_cancel_handler) "_dispatch_source_set_event_handler", referenced from: _wrap_dispatch_source_set_event_handler in asan_mac.o substitution_dispatch_source_set_event_handler in asan_mac.o (maybe you meant: _wrap_dispatch_source_set_event_handler) "_dispatch_sync_f", referenced from: _wrap_dispatch_sync_f in asan_mac.o substitution_dispatch_sync_f in asan_mac.o (maybe you meant: _wrap_dispatch_sync_f) "_dladdr", referenced from: asan::MaybeReexec() in asan_mac.o sanitizer::DlAddrSymbolizer::SymbolizePC(unsigned long, sanitizer::SymbolizedStack) in sanitizer_symbolizer_mac.o "_dlclose", referenced from: _wrap_dlclose in asan_interceptors.o substitution_dlclose in asan_interceptors.o (maybe you meant: _wrap_dlclose) "_dlopen", referenced from: _wrap_dlopen in asan_interceptors.o substitution_dlopen in asan_interceptors.o (maybe you meant: _wrap_dlopen) "_dup2", referenced from: sanitizer::internal_dup2(int, int) in sanitizer_mac.o (maybe you meant: ZN11sanitizer13internal_dup2Eii) "_dyldVersionNumber", referenced from: asan::DyldNeedsEnvVariable() in asan_mac.o asan::MaybeReexec() in asan_mac.o "_endgrent", referenced from: _wrap_endgrent in asan_interceptors.o substitution_endgrent in asan_interceptors.o (maybe you meant: _wrap_endgrent) "_endpwent", referenced from: _wrap_endpwent in asan_interceptors.o substitution_endpwent in asan_interceptors.o (maybe you meant: _wrap_endpwent) "_ether_aton", referenced from: _wrap_ether_aton in asan_interceptors.o substitution_ether_aton in asan_interceptors.o (maybe you meant: _wrap_ether_aton) "_ether_hostton", referenced from: _wrap_ether_hostton in asan_interceptors.o substitution_ether_hostton in asan_interceptors.o (maybe you meant: _wrap_ether_hostton) "_ether_line", referenced from: _wrap_ether_line in asan_interceptors.o substitution_ether_line in asan_interceptors.o (maybe you meant: _wrap_ether_line) "_ether_ntoa", referenced from: _wrap_ether_ntoa in asan_interceptors.o substitution_ether_ntoa in asan_interceptors.o (maybe you meant: _wrap_ether_ntoa) "_ether_ntohost", referenced from: _wrap_ether_ntohost in asan_interceptors.o substitution_ether_ntohost in asan_interceptors.o (maybe you meant: _wrap_ether_ntohost) "_execv", referenced from: asan::MaybeReexec() in asan_mac.o sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o "_fclose", referenced from: _wrap_fclose in asan_interceptors.o substitution_fclose in asan_interceptors.o (maybe you meant: _wrap_fclose) "_fdopen", referenced from: _wrap_fdopen in asan_interceptors.o substitution_fdopen in asan_interceptors.o (maybe you meant: _wrap_fdopen) "_fflush", referenced from: _wrap_fflush in asan_interceptors.o substitution_fflush in asan_interceptors.o (maybe you meant: _wrap_fflush) "_fopen", referenced from: _wrap_fopen in asan_interceptors.o substitution_fopen in asan_interceptors.o (maybe you meant: _wrap_fopen) "_fork", referenced from: _wrap_fork in asan_interceptors.o substitution_fork in asan_interceptors.o sanitizer::internal_fork() in sanitizer_mac.o (maybe you meant: _wrap_fork, ZN11sanitizer13internal_forkEv ) "_forkpty", referenced from: sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o "_fprintf", referenced from: substitution_fprintf in asan_interceptors.o (maybe you meant: _wrap_fprintf) "_free", referenced from: substitution_free in asan_mallocmac.o (maybe you meant: sanitizer_get_free_bytes, _asan_stack_free_5 , _wrap_free , _asan_mz_free , ZN6asan15asan_sized_freeEPvmPN11sanitizer18BufferedStackTraceENS_9AllocTypeE , ___sanitizer_freehook , asan_stack_free_9 , _asan_stack_free_6 , _asan_stack_free4 , asan_stack_free_3 , _asan_stack_free1 , asan_stack_free_0 , _asan_stack_free2 , asan_get_free_stack , ___asan_stack_free_10 , ZN6asan9asan_freeEPvPN11sanitizer18BufferedStackTraceENS9AllocTypeE , asan_stack_free_8 , ___asan_stack_free_7 ) "_freopen", referenced from: _wrap_freopen in asan_interceptors.o substitution_freopen in asan_interceptors.o (maybe you meant: _wrap_freopen) "_frexp", referenced from: _wrap_frexp in asan_interceptors.o substitution_frexp in asan_interceptors.o (maybe you meant: _wrap_frexpf, _wrap_frexp , _wrap_frexpl ) "_frexpf", referenced from: _wrap_frexpf in asan_interceptors.o substitution_frexpf in asan_interceptors.o (maybe you meant: _wrap_frexpf) "_frexpl", referenced from: _wrap_frexpl in asan_interceptors.o substitution_frexpl in asan_interceptors.o (maybe you meant: _wrap_frexpl) "_fscanf", referenced from: substitution_fscanf in asan_interceptors.o (maybe you meant: _wrap_fscanf) "_fstat$INODE64", referenced from: sanitizer::internal_fstat(int, void) in sanitizer_mac.o sanitizer::internal_filesize(int) in sanitizer_mac.o "_fstatfs", referenced from: _wrap_fstatfs in asan_interceptors.o substitution_fstatfs in asan_interceptors.o (maybe you meant: _wrap_fstatfs64, _wrap_fstatfs ) "_fstatfs64", referenced from: _wrap_fstatfs64 in asan_interceptors.o substitution_fstatfs64 in asan_interceptors.o (maybe you meant: _wrap_fstatfs64) "_ftime", referenced from: _wrap_ftime in asan_interceptors.o substitution_ftime in asan_interceptors.o (maybe you meant: _wrap_ftime) "_ftruncate", referenced from: sanitizer::internal_ftruncate(int, unsigned long) in sanitizer_mac.o (maybe you meant: ZN11sanitizer18internal_ftruncateEim) "_getaddrinfo", referenced from: _wrap_getaddrinfo in asan_interceptors.o substitution_getaddrinfo in asan_interceptors.o (maybe you meant: _wrap_getaddrinfo) "_getcwd", referenced from: _wrap_getcwd in asan_interceptors.o substitution_getcwd in asan_interceptors.o (maybe you meant: _wrap_getcwd) "_getgrent", referenced from: _wrap_getgrent in asan_interceptors.o substitution_getgrent in asan_interceptors.o (maybe you meant: _wrap_getgrent) "_getgrgid", referenced from: _wrap_getgrgid in asan_interceptors.o substitution_getgrgid in asan_interceptors.o (maybe you meant: _wrap_getgrgid_r, _wrap_getgrgid ) "_getgrgid_r", referenced from: _wrap_getgrgid_r in asan_interceptors.o substitution_getgrgid_r in asan_interceptors.o (maybe you meant: _wrap_getgrgid_r) "_getgrnam", referenced from: _wrap_getgrnam in asan_interceptors.o substitution_getgrnam in asan_interceptors.o (maybe you meant: _wrap_getgrnam, _wrap_getgrnam_r ) "_getgrnam_r", referenced from: _wrap_getgrnam_r in asan_interceptors.o substitution_getgrnam_r in asan_interceptors.o (maybe you meant: _wrap_getgrnam_r) "_getgroups", referenced from: _wrap_getgroups in asan_interceptors.o substitution_getgroups in asan_interceptors.o (maybe you meant: _wrap_getgroups) "_gethostbyaddr", referenced from: _wrap_gethostbyaddr in asan_interceptors.o substitution_gethostbyaddr in asan_interceptors.o (maybe you meant: _wrap_gethostbyaddr) "_gethostbyname", referenced from: _wrap_gethostbyname in asan_interceptors.o substitution_gethostbyname in asan_interceptors.o (maybe you meant: _wrap_gethostbyname2, _wrap_gethostbyname ) "_gethostbyname2", referenced from: _wrap_gethostbyname2 in asan_interceptors.o substitution_gethostbyname2 in asan_interceptors.o (maybe you meant: _wrap_gethostbyname2) "_gethostent", referenced from: _wrap_gethostent in asan_interceptors.o substitution_gethostent in asan_interceptors.o (maybe you meant: _wrap_gethostent) "_getifaddrs", referenced from: _wrap_getifaddrs in asan_interceptors.o substitution_getifaddrs in asan_interceptors.o (maybe you meant: _wrap_getifaddrs) "_getitimer", referenced from: _wrap_getitimer in asan_interceptors.o substitution_getitimer in asan_interceptors.o (maybe you meant: _wrap_getitimer) "_getnameinfo", referenced from: _wrap_getnameinfo in asan_interceptors.o substitution_getnameinfo in asan_interceptors.o (maybe you meant: _wrap_getnameinfo) "_getpass", referenced from: _wrap_getpass in asan_interceptors.o substitution_getpass in asan_interceptors.o (maybe you meant: _wrap_getpass) "_getpeername", referenced from: _wrap_getpeername in asan_interceptors.o substitution_getpeername in asan_interceptors.o (maybe you meant: _wrap_getpeername) "_getpid", referenced from: sanitizer::internal_getpid() in sanitizer_mac.o sanitizer::AtosSymbolizer::AtosSymbolizer(char const*, sanitizer::LowLevelAllocator) in sanitizer_symbolizer_mac.o __sanitizer::AtosSymbolizer::AtosSymbolizer(char const, sanitizer::LowLevelAllocator*) in sanitizer_symbolizer_mac.o (maybe you meant: ZN11sanitizer15internal_getpidEv) "_getpwent", referenced from: _wrap_getpwent in asan_interceptors.o substitution_getpwent in asan_interceptors.o (maybe you meant: _wrap_getpwent) "_getpwnam", referenced from: _wrap_getpwnam in asan_interceptors.o substitution_getpwnam in asan_interceptors.o (maybe you meant: _wrap_getpwnam, _wrap_getpwnam_r ) "_getpwnam_r", referenced from: _wrap_getpwnam_r in asan_interceptors.o substitution_getpwnam_r in asan_interceptors.o (maybe you meant: _wrap_getpwnam_r) "_getpwuid", referenced from: _wrap_getpwuid in asan_interceptors.o substitution_getpwuid in asan_interceptors.o (maybe you meant: _wrap_getpwuid_r, _wrap_getpwuid ) "_getpwuid_r", referenced from: _wrap_getpwuid_r in asan_interceptors.o substitution_getpwuid_r in asan_interceptors.o (maybe you meant: _wrap_getpwuid_r) "_getrlimit", referenced from: sanitizer::GetThreadStackTopAndBottom(bool, unsigned long, unsigned long) in sanitizer_mac.o sanitizer::StackSizeIsUnlimited() in sanitizer_posix_libcdep.o sanitizer::SetStackSizeLimitInBytes(unsigned long) in sanitizer_posix_libcdep.o sanitizer::AddressSpaceIsUnlimited() in sanitizer_posix_libcdep.o sanitizer::SetAddressSpaceUnlimited() in sanitizer_posix_libcdep.o "_getsockname", referenced from: _wrap_getsockname in asan_interceptors.o substitution_getsockname in asan_interceptors.o (maybe you meant: _wrap_getsockname) "_getsockopt", referenced from: _wrap_getsockopt in asan_interceptors.o substitution_getsockopt in asan_interceptors.o (maybe you meant: _wrap_getsockopt) "_getuid", referenced from: sanitizer::GetUid() in sanitizer_posix_libcdep.o "_gmtime", referenced from: _wrap_gmtime in asan_interceptors.o substitution_gmtime in asan_interceptors.o (maybe you meant: _wrap_gmtime_r, _wrap_gmtime ) "_gmtime_r", referenced from: _wrap_gmtime_r in asan_interceptors.o substitution_gmtime_r in asan_interceptors.o (maybe you meant: _wrap_gmtime_r) "_if_indextoname", referenced from: _wrap_if_indextoname in asan_interceptors.o substitution_if_indextoname in asan_interceptors.o (maybe you meant: _wrap_if_indextoname) "_if_nametoindex", referenced from: _wrap_if_nametoindex in asan_interceptors.o substitution_if_nametoindex in asan_interceptors.o (maybe you meant: _wrap_if_nametoindex) "_index", referenced from: substitution_index in asan_interceptors.o (maybe you meant: _wrap_if_indextoname) "_inet_aton", referenced from: _wrap_inet_aton in asan_interceptors.o substitution_inet_aton in asan_interceptors.o (maybe you meant: _wrap_inet_aton) "_inet_ntop", referenced from: _wrap_inet_ntop in asan_interceptors.o substitution_inet_ntop in asan_interceptors.o (maybe you meant: _wrap_inet_ntop) "_inet_pton", referenced from: _wrap_inet_pton in asan_interceptors.o substitution_inet_pton in asan_interceptors.o (maybe you meant: _wrap_inet_pton) "_initgroups", referenced from: _wrap_initgroups in asan_interceptors.o substitution_initgroups in asan_interceptors.o (maybe you meant: _wrap_initgroups) "_ioctl", referenced from: _wrap_ioctl in asan_interceptors.o substitution_ioctl in asan_interceptors.o (maybe you meant: _wrap_ioctl) "_isatty", referenced from: sanitizer::SupportsColoredOutput(int) in sanitizer_posix_libcdep.o "_lgamma", referenced from: _wrap_lgamma in asan_interceptors.o substitution_lgamma in asan_interceptors.o (maybe you meant: _wrap_lgammaf, _wrap_lgammal , _wrap_lgamma ) "_lgammaf", referenced from: _wrap_lgammaf in asan_interceptors.o substitution_lgammaf in asan_interceptors.o (maybe you meant: _wrap_lgammaf) "_lgammal", referenced from: _wrap_lgammal in asan_interceptors.o substitution_lgammal in asan_interceptors.o (maybe you meant: _wrap_lgammal) "_localtime", referenced from: _wrap_localtime in asan_interceptors.o substitution_localtime in asan_interceptors.o (maybe you meant: _wrap_localtime_r, _wrap_localtime ) "_localtime_r", referenced from: _wrap_localtime_r in asan_interceptors.o substitution_localtime_r in asan_interceptors.o (maybe you meant: _wrap_localtime_r) "_longjmp", referenced from: _wrap_longjmp in asan_interceptors.o substitution_longjmp in asan_interceptors.o (maybe you meant: _wrap__longjmp, _wrap_longjmp ) "_lstat$INODE64", referenced from: sanitizer::internal_lstat(char const, void) in sanitizer_mac.o "_mach_taskself", referenced from: sanitizer::GetRSS() in sanitizer_mac.o "_madvise", referenced from: sanitizer::FlushUnneededShadowMemory(unsigned long, unsigned long) in sanitizer_posix_libcdep.o "_malloc", referenced from: substitution_malloc in asan_malloc_mac.o (maybe you meant: _asan_mz_malloc, _wrap_malloc_good_size , _wrap_malloc_set_zone_name , _wrap_malloc_make_nonpurgeable , ZN6asan11asan_mallocEmPN11__sanitizer18BufferedStackTraceE , _wrap_malloc_defaultzone , asan_stack_malloc_1 , _wrap_malloc_make_purgeable , ZN6asan23asan_malloc_usable_sizeEPvmm , _wrap_malloc_create_zone , _wrap_malloc , _asan_stack_malloc_9 , ___asan_stack_malloc_2 , _wrap_malloc_default_purgeablezone , asan_stack_malloc_10 , _asan_stack_malloc_7 , _asan_stack_malloc6 , sanitizer_mallochook , asan_stack_malloc_4 , _asan_stack_malloc_3 , _asan_stack_malloc0 , asan_stack_malloc_8 , ___asan_stack_malloc_5 ) "_malloc_create_zone", referenced from: substitution_malloc_create_zone in asan_malloc_mac.o (maybe you meant: _wrap_malloc_create_zone) "_malloc_default_purgeable_zone", referenced from: substitution_malloc_default_purgeable_zone in asan_malloc_mac.o (maybe you meant: _wrap_malloc_default_purgeable_zone) "_malloc_default_zone", referenced from: substitution_malloc_default_zone in asan_malloc_mac.o (maybe you meant: _wrap_malloc_default_zone) "_malloc_good_size", referenced from: substitution_malloc_good_size in asan_malloc_mac.o (maybe you meant: _wrap_malloc_good_size) "_malloc_make_nonpurgeable", referenced from: substitution_malloc_make_nonpurgeable in asan_malloc_mac.o (maybe you meant: _wrap_malloc_make_nonpurgeable) "_malloc_make_purgeable", referenced from: substitution_malloc_make_purgeable in asan_malloc_mac.o (maybe you meant: _wrap_malloc_make_purgeable) "_malloc_set_zone_name", referenced from: _wrap_malloc_set_zone_name in asan_malloc_mac.o substitution_malloc_set_zone_name in asan_malloc_mac.o (maybe you meant: _wrap_malloc_set_zone_name) "_malloc_zone_fromptr", referenced from: asan_mz_free in asan_malloc_mac.o _asan_mz_realloc in asan_malloc_mac.o "_malloc_zone_register", referenced from: asan::ReplaceSystemMalloc() in asan_malloc_mac.o "_mbsnrtowcs", referenced from: _wrap_mbsnrtowcs in asan_interceptors.o substitution_mbsnrtowcs in asan_interceptors.o (maybe you meant: _wrap_mbsnrtowcs) "_mbsrtowcs", referenced from: _wrap_mbsrtowcs in asan_interceptors.o substitution_mbsrtowcs in asan_interceptors.o (maybe you meant: _wrap_mbsrtowcs) "_mbstowcs", referenced from: _wrap_mbstowcs in asan_interceptors.o substitution_mbstowcs in asan_interceptors.o (maybe you meant: _wrap_mbstowcs) "_memchr", referenced from: _wrap_memchr in asan_interceptors.o substitution_memchr in asan_interceptors.o (maybe you meant: _wrap_memchr, ZN11sanitizer15internal_memchrEPKvim ) "_memcmp", referenced from: _wrap_memcmp in asan_interceptors.o substitution_memcmp in asan_interceptors.o (maybe you meant: _wrap_memcmp, ZN11sanitizer15internal_memcmpEPKvS1_m ) "_memcpy", referenced from: asan::Allocator::Reallocate(void*, unsigned long, sanitizer::BufferedStackTrace) in asan_allocator.o _asan_memcpy in asan_interceptors.o _wrap_strdup in asan_interceptors.o substitution_memcpy in asan_interceptors.o (maybe you meant: _wrap_memcpy, ZN11sanitizer15internalmemcpyEPvPKvm , asan_memcpy ) "_memmove", referenced from: substitution_memmove in asan_interceptors.o (maybe you meant: ZN11sanitizer16internal_memmoveEPvPKvm, _asan_memmove , _wrap_memmove ) "_memset", referenced from: __asan::asan_calloc(unsigned long, unsigned long, sanitizer::BufferedStackTrace) in asan_allocator.o asan::Allocator::Allocate(unsigned long, unsigned long, sanitizer::BufferedStackTrace, asan::AllocType, bool) in asanallocator.o asan_alloca_poison in asan_fake_stack.o _asan_allocas_unpoison in asan_fake_stack.o asan::StopInitOrderChecking() in asanglobals.o asan_register_globals in asan_globals.o _asan_unregister_globals in asan_globals.o ... (maybe you meant: _wrapmemset, asan_memset , ZN11sanitizer15internal_memsetEPvim ) "_mktime", referenced from: _wrap_mktime in asan_interceptors.o substitution_mktime in asan_interceptors.o (maybe you meant: _wrap_mktime) "_mlock", referenced from: substitution_mlock in asan_interceptors.o (maybe you meant: _wrap_mlockall, _wrap_mlock ) "_mlockall", referenced from: substitution_mlockall in asan_interceptors.o (maybe you meant: _wrap_mlockall) "_mmap", referenced from: sanitizer::internal_mmap(void, unsigned long, int, int, int, unsigned long long) in sanitizer_mac.o (maybe you meant: ZN11sanitizer13internal_mmapEPvmiiiy) "_modf", referenced from: _wrap_modf in asan_interceptors.o substitution_modf in asan_interceptors.o (maybe you meant: _wrap_modfl, _wrap_modff , _wrap_modf ) "_modff", referenced from: _wrap_modff in asan_interceptors.o substitution_modff in asan_interceptors.o (maybe you meant: _wrap_modff) "_modfl", referenced from: _wrap_modfl in asan_interceptors.o substitution_modfl in asan_interceptors.o (maybe you meant: _wrap_modfl) "_mprotect", referenced from: _wrap_malloc_create_zone in asan_malloc_mac.o sanitizer::internal_mprotect(void*, unsigned long, int) in sanitizer_mac.o (maybe you meant: ZN11sanitizer17internal_mprotectEPvmi) "_munlock", referenced from: substitution_munlock in asan_interceptors.o (maybe you meant: _wrap_munlockall, _wrap_munlock ) "_munlockall", referenced from: substitution_munlockall in asan_interceptors.o (maybe you meant: _wrap_munlockall) "_munmap", referenced from: sanitizer::internal_munmap(void, unsigned long) in sanitizer_mac.o (maybe you meant: ZN11sanitizer15internal_munmapEPvm) "_open", referenced from: __sanitizer::internal_open(char const, int) in sanitizer_mac.o sanitizer::internal_open(char const*, int, unsigned int) in sanitizer_mac.o (maybe you meant: _sanitizer_maybe_open_cov_file, ZN11__sanitizer13internal_openEPKcij , ZN11sanitizer13internal_openEPKci , _wrap_opendir ) "_opendir", referenced from: _wrap_opendir in asan_interceptors.o substitution_opendir in asan_interceptors.o (maybe you meant: _wrap_opendir) "_pipe", referenced from: sanitizer::IsAccessibleMemoryRange(unsigned long, unsigned long) in sanitizer_posix_libcdep.o sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o "_poll", referenced from: _wrap_poll in asan_interceptors.o substitution_poll in asan_interceptors.o (maybe you meant: _wrap_poll) "_posix_memalign", referenced from: substitution_posix_memalign in asan_malloc_mac.o (maybe you meant: _wrap_posix_memalign, ZN6asan19asan_posix_memalignEPPvmmPN11sanitizer18BufferedStackTraceE ) "_pread", referenced from: _wrap_pread in asan_interceptors.o substitution_pread in asan_interceptors.o (maybe you meant: _wrap_pread) "_printf", referenced from: substitution_printf in asan_interceptors.o (maybe you meant: _wrap_printf) "_pthread_attr_getdetachstate", referenced from: _wrap_pthread_attr_getdetachstate in asan_interceptors.o _wrap_pthread_create in asan_interceptors.o substitution_pthread_attr_getdetachstate in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getdetachstate) "_pthread_attr_getguardsize", referenced from: _wrap_pthread_attr_getguardsize in asan_interceptors.o substitution_pthread_attr_getguardsize in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getguardsize) "_pthread_attr_getinheritsched", referenced from: _wrap_pthread_attr_getinheritsched in asan_interceptors.o substitution_pthread_attr_getinheritsched in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getinheritsched) "_pthread_attr_getschedparam", referenced from: _wrap_pthread_attr_getschedparam in asan_interceptors.o substitution_pthread_attr_getschedparam in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getschedparam) "_pthread_attr_getschedpolicy", referenced from: _wrap_pthread_attr_getschedpolicy in asan_interceptors.o substitution_pthread_attr_getschedpolicy in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getschedpolicy) "_pthread_attr_getscope", referenced from: _wrap_pthread_attr_getscope in asan_interceptors.o substitution_pthread_attr_getscope in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getscope) "_pthread_attr_getstack", referenced from: _wrap_pthread_attr_getstack in asan_interceptors.o _real_pthread_attr_getstack in asan_interceptors.o substitution_pthread_attr_getstack in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getstacksize, _wrap_pthread_attr_getstack , _real_pthread_attr_getstack ) "_pthread_attr_getstacksize", referenced from: _wrap_pthread_attr_getstacksize in asan_interceptors.o substitution_pthread_attr_getstacksize in asan_interceptors.o (maybe you meant: _wrap_pthread_attr_getstacksize) "_pthread_condattr_getpshared", referenced from: _wrap_pthread_condattr_getpshared in asan_interceptors.o substitution_pthread_condattr_getpshared in asan_interceptors.o (maybe you meant: _wrap_pthread_condattr_getpshared) "_pthread_create", referenced from: _wrap_pthread_create in asan_interceptors.o sanitizer::real_pthread_create(void, void, void ()(void), void) in asan_interceptors.o substitution_pthread_create in asan_interceptors.o (maybe you meant: ZN11sanitizer19real_pthread_createEPvS0_PFS0_S0ES0, _wrap_pthread_create ) "_pthread_get_stackaddr_np", referenced from: __sanitizer::GetThreadStackTopAndBottom(bool, unsigned long, unsigned long) in sanitizer_mac.o "_pthread_get_stacksize_np", referenced from: sanitizer::GetThreadStackTopAndBottom(bool, unsigned long, unsigned long) in sanitizer_mac.o "_pthread_getschedparam", referenced from: _wrap_pthread_getschedparam in asan_interceptors.o substitution_pthread_getschedparam in asan_interceptors.o (maybe you meant: _wrap_pthread_getschedparam) "_pthread_getspecific", referenced from: asan::AsanTSDGet() in asan_posix.o "_pthread_join", referenced from: sanitizer::real_pthread_join(void*, void**) in asan_interceptors.o substitution_pthread_join in asan_interceptors.o (maybe you meant: ZN11__sanitizer17real_pthreadjoinEPvPS0, _wrap_pthread_join ) "_pthread_key_create", referenced from: asan::AsanTSDInit(void ()(void)) in asan_posix.o "_pthread_mutex_lock", referenced from: _wrap_pthread_mutex_lock in asan_interceptors.o substitution_pthread_mutex_lock in asan_interceptors.o (maybe you meant: _wrap_pthread_mutex_lock) "_pthread_mutex_unlock", referenced from: _wrap_pthread_mutex_unlock in asan_interceptors.o substitution_pthread_mutex_unlock in asan_interceptors.o (maybe you meant: _wrap_pthread_mutex_unlock) "_pthread_mutexattr_getprioceiling", referenced from: _wrap_pthread_mutexattr_getprioceiling in asan_interceptors.o substitution_pthread_mutexattr_getprioceiling in asan_interceptors.o (maybe you meant: _wrap_pthread_mutexattr_getprioceiling) "_pthread_mutexattr_getprotocol", referenced from: _wrap_pthread_mutexattr_getprotocol in asan_interceptors.o substitution_pthread_mutexattr_getprotocol in asan_interceptors.o (maybe you meant: _wrap_pthread_mutexattr_getprotocol) "_pthread_mutexattr_getpshared", referenced from: _wrap_pthread_mutexattr_getpshared in asan_interceptors.o substitution_pthread_mutexattr_getpshared in asan_interceptors.o (maybe you meant: _wrap_pthread_mutexattr_getpshared) "_pthread_mutexattr_gettype", referenced from: _wrap_pthread_mutexattr_gettype in asan_interceptors.o substitution_pthread_mutexattr_gettype in asan_interceptors.o (maybe you meant: _wrap_pthread_mutexattr_gettype) "_pthread_rwlockattr_getpshared", referenced from: _wrap_pthread_rwlockattr_getpshared in asan_interceptors.o substitution_pthread_rwlockattr_getpshared in asan_interceptors.o (maybe you meant: _wrap_pthread_rwlockattr_getpshared) "_pthread_self", referenced from: _asan_dispatch_call_block_and_release in asan_mac.o _wrap_dispatch_async_f in asan_mac.o _wrap_dispatch_sync_f in asan_mac.o _wrap_dispatch_barrier_async_f in asan_mac.o _wrap_dispatch_group_async_f in asan_mac.o sanitizer::GetTid() in sanitizer_mac.o __sanitizer::GetThreadStackTopAndBottom(bool, unsigned long, unsigned long) in sanitizer_mac.o ... "_pthread_setspecific", referenced from: asan::AsanTSDSet(void) in asan_posix.o __asan::PlatformTSDDtor(void) in asan_posix.o "_pwrite", referenced from: _wrap_pwrite in asan_interceptors.o substitution_pwrite in asan_interceptors.o (maybe you meant: _wrap_pwrite) "_rand_r", referenced from: _wrap_rand_r in asan_interceptors.o substitution_rand_r in asan_interceptors.o (maybe you meant: _wrap_rand_r) "_read", referenced from: _wrap_read in asan_interceptors.o substitution_read in asan_interceptors.o sanitizer::internal_read(int, void*, unsigned long) in sanitizer_mac.o (maybe you meant: ZN11sanitizer17internal_readlinkEPKcPcm, ZN11sanitizer13internal_readEiPvm , _wrap_readdir_r , _wrap_readdir , _wrap_read , _wrap_readv ) "_readdir", referenced from: _wrap_readdir in asan_interceptors.o substitution_readdir in asan_interceptors.o (maybe you meant: _wrap_readdir_r, _wrap_readdir ) "_readdir_r", referenced from: _wrap_readdir_r in asan_interceptors.o substitution_readdir_r in asan_interceptors.o (maybe you meant: _wrap_readdir_r) "_readlink", referenced from: sanitizer::internal_readlink(char const, char, unsigned long) in sanitizer_mac.o (maybe you meant: ZN11sanitizer17internal_readlinkEPKcPcm) "_readv", referenced from: _wrap_readv in asan_interceptors.o substitution_readv in asan_interceptors.o (maybe you meant: _wrap_readv) "_realloc", referenced from: substitution_realloc in asan_mallocmac.o (maybe you meant: asan_mz_realloc, ZN6asan12asan_reallocEPvmPN11sanitizer18BufferedStackTraceE , _wrap_realloc ) "_realpath", referenced from: _wrap_realpath in asan_interceptors.o substitution_realpath in asan_interceptors.o (maybe you meant: _wrap_realpath) "_realpath$DARWIN_EXTSN", referenced from: sanitizer::ReadBinaryName(char*, unsigned long) in sanitizer_mac.o "_recvmsg", referenced from: _wrap_recvmsg in asan_interceptors.o substitution_recvmsg in asan_interceptors.o (maybe you meant: _wrap_recvmsg) "_remquo", referenced from: _wrap_remquo in asan_interceptors.o substitution_remquo in asan_interceptors.o (maybe you meant: _wrap_remquol, _wrap_remquo , _wrap_remquof ) "_remquof", referenced from: _wrap_remquof in asan_interceptors.o substitution_remquof in asan_interceptors.o (maybe you meant: _wrap_remquof) "_remquol", referenced from: _wrap_remquol in asan_interceptors.o substitution_remquol in asan_interceptors.o (maybe you meant: _wrap_remquol) "_rename", referenced from: sanitizer::internal_rename(char const, char const) in sanitizer_mac.o (maybe you meant: ZN11sanitizer15internalrenameEPKcS1) "_scanf", referenced from: substitution_scanf in asan_interceptors.o (maybe you meant: _wrap_scanf) "_sched_yield", referenced from: sanitizer::internal_sched_yield() in sanitizer_mac.o (maybe you meant: ZN11sanitizer20internal_sched_yieldEv) "_setenv", referenced from: asan::MaybeReexec() in asan_mac.o "_setgrent", referenced from: _wrap_setgrent in asan_interceptors.o substitution_setgrent in asan_interceptors.o (maybe you meant: _wrap_setgrent) "_setitimer", referenced from: _wrap_setitimer in asan_interceptors.o substitution_setitimer in asan_interceptors.o (maybe you meant: _wrap_setitimer) "_setlocale", referenced from: _wrap_setlocale in asan_interceptors.o substitution_setlocale in asan_interceptors.o (maybe you meant: _wrap_setlocale) "_setpwent", referenced from: _wrap_setpwent in asan_interceptors.o substitution_setpwent in asan_interceptors.o (maybe you meant: _wrap_setpwent) "_setrlimit", referenced from: sanitizer::DisableCoreDumperIfNecessary() in sanitizer_posix_libcdep.o sanitizer::SetStackSizeLimitInBytes(unsigned long) in sanitizer_posix_libcdep.o sanitizer::SetAddressSpaceUnlimited() in sanitizer_posix_libcdep.o "_shm_open", referenced from: sanitizer::GetNamedMappingFd(char const, unsigned long) in sanitizer_posix_libcdep.o "_shm_unlink", referenced from: __sanitizer::GetNamedMappingFd(char const, unsigned long) in sanitizer_posix_libcdep.o "_sigaction", referenced from: _wrap_sigaction in asan_interceptors.o sanitizer::real_sigaction(int, void const, void) in asan_interceptors.o substitution_sigaction in asan_interceptors.o sanitizer::internal_sigaction(int, void const, void) in sanitizer_mac.o (maybe you meant: ZN11sanitizer19struct_sigaction_szE, ZN11sanitizer18internal_sigactionEiPKvPv , ZN11sanitizer14real_sigactionEiPKvPv , _wrap_sigaction ) "_sigaltstack", referenced from: sanitizer::SetAlternateSignalStack() in sanitizer_posix_libcdep.o sanitizer::UnsetAlternateSignalStack() in sanitizer_posix_libcdep.o "_sigemptyset", referenced from: _wrap_sigemptyset in asan_interceptors.o substitution_sigemptyset in asan_interceptors.o (maybe you meant: _wrap_sigemptyset) "_sigfillset", referenced from: _wrap_sigfillset in asan_interceptors.o substitution_sigfillset in asan_interceptors.o (maybe you meant: _wrap_sigfillset, ZN11sanitizer19internal_sigfillsetEPj ) "_siglongjmp", referenced from: _wrap_siglongjmp in asan_interceptors.o substitution_siglongjmp in asan_interceptors.o (maybe you meant: _wrap_siglongjmp) "_signal", referenced from: _wrap_signal in asan_interceptors.o substitution_signal in asan_interceptors.o (maybe you meant: _wrap_signal) "_signgam", referenced from: _wrap_lgamma in asan_interceptors.o _wrap_lgammaf in asan_interceptors.o _wrap_lgammal in asan_interceptors.o "_sigpending", referenced from: _wrap_sigpending in asan_interceptors.o substitution_sigpending in asan_interceptors.o (maybe you meant: _wrap_sigpending) "_sigprocmask", referenced from: _wrap_sigprocmask in asan_interceptors.o substitution_sigprocmask in asan_interceptors.o sanitizer::internal_sigprocmask(int, unsigned int, unsigned int) in sanitizer_mac.o (maybe you meant: ZN11sanitizer20internalsigprocmaskEiPjS0, _wrap_sigprocmask ) "_sigwait", referenced from: _wrap_sigwait in asan_interceptors.o substitution_sigwait in asan_interceptors.o (maybe you meant: _wrap_sigwait) "_sleep", referenced from: __sanitizer::SleepForSeconds(int) in sanitizer_posix_libcdep.o "_snprintf", referenced from: substitution_snprintf in asan_interceptors.o renderText(char const*, ubsan::Diag::Arg const) in ubsan_diag.o (maybe you meant: _wrap_snprintf, ZN11sanitizer17internal_snprintfEPcmPKcz ) "_sprintf", referenced from: substitution_sprintf in asan_interceptors.o (maybe you meant: _wrap_sprintf) "_sscanf", referenced from: substitution_sscanf in asan_interceptors.o (maybe you meant: _wrap_sscanf) "_stat$INODE64", referenced from: __sanitizer::internal_stat(char const, void) in sanitizer_mac.o __sanitizer::FileExists(char const) in sanitizer_mac.o "_statfs", referenced from: _wrap_statfs in asan_interceptors.o substitution_statfs in asan_interceptors.o (maybe you meant: ZN11sanitizer16struct_statfs_szE, _wrap_statfs , ZN11sanitizer18struct_statfs64_szE , _wrap_statfs64 ) "_statfs64", referenced from: _wrap_statfs64 in asan_interceptors.o substitution_statfs64 in asan_interceptors.o (maybe you meant: ZN11sanitizer18struct_statfs64_szE, _wrap_statfs64 ) "_strcasecmp", referenced from: _wrap_strcasecmp in asan_interceptors.o substitution_strcasecmp in asan_interceptors.o (maybe you meant: _wrap_strcasecmp) "_strcasestr", referenced from: _wrap_strcasestr in asan_interceptors.o substitution_strcasestr in asan_interceptors.o (maybe you meant: _wrap_strcasestr) "_strcat", referenced from: _wrap_strcat in asan_interceptors.o substitution_strcat in asan_interceptors.o (maybe you meant: _wrap_strcat) "_strchr", referenced from: _wrap_strchr in asan_interceptors.o substitution_strchr in asan_interceptors.o asan::MaybeReexec() in asan_mac.o (maybe you meant: ZN11sanitizer18internal_strchrnulEPKci, ZN11sanitizer15internal_strchrEPKci , _wrap_strchr ) "_strcmp", referenced from: _wrap_strcmp in asan_interceptors.o substitution_strcmp in asan_interceptors.o (maybe you meant: ZN11sanitizer15internalstrcmpEPKcS1, _wrap_strcmp ) "_strcpy", referenced from: _wrap_strcpy in asan_interceptors.o substitution_strcpy in asan_interceptors.o (maybe you meant: _wrap_strcpy) "_strcspn", referenced from: _wrap_strcspn in asan_interceptors.o substitution_strcspn in asan_interceptors.o (maybe you meant: ZN11sanitizer16internalstrcspnEPKcS1, _wrap_strcspn ) "_strdup", referenced from: substitution_strdup in asan_interceptors.o (maybe you meant: _wrap_strdup, ZN11sanitizer15internal_strdupEPKc ) "_strerror", referenced from: _wrap_strerror in asan_interceptors.o substitution_strerror in asan_interceptors.o (maybe you meant: _wrap_strerror_r, _wrap_strerror ) "_strerror_r", referenced from: _wrap_strerror_r in asan_interceptors.o substitution_strerror_r in asan_interceptors.o (maybe you meant: _wrap_strerror_r) "_strlen", referenced from: _wrap_strcmp in asan_interceptors.o _wrap_strcasecmp in asan_interceptors.o StrstrCheck(void, char, char const, char const) in asan_interceptors.o _wrap_strspn in asan_interceptors.o _wrap_strcspn in asan_interceptors.o _wrap_strpbrk in asan_interceptors.o _wrap_ctime in asan_interceptors.o ... (maybe you meant: _wrap_strlen, ZN11sanitizer15internal_strlenEPKc ) "_strncasecmp", referenced from: _wrap_strncasecmp in asan_interceptors.o substitution_strncasecmp in asan_interceptors.o (maybe you meant: _wrap_strncasecmp) "_strncat", referenced from: _wrap_strncat in asan_interceptors.o substitution_strncat in asan_interceptors.o (maybe you meant: _wrap_strncat, ZN11sanitizer16internal_strncatEPcPKcm ) "_strncmp", referenced from: _wrap_strncmp in asan_interceptors.o substitution_strncmp in asan_interceptors.o (maybe you meant: ZN11sanitizer16internal_strncmpEPKcS1_m, _wrap_strncmp ) "_strncpy", referenced from: _wrap_strncpy in asan_interceptors.o substitution_strncpy in asan_interceptors.o (maybe you meant: ZN11sanitizer16internal_strncpyEPcPKcm, _wrap_strncpy ) "_strpbrk", referenced from: _wrap_strpbrk in asan_interceptors.o substitution_strpbrk in asan_interceptors.o (maybe you meant: _wrap_strpbrk) "_strptime", referenced from: _wrap_strptime in asan_interceptors.o substitution_strptime in asan_interceptors.o (maybe you meant: _wrap_strptime) "_strspn", referenced from: _wrap_strspn in asan_interceptors.o substitution_strspn in asan_interceptors.o (maybe you meant: _wrap_strspn) "_strstr", referenced from: _wrap_strstr in asan_interceptors.o substitution_strstr in asan_interceptors.o __asan::MaybeReexec() in asan_mac.o (maybe you meant: _wrap_strstr, ZN11sanitizer15internalstrstrEPKcS1 ) "_strtoimax", referenced from: _wrap_strtoimax in asan_interceptors.o substitution_strtoimax in asan_interceptors.o (maybe you meant: _wrap_strtoimax) "_strtol", referenced from: _wrap_strtol in asan_interceptors.o _wrap_atoi in asan_interceptors.o _wrap_atol in asan_interceptors.o substitution_strtol in asan_interceptors.o (maybe you meant: _wrap_strtol, ZN11sanitizer23internal_simple_strtollEPKcPPci , _wrap_strtoll ) "_strtoll", referenced from: _wrap_strtoll in asan_interceptors.o _wrap_atoll in asan_interceptors.o substitution_strtoll in asan_interceptors.o (maybe you meant: ZN11sanitizer23internal_simple_strtollEPKcPPci, _wrap_strtoll ) "_strtoumax", referenced from: _wrap_strtoumax in asan_interceptors.o substitution_strtoumax in asan_interceptors.o (maybe you meant: _wrap_strtoumax) "_sysconf", referenced from: sanitizer::GetPageSize() in sanitizer_mac.o sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o "_sysctl", referenced from: sanitizer::GetMacosVersionInternal() in sanitizer_mac.o "_task_info", referenced from: sanitizer::GetRSS() in sanitizer_mac.o "_tcgetattr", referenced from: sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o "_tcsetattr", referenced from: sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o "_tempnam", referenced from: _wrap_tempnam in asan_interceptors.o substitution_tempnam in asan_interceptors.o (maybe you meant: _wrap_tempnam) "_time", referenced from: _wrap_time in asan_interceptors.o substitution_time in asan_interceptors.o (maybe you meant: _wrap_times, _wrap_time , ZN11sanitizer18struct_timezone_szE ) "_times", referenced from: _wrap_times in asan_interceptors.o substitution_times in asan_interceptors.o (maybe you meant: _wrap_times) "_tmpnam", referenced from: _wrap_tmpnam in asan_interceptors.o substitution_tmpnam in asan_interceptors.o (maybe you meant: _wrap_tmpnam) "_tsearch", referenced from: _wrap_tsearch in asan_interceptors.o substitution_tsearch in asan_interceptors.o (maybe you meant: _wrap_tsearch) "_unlink", referenced from: sanitizer::internal_unlink(char const) in sanitizer_mac.o (maybe you meant: ZN11sanitizer15internal_unlinkEPKc) "_usleep", referenced from: sanitizer::SleepForMillis(int) in sanitizer_posix_libcdep.o "_valloc", referenced from: substitution_valloc in asan_malloc_mac.o (maybe you meant: _asan_mz_valloc, _wrap_valloc , ZN6__asan11asan_vallocEmPN11sanitizer18BufferedStackTraceE ) "_vasprintf", referenced from: _wrap_vasprintf in asan_interceptors.o _wrap_asprintf in asan_interceptors.o substitution_vasprintf in asan_interceptors.o (maybe you meant: _wrap_vasprintf) "_vfprintf", referenced from: _wrap_vfprintf in asan_interceptors.o _wrap_fprintf in asan_interceptors.o substitution_vfprintf in asan_interceptors.o (maybe you meant: _wrap_vfprintf) "_vfscanf", referenced from: _wrap_vfscanf in asan_interceptors.o _wrap_fscanf in asan_interceptors.o substitution_vfscanf in asan_interceptors.o (maybe you meant: _wrap_vfscanf) "_vprintf", referenced from: _wrap_vprintf in asan_interceptors.o _wrap_printf in asan_interceptors.o substitution_vprintf in asan_interceptors.o (maybe you meant: _wrap_vprintf) "_vscanf", referenced from: _wrap_vscanf in asan_interceptors.o _wrap_scanf in asan_interceptors.o substitution_vscanf in asan_interceptors.o (maybe you meant: _wrap_vscanf) "_vsnprintf", referenced from: _wrap_vsnprintf in asan_interceptors.o _wrap_snprintf in asan_interceptors.o substitution_vsnprintf in asan_interceptors.o (maybe you meant: _wrap_vsnprintf) "_vsprintf", referenced from: _wrap_vsprintf in asan_interceptors.o _wrap_sprintf in asan_interceptors.o substitution_vsprintf in asan_interceptors.o (maybe you meant: _wrap_vsprintf) "_vsscanf", referenced from: _wrap_vsscanf in asan_interceptors.o _wrap_sscanf in asan_interceptors.o substitution_vsscanf in asan_interceptors.o (maybe you meant: _wrap_vsscanf) "_wait", referenced from: _wrap_wait in asan_interceptors.o substitution_wait in asan_interceptors.o (maybe you meant: _wrap_wait3, _wrap_waitid , _wrap_wait4 , _wrap_wait , _wrap_waitpid ) "_wait3", referenced from: _wrap_wait3 in asan_interceptors.o substitution_wait3 in asan_interceptors.o (maybe you meant: _wrap_wait3) "_wait4", referenced from: _wrap_wait4 in asan_interceptors.o substitution_wait4 in asan_interceptors.o (maybe you meant: _wrap_wait4) "_waitid", referenced from: _wrap_waitid in asan_interceptors.o substitution_waitid in asan_interceptors.o (maybe you meant: _wrap_waitid) "_waitpid", referenced from: _wrap_waitpid in asan_interceptors.o substitution_waitpid in asan_interceptors.o __sanitizer::SymbolizerProcess::StartSymbolizerSubprocess() in sanitizer_symbolizer_posix_libcdep.o (maybe you meant: _wrap_waitpid) "_wcrtomb", referenced from: _wrap_wcrtomb in asan_interceptors.o substitution_wcrtomb in asan_interceptors.o (maybe you meant: _wrap_wcrtomb) "_wcslen", referenced from: _wrap_wcslen in asan_interceptors.o substitution_wcslen in asan_interceptors.o (maybe you meant: _wrap_wcslen) "_wcsnrtombs", referenced from: _wrap_wcsnrtombs in asan_interceptors.o substitution_wcsnrtombs in asan_interceptors.o (maybe you meant: _wrap_wcsnrtombs) "_wcsrtombs", referenced from: _wrap_wcsrtombs in asan_interceptors.o substitution_wcsrtombs in asan_interceptors.o (maybe you meant: _wrap_wcsrtombs) "_wcstombs", referenced from: _wrap_wcstombs in asan_interceptors.o substitution_wcstombs in asan_interceptors.o (maybe you meant: _wrap_wcstombs) "_wordexp", referenced from: _wrap_wordexp in asan_interceptors.o substitution_wordexp in asan_interceptors.o (maybe you meant: _wrap_wordexp) "_write", referenced from: _wrap_write in asan_interceptors.o substitution_write in asan_interceptors.o __sanitizer::internal_write(int, void const, unsigned long) in sanitizer_mac.o (maybe you meant: ZN11sanitizer14internal_writeEiPKvm, _wrap_writev , _wrap_write ) "_writev", referenced from: _wrap_writev in asan_interceptors.o substitution_writev in asan_interceptors.o (maybe you meant: _wrap_writev) ld: symbol(s) not found for architecture x86_64h clang: error: linker command failed with exit code 1 (use -v to see invocation) make[5]: [/Users/Mr.Pandya/My_Stuff/Active/llvm/build/tools/clang/runtime/compiler-rt/clang_darwin/asan_osx_dynamic/x86_64h/libcompiler_rt.dylib] Error 1 make[5]: Waiting for unfinished jobs.... make[4]: [BuildRuntimeLibraries] Error 2 rm /Users/Mr.Pandya/My_Stuff/Active/llvm/build/Debug+Asserts/lib/clang/3.8.0/lib/darwin/.dir /Users/Mr.Pandya/My_Stuff/Active/llvm/build/Debug+Asserts/lib/clang/3.8.0/lib/macho_embedded/.dir make[3]: [compiler-rt/.makeall] Error 2 make[2]: [all] Error 1 make[1]: [clang/.makeall] Error 2 make: *** [all] Error 1

asl commented 2 years ago

mentioned in issue llvm/llvm-bugzilla-archive#24839

0e6f8740-1d2a-4afc-85fd-df25c3a603fd commented 9 years ago

This patch caused a regression. Now the test fails for iOS slices because cfe is instructing the test is not including the CFLAGS to set the platform appropriately, so the linker thinks we're crossing platform.

Keno commented 9 years ago

Patch committed.

Keno commented 9 years ago

I put up a patch for review here http://reviews.llvm.org/D13425, that should fix this without having to modify XCode.

llvmbot commented 9 years ago

Is my LLVM build fine or I need to rebuild it ?

That is a different issue. It looks like the lit test suites are not passing in the just-built LTO library to the linker. This is resulting in the linker being unable to read bitcode generated by the just-built compiler.

llvm-beanz commented 9 years ago

That is a different issue. It looks like the lit test suites are not passing in the just-built LTO library to the linker. This is resulting in the linker being unable to read bitcode generated by the just-built compiler.

llvmbot commented 9 years ago

after pulling r247833 on compiler-rt , build was successful with cmake , but make check-all failed. Please consider attached report.

llvm-beanz commented 9 years ago

r247833 Should resolve this issue if you are building with CMake. A similar solution should also be applicable to the autoconf system.

llvmbot commented 9 years ago

commit r247833 on compiler-rt does not solve the issue for me. Created attachment 14995 [details] Error report for build failure for make check-all This error is also related to linker failed.

llvmbot commented 9 years ago

Error report for build failure for make check-all This error is also related to linker failed.

Keno commented 9 years ago

Can somebody from Apple comment whether this is likely to get fixed in XCode or whether we need to work around this in compiler-rt?

llvmbot commented 9 years ago

For the record, I fixed the compiler errors with

cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib find -H . -type f -name '*.tbd' | xargs sudo sed -i -e 's/x86_64 ]/x86_64, x86_64h ]/g'

although I think this is a very, very dirty solution. I was building with LLVM SVN r248286.

I am running OS X 10.10 with XCode 7 (7A220).

llvmbot commented 9 years ago

Yes rlcamp.pdx@gmail.com , I have also faced problems with make system. But Cmake works fine. Compiling sanitizers with make system is not advisable as community says.I think some experience person's attention is required here.

llvmbot commented 9 years ago

It's not fixed as of r248241 when compiling in the traditional way (make). Is there a reason the solution applies to cmake and not make? Is the traditional build method no longer being maintained, and if so, will it be removed promptly from the repository?

llvmbot commented 9 years ago

Chris Bieneman has committed r247833 to compiler-rt as work around to it. After pulling that change and building with CMake solved the problem for me. According to him the issue with compiler-rt wasn’t actually that anything was wrong with compiler-rt. It was a functional regression in Xcode 7. With Xcode 6.4 you can build binaries for the x86_64h architecture, and have them link against x86_64 dylibs because the ABI is compatible, and the dynamic linker will “do the right thing”. With Xcode 7, the SDK dylibs have been replaced by text-based representations, and the linker no longer supports linking against mismatched CPU subtypes.

llvmbot commented 9 years ago

I can also confirm that this happens on both Haswell and non-Haswell Macs.

llvmbot commented 9 years ago

Also getting this bug, on 10.10 after updating to Xcode 7. Keno, can you elaborate on your fix? which binary are you talking about?

Keno commented 9 years ago

Also, for anybody coming across this before there's an official fix, one can make the build succeed by copying over the x86_64 binary and changing the cpu subtype from 3 to 7 (just use your favorite hex editor to change the first 3).

Keno commented 9 years ago

Getting the same after updating to XCode.

asl commented 9 years ago

Bug llvm/llvm-bugzilla-archive#24839 has been marked as a duplicate of this bug.