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

Misaligned variables #1

Closed
beowulf opened this issue Jul 8, 2017 · 5 comments
Closed

Misaligned variables #1

beowulf opened this issue Jul 8, 2017 · 5 comments
Assignees
Labels

Comments

@beowulf
Copy link
Collaborator

beowulf commented Jul 8, 2017

Have some misaligned variables. Linker scripts are attached.

  • Actually for testing the issue tracker in github

modified__aarch64.x.orig.txt
modified__aarch64.x.txt
modified__elf_x86_64.x.orig.txt
modified__elf_x86_64.x.txt

@beowulf beowulf added the bug label Jul 8, 2017
@olivierpierre
Copy link
Collaborator

Can you also post the sources of the compiled program that lead to this issue?

thanks!

@beowulf
Copy link
Collaborator Author

beowulf commented Jul 10, 2017

It actually happens whenever you build an application using the up-to-date rack branch. Check the address of "archs" in the script.

@olivierpierre olivierpierre self-assigned this Jul 10, 2017
@beowulf
Copy link
Collaborator Author

beowulf commented Jul 12, 2017

Rob hinted me that this might be caused by the hardcoded starting addresses for some segments (e.g., eh_frame). In fact, the segment belongs to different sections in x86 and arm binaries.

@olivierpierre
Copy link
Collaborator

Should be fixed with the new python alignment tool pushed into the master branch, let's test this when we can.

@olivierpierre
Copy link
Collaborator

The particular case of the archs variable is fixed.

xjtuwxg pushed a commit that referenced this issue Apr 5, 2024
Updates to install_compiler.py script to use git instead of svn.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants