You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code failing is in a private repo. I can give someone access if needed.
What did you expect to see?
go build should not fail
What did you see instead?
/usr/local/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: sectionForAddress(0xA7233E) address not in any section file '/var/folders/4f/l31kb4n521d6g89qxrwcx69h0000gp/T/go-link-742064742/go.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ctl] Error 2
Other programs in my go environment compile fine
I ran "go clean -cache -modcache -r", did not help
First time I see such a problem
Code compiles fine with go1.14.3
The text was updated successfully, but these errors were encountered:
Hello, and thanks for opening this issue! Do you think this is a duplicate of #40974?
The OP there also had this problem after upgrading to 1.15; people have already started a small discussion there too.
Hello, and thanks for opening this issue! Do you think this is a duplicate of #40974?
The OP there also had this problem after upgrading to 1.15; people have already started a small discussion there too.
Checking one of the solutions suggested in #40974 I assume that the problems are the same and that this ticket can be closed as duplicate.
martin:~/go/src/github.com/programmfabrik/fylr/fylrctl$ go build -ldflags='-w'
martin:~/go/src/github.com/programmfabrik/fylr/fylrctl$ go build
# github.com/programmfabrik/fylr/fylrctl
/usr/local/go/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
ld: sectionForAddress(0xA7231E) address not in any section file '/var/folders/4f/l31kb4n521d6g89qxrwcx69h0000gp/T/go-link-846450234/go.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run "go build"
The code failing is in a private repo. I can give someone access if needed.
What did you expect to see?
go build should not fail
What did you see instead?
The text was updated successfully, but these errors were encountered: