-
Notifications
You must be signed in to change notification settings - Fork 4
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
topology can't be allocated in Go (Is this being maintained)? #1
Comments
Currently having this issue as well, going to investigate. I remember building this library a few months ago with no issue, so most likely this has to do with an updated library. If I manage to get it working I'll create a fork and link it back here |
Update: Forked the project with the struct allocation fix. |
@0xffffa are you planning to contribute via PR here so we can use the upstream for our projects? Or are the changes not acceptable for adding here? |
@0xffffa @c0mm4nd @vsoch @carmark In version 1.13 of Golang, it can be built perfectly. However, the latest version of Golang may encounter errors (go hwloc \ topology_windows.go: 335:59: cannot convert pid (variable of type HwlocPid) to type_Ctype_cwloc_pid_t), if unsafe is used The Pointer function will result in an error when converting (go hwloc/topology_windows.go: 20:36: _Ctype_struct_hwloc_topology can't be allocated in Go; it is incomplete (or unallocated)). Do you have any good methods? |
I just tried adding to my library, and:
From this https://forum.golangbridge.org/t/type-is-incomplete-or-unallocatable/33565 I think likely a pointer is needed somewhere? Also let me know if you are still maintaining this. Thank you!
The text was updated successfully, but these errors were encountered: