Skip to content

cmd/link: misc/cgo/testshared fail on ARM64 #17642

Closed
@cherrymui

Description

@cherrymui

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

tip +bba1ac4

What operating system and processor architecture are you using (go env)?

linux/arm64

##### ../misc/cgo/testshared
2016/10/27 20:49:17 executing go install -installsuffix=8674665223082153551 -buildmode=shared runtime sync/atomic failed exit status 2:
# /tmp/go-build461932225/libruntime,sync-atomic.so
/home/cherry/src/go/pkg/tool/linux_arm64/link: running gcc failed: exit status 1
/usr/bin/ld.gold: error: /tmp/go-link-711780168/go.o: unsupported reloc 311 against local symbol
/usr/bin/ld.gold: error: /tmp/go-link-711780168/go.o: unsupported reloc 312 against local symbol
/usr/bin/ld.gold: internal error in relocate, at ../../gold/aarch64.cc:5651
collect2: error: ld returned 1 exit status

It wasn't broken yesterday when I tested my CL 32180 locally. So, I think it is probably somewhere between 829aa67 and bba1ac4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions