-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'__rip' in '__darwin_arm_thread_state64 in ThirdParty glog dependency only on attached device #16106
Comments
Having the same issue when try build project from Xcode |
Same issue when building project from xcode |
Same, and I think it started when I upgraded to Xcode 9. |
@colinramsay @mbalex99 Got any solution? |
have same issue, after installing xcode 9 on my mac |
I uninstalled other Xcode installs except Xcode 9. I made sure the app was
called
“Xcode” not “Xcode 9”.
On Thu, Nov 16, 2017 at 4:11 AM al-esok ***@***.***> wrote:
have same issue, after installing xcode 9 on my mac
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16106 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACFSMYQahVgdRLAH6Du8vn87CRCFnnXUks5s3CZ0gaJpZM4PkqBo>
.
--
Maximilian Alexander
mbalex99@gmail.com
www.maxofeden.com
|
It is working for you with Xcode v9 ? I was using it then downgraded to xcode v8.3.2. With v8 also it is not working. |
Correct it’s working with me and Xcode 9
On Thu, Nov 16, 2017 at 10:38 PM al-esok ***@***.***> wrote:
It is working for you with Xcode v9 ?
I was using it then downgraded to xcode v8.3.2.
With v8 also it is not working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16106 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACFSMVFGQmFEPyQygyWJwjWd5KBweW4Nks5s3SnsgaJpZM4PkqBo>
.
--
Maximilian Alexander
mbalex99@gmail.com
www.maxofeden.com
|
Ooh. I will try this. Thanks :) |
@mbalex99 Are you on High Sierra as well? |
Yes I’m on High Sierra
On Sat, Nov 25, 2017 at 5:11 PM cmp ***@***.***> wrote:
@mbalex99 <https://github.com/mbalex99> Are you on High Sierra as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16106 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACFSMXharXL2IvwoeFSiXoEyvWjH5csFks5s6NbsgaJpZM4PkqBo>
.
--
Maximilian Alexander
mbalex99@gmail.com
www.maxofeden.com
|
OS: Sierra 10.12.6 Same error: No member named '__rip' in '__darwin_arm_thread_state' and No member named '__rip' in '__darwin_arm_thread_state64' in signalhandler.cc |
So I did a lot to fix things, but the main thing I did was I also completely removed XCode 8 and 9 from my system and then reinstalled XCode 9 using the App Store. After reinstalling it still didn't work until I nuked the |
I also removed and reinstalled Xcode, I will try your solution |
Steps:
Those steps worked for me. |
Fixed it by deleting |
same issue in my Xcode 9 |
Deleting |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
I have this issue too with Xcode 10 😞 . I tried to remove the |
I have re-install completely Xcode, removed the To compile my project (I'm using Fastlane) I'm using the following :
First time I ran it, I got the error:
I ran it again and got the following:
To solve this one, I have to run the following command :
Then I run again the build commande and got the following:
|
I have no idea what this is about but retuning |
@gastonmorixe Can you be more specific? |
Thanks, works for me too. |
@tanabs18, for me @thesubway suggestion worked, i guess this is what @gastonmorixe means. you will go node-module/react-native/third-party/glog-0.3.4/src/signalhandler.cc and at line 78, you need to replace that worked for me too but I have no idea what is that line either :) |
thanks @thesubway, it works for me too, does somebody know what are the side effects of going with this approach? |
Any workaround for this issue beside editing dependency code? |
The only way I could see is to un-define one of the 3 variables :
But I'm not sure what would be the impact nor how to do this. |
This worked for me too 👍
To
|
Hit a similar problem on iOS 12 with 0.56 and this response helped: |
Same issue on 0.57.3, fixed by returning NULL instead of (void*)context->PC_FROM_UCONTEXT. |
Thanks to @ledfusion. I was not configuring glog correctly for xcode 10. This is now in my npm postinstall cd node_modules/react-native ; ./scripts/ios-install-third-party.sh ; cd ../../
cd node_modules/react-native/third-party/glog-0.3.4/ ; sh ../../scripts/ios-configure-glog.sh ; cd ../../../../ |
Thanks @thesubway. Here is a solution that works for me: # https://github.com/facebook/react-native/pull/19579/commits/293915091ca6c9de2c54681e78eecf3229bc05d5
sed -i "" "s|fileRef = 13526A511F362F7F0008EF00|fileRef = 3DBE0D001F3B181A0099AA32|g" node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj/project.pbxproj
sed -i "" "s|13526A521F362F7F0008EF00|2D3ABDC220C7206E00DF56E9|g" node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj/project.pbxproj
cd node_modules/react-native ; ./scripts/ios-install-third-party.sh ; cd ../../
# https://github.com/facebook/react-native/issues/16106#issuecomment-401662200
sed -i "" "78s|.*| return NULL;|" node_modules/react-native/third-party/glog-0.3.4/src/signalhandler.cc
cd node_modules/react-native/third-party/glog-0.3.4/ ; ./configure ; cd ../../../../ |
in node_modules/react-native/third-party/glog-0.3.4/src/config.h
It works for me! |
I opened a PR on glog to return the line to NULL. If that gets through builds should work again. I don't know if it'll get approved, but I hope it will. |
Might have fixed this for me by editing the "fetch_and_unpack glog-0.3.4.tar.gz" line of "node_modules/react-native/scripts/ios-install-third-party.sh" The fourth parameter is the script to be run, but the path given will not exist. Going up two levels will find it. replace |
true way |
return NULL is working for me :) |
Changing |
yes edit it to "return NULL" , its build success but its safe ? and no impact ? |
Open the node_modules/react-native/third-party/glog-0.3.4/src/config.h file replace
for:
Then recompile. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 1.0.0
npm: 5.3.0
Watchman: 4.7.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.4 => 0.48.4
Steps to Reproduce
react-native init Mira
open Mira/ios/Mira.xcproj
Expected Behavior
The iOS app builds on the connected iPhone 6s with iOS 11 and runs correctly
Actual Behavior
A build error in
signalhandler.cc
WithNo member named '__rip' in '__darwin_arm_thread_state64'
on the linereturn (void*)context->PC_FROM_UCONTEXT;
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: