-
Notifications
You must be signed in to change notification settings - Fork 489
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
Call _beginthread(...) in C:\Program Files\Go\src\runtime\cgo #4081
Comments
"C:\Program Files\Go" is not provided by MSYS2.
Use the mingw gcc. |
@Biswa96 mingw-w64-go build sqlite driver? |
Please explain your question. I did not understand that. |
will mingw-w64-go build? |
Feel free to try it. |
Got it, I'll try it and report back |
@Biswa96
|
The sqlite3 driver is not built mattn/go-sqlite3#855
It is called in the following files:
C:\Program Files\Go\src\runtime\cgo\gcc_libinit_windows.c\libcgo_windows.h
C:\Program Files\Go\src\runtime\cgo\gcc_libinit_windows.c
gcc
(pacman -S gcc) searches for header files in directories:process.h
in/usr/include
windows.h
->/usr/include
This problem is not only related to the sqlite3 driver, it was also mentioned here golang/go#59490 (comment) and here https://stackoverflow.com/questions/75067559/how-to-fix-cgo-error-caused-by-race-flag
How can this be fixed? Maybe you need to somehow correct the names of the header files?
The text was updated successfully, but these errors were encountered: