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

FLiT required binutils of a fairly recent version #233

Closed
mikebentley15 opened this issue Oct 11, 2018 · 0 comments
Closed

FLiT required binutils of a fairly recent version #233

mikebentley15 opened this issue Oct 11, 2018 · 0 comments
Labels
bug documentation Involves touching documentation

Comments

@mikebentley15
Copy link
Collaborator

Bug Report

Describe the problem
Found today, the bisect functionality may not work unless you have a fairly recent version of binutils. Of note, version 2.25.1-32.base.el7_4.2 gave the error:

objcopy: BFD version 2.25.1-32.base.el7_4.1  assertion fail elf64-x86-64.c:341
objcopy: bisect-01/obj/solvers_gt_fPIC.o: invalid relocation type 42

But version 2.26.51.20151113 and version 2.31.1 did not give those errors.

Suggested Fix
Update the minimum required version of binutils in the documentation to 2.26

Alternative approaches:
Find another way to do what we are using objcopy to perform. Notably, we could write our own ELF parser. We only need the functionality to weaken symbols, perhaps rename symbols, and we could get more functionality out of bisect if we made something that could strengthen weak symbols into strong symbols.

If this approach is appealing, make a new issue requesting an ELF parser. You can reference this issue and/or reference that new issue from this one to link them together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug documentation Involves touching documentation
Projects
None yet
Development

No branches or pull requests

1 participant