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

Rewrite the post linker in librcd/C - decrease build time with 50%+ #16

Open
hnsl opened this issue Oct 18, 2014 · 2 comments
Open

Rewrite the post linker in librcd/C - decrease build time with 50%+ #16

hnsl opened this issue Oct 18, 2014 · 2 comments

Comments

@hnsl
Copy link
Owner

hnsl commented Oct 18, 2014

The post linker is currently a major time stealer when building. It's written in python to make use of an ELF/Dwarf library that doesn't suck (pyelftools). Unfortunately it's slow, even with pypy due to the large number of dynamic objects it needs to create. I belive that it would be much faster to have this written in C instead. The major obstacle is finding a simple elf manipulation and dwarf parsing library.

@simonlindholm
Copy link
Contributor

As I recall pyelftools was also a bit of a pain to set up on Ubuntu, with pypy/cpython path conflicts (I don't remember the details). This might alleviate that.

@elandeholm
Copy link

Haha, kanske kunde vara ett jobb för mig!

On Sat, Oct 18, 2014 at 9:37 PM, Simon Lindholm notifications@github.com
wrote:

As I recall pyelftools was also a bit of a pain to set up on Ubuntu, with
pypy/cpython path conflicts (I don't remember the details). This might
alleviate that.


Reply to this email directly or view it on GitHub
#16 (comment)
.

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

No branches or pull requests

3 participants