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

debug/gosym: pclntab_test failing on plan9/amd64 #12863

Closed
kennylevinsen opened this issue Oct 7, 2015 · 4 comments
Closed

debug/gosym: pclntab_test failing on plan9/amd64 #12863

kennylevinsen opened this issue Oct 7, 2015 · 4 comments

Comments

@kennylevinsen
Copy link

pclntab_test.go calls the assembler and linker:

go tool asm -o pclinetest.o pclinetest.asm
go tool link -H linux -E main -o pclinetest pclinetest.o

The link fails on plan9 with entry not text: main in Entryvalue (cmd/link/internal/ld/lib.go), where the LSym type was 26, translating to SXREF, but was expected to be STEXT.

This is the test that the plan9/amd64 builder is currently failing.

Versions

OS: 9front amd64
Go: head of master and 1.5.1

@kennylevinsen kennylevinsen changed the title debug/gosym: pcllntab_test failing on plan9 debug/gosym: pclntab_test failing on plan9 Oct 7, 2015
@kennylevinsen kennylevinsen changed the title debug/gosym: pclntab_test failing on plan9 debug/gosym: pclntab_test failing on plan9/amd64 Oct 7, 2015
@ianlancetaylor ianlancetaylor added this to the Go1.6 milestone Oct 7, 2015
@ianlancetaylor
Copy link
Contributor

Because go tool link is being invoked with -H linux, it should behave the same no matter what host it is being run on. That is failing somehow, but I don't know why. I also don't know how much effort it's worth putting into finding it.

@0intro 0intro self-assigned this Oct 7, 2015
@0intro
Copy link
Member

0intro commented Oct 7, 2015

By the way, I don't think it's a regression, since the test was disabled before
CL 10633 (June 2, 2015), because of the use of the Bourne shell.
It probably never worked, but I haven't investigated the issue yet.

@rsc rsc modified the milestones: Unplanned, Go1.6 Nov 5, 2015
@0intro
Copy link
Member

0intro commented Apr 20, 2016

This issue is a duplicate of issue #14536.

@0intro
Copy link
Member

0intro commented Apr 20, 2016

This issue has been fixed in CL 19973.

@0intro 0intro closed this as completed Apr 20, 2016
@golang golang locked and limited conversation to collaborators Apr 20, 2017
@rsc rsc unassigned 0intro Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants