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

Closed
go101 opened this issue Dec 16, 2018 · 2 comments
Closed

cmd/compile: a rebuild is needed when cgo static library is changed. #29293

go101 opened this issue Dec 16, 2018 · 2 comments

Comments

@go101
Copy link

@go101 go101 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?

yes

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.

@AlexRouSg

This comment has been minimized.

Copy link
Contributor

@AlexRouSg AlexRouSg commented Dec 16, 2018

Looks like a dupe of #24355

@go101

This comment has been minimized.

Copy link
Author

@go101 go101 commented Dec 16, 2018

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

closed.

@go101 go101 closed this Dec 16, 2018
@golang golang locked and limited conversation to collaborators Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.