Closed
Description
I'm getting this error from glog from this function. Happens only when building in release mode.
/Users/janic/Developer/pikapik/th3rdwave-app/node_modules/react-native/third-party/glog-0.3.4/src/signalhandler.cc:78:28: No member named '__rip' in '__darwin_i386_thread_state'; did you mean '__eip'?
void* GetPC(void* ucontext_in_void) {
#if (defined(HAVE_UCONTEXT_H) || defined(HAVE_SYS_UCONTEXT_H)) && defined(PC_FROM_UCONTEXT)
if (ucontext_in_void != NULL) {
ucontext_t *context = reinterpret_cast<ucontext_t *>(ucontext_in_void);
return (void*)context->PC_FROM_UCONTEXT;
}
#endif
return NULL;
}
Removing the #if block as a workaround does fix the issue and then everything works.
cc @mhorowitz