Skip to content

Possibly missing -fPIC linker option #75

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

Open
davisp opened this issue Feb 22, 2022 · 0 comments
Open

Possibly missing -fPIC linker option #75

davisp opened this issue Feb 22, 2022 · 0 comments

Comments

@davisp
Copy link

davisp commented Feb 22, 2022

I had an interesting bug report in davisp/jiffy#208 that I think looks like an edge case issue with the default linker flags. I don't claim to be an expert on compiler and linker flags but the end question was:

However, the real question is: why does rebar add -fPIC during build but not during link? I think this is something that should be fixed at the level of rebar itself, not in individual packages.

Obviously I could always add -fPIC to Jiffy's linker options but it seemed like if it really is a missing option it'd be better to have it fixed in port_compiler itself.

A direct link to the failed build and follow up discussion can be found here:

https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

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

No branches or pull requests

1 participant