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

cmd/link: dwarf_aranges corrupt on 32 bit platforms #14278

Closed
ribrdb opened this issue Feb 9, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@ribrdb
Copy link
Contributor

commented Feb 9, 2016

The dwarf spec says aranges should be aligned to 2*(address size), but writearanges only aligns to one:
headersize := int(Rnd(4+2+4+1+1, int64(Thearch.Ptrsize)))

This works by accident on 64 bit platforms, but for 32 bit the data is corrupt.

@ianlancetaylor ianlancetaylor modified the milestones: Go1.7, Go1.6Maybe Feb 9, 2016

@gopherbot

This comment has been minimized.

Copy link

commented Feb 11, 2016

CL https://golang.org/cl/19452 mentions this issue.

@gopherbot gopherbot closed this in 68aa7fb Feb 12, 2016

@golang golang locked and limited conversation to collaborators Feb 28, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.