cmd/link: go tool fails with "Inconsistency detected by ld.so" #27259
Comments
Please include the output of |
Exactly which "go 1.11 compiled amd64 binary" did you use? |
@ianlancetaylor Also |
Did you set any of |
@breisig See question above. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
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: