cmd/link: go tool fails with "Inconsistency detected by ld.so" #27259
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Go 1.11
Does this issue reproduce with the latest release?
Yes, even with Go 1.10 too.
What operating system and processor architecture are you using (
go env
)?Glibc 2.28
gcc 8.2
binutils 2.31
Linux kernel 4.18.5
What did you do?
Build it from source
Get a copy of go 1.11 compiled amd64 binary and extract it to /opt/go (for bootstrapping)
extract Go 1.11 from source
cd src
GOROOT_BOOTSTRAP=/opt/go GOROOT_FINAL=/opt/go-1.11 ./all.bash
If possible, provide a recipe for reproducing the error.
root@server ~# go version
Inconsistency detected by ld.so: get-dynamic-info.h: 131: elf_get_dynamic_info: Assertion `info[DT_RELAENT]->d_un.d_val == sizeof (ElfW(Rela))' failed!
What did you expect to see?
go 1.11
What did you see instead?
When running any go command causes the following error output.
Inconsistency detected by ld.so: get-dynamic-info.h: 131: elf_get_dynamic_info: Assertion `info[DT_RELAENT]->d_un.d_val == sizeof (ElfW(Rela))' failed!
The text was updated successfully, but these errors were encountered: