cmd/link: incompatible with i386:x86-64 output #12448
Closed
Labels
Milestone
Comments
What is GOARCH set to? |
E.g., |
are you trying to build 32-bit windows program with
a 64-bit-only mingw gcc?
|
@minux
|
@mattn You are somehow linking against a version of go-sqlite built using GOARCH=386, which fails because you are using GOARCH=amd64. This normally shouldn't happen, as the different GOARCH value should store the package in a different location. Can you run |
Ah, I figure out. I put syso file in the directory. It contains windows resource objects. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
build app with linking go-sqlite3.
I'm on windows7 x86_64. Using head of master branch.
The text was updated successfully, but these errors were encountered: