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
wrapper: failed with: gRPC call failed: Socket closed #474
Comments
Hey @manorit2001, thanks for the report... Could you check if the #472 workaround can be applied for your case? (Using wrapper mode, create a wrapper file for the cross compiler and write a configuration file.) I have to say that your error message is very different (socket closed is something to do with networking), but the cross compiler usage is very much alike. Maybe check if the host you are running the compilation has IPv4 address (localhost is fine). |
Hi, I have created softlinks as mentioned in that. Although I couldn't figure out how to create the config file but I can see the cross compiler mappings available. I hope it is fine.
Am not sure what you mean by this, though I agree that the error feels very weird for me too. Wasn't expecting some networking error while using bear. Though I have a ipv4 localhost address, let me know if I am looking at things wrong.
|
Though there are some additional logs in verbose mode which might be of interest. Let me know if that helps you figure out the problem.
|
I am on an internal VPN btw, do you think that might affect the working of bear in any way? |
VPN should not be an issue. It's about to have an IP address... Can you test Bear on your machine with a non-cross compiling project? I am curious if that's making the issue or not. (I am testing against the |
Any luck @manorit2001 ? |
Ah yes, sorry for the late reply. It seems like it was a VPN issue only am not sure how, as soon as I removed all the proxy variables and tried to connect without VPN it got resolved. I didn't try the other thing you mentioned as it started working for me without VPN. |
maybe used https_proxy/http_proxy |
do this will temporary disable vpn. and bear works well for me ! for example i use :
it generate compile_commands.json good! |
Describe the bug
bear
doesn't run at all and shows this error while trying to run it.To Reproduce
Not really sure on this part, I have installed bear on ubuntu 22.04 using apt. I even tried compiling from source with the master branch from github but still the same error.
Expected behavior
Generate
compile_commands.json
Environment:
3.0.18
,git-master
Additional context
configure
script]bear -- make
) with extra verbose log switches (e.g.bear --verbose -- make
) and send the output of it, that would help a lot.Before you send...
README.md
file orman bear
? YesThe text was updated successfully, but these errors were encountered: