-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/cgo: crash when building github.com/timob/jnigi on Windows #26517
Comments
Here what happens on tip on darwin:
|
@ysmolsky jni.zip |
Looks like a windows issue. Works fine on my linux box after placing the
|
It worked on Mac after putting the .h file into |
Looking at the trace, it seems like the cgo tool is trying to generate (print) an invalid Go file. That is, it's trying to print an @gooid does this happen with Go 1.10.3? |
@mvdan @ysmolsky
|
@gooid thanks. Could you by any chance bisect this between go1.11beta1 and go1.11beta2? Knowing which commit added the regression would be very useful. In particular, a371bc2 and b888a62 could be related, by looking at the commit log. |
Thanks. In that case, cc @randall77 too. |
Can we find out which typedef is failing to print? |
I am not sure what you are after, but I did this:
and then I can see this output:
Alex |
This may be due to:
Where |
Sure:
Alex |
Change https://golang.org/cl/126275 mentions this issue: |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.11beta2 windows/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
The text was updated successfully, but these errors were encountered: