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

increase RELOC_TAG_OFFSET to handle larger system images #37613

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

JeffBezanson
Copy link
Member

Currently very large system images can crash during loading due to overflowing the allowed range of relocation offsets. We currently use 7 RefTags, so we might as well just increase the number of bits available for now.

@yuyichao
Copy link
Contributor

Any idea how much does a compile all sysimg increase the size/required offset by?

@Keno
Copy link
Member

Keno commented Sep 17, 2020

Can we get an explicit error when a relocation would overflow the new limit, so we don't have to diagnose it by rr trace?

add an error check that the max size is not exceeded
@JeffBezanson JeffBezanson merged commit 5f55b97 into master Sep 21, 2020
@JeffBezanson JeffBezanson deleted the jb/reloctagbits branch September 21, 2020 18:19
KristofferC pushed a commit that referenced this pull request Oct 21, 2020
add an error check that the max size is not exceeded

(cherry picked from commit 5f55b97)
@KristofferC KristofferC mentioned this pull request Oct 21, 2020
15 tasks
@vchuravy vchuravy mentioned this pull request Jan 21, 2021
27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants