Skip to content
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/compile: a rebuild is needed when cgo static library is changed. #29293

go101 opened this issue Dec 16, 2018 · 2 comments


None yet
2 participants
Copy link

commented Dec 16, 2018

What version of Go are you using (go version)?

go version go1.11.3 linux/amd64

Does this issue reproduce with the latest release?


What did you do?

My cgo project supports module.
The project depends on a c static library.
After a successful build, I updated the static library, then "go build" again.

What did you expect to see?

A rebuild to use the new static library.

What did you see instead?

I looks the "go build" is finished in half a second by using cache.
The new static library is not used.


This comment has been minimized.

Copy link

commented Dec 16, 2018

Looks like a dupe of #24355


This comment has been minimized.

Copy link

commented Dec 16, 2018

Yes, specifically a dupe of this comment: #24355 (comment)


@go101 go101 closed this Dec 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.