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

mkmf: CCDLFLAGS is missing -fPIC #5751

glebm opened this issue May 29, 2019 · 3 comments


Copy link

commented May 29, 2019

CCDLFLAGS is missing -fPIC.
Instead -fPIC is set only in CFLAGS and because of this C++ code is compiled without it (breaking partial static linking).

glebm added a commit to glebm/jruby that referenced this issue May 29, 2019


This comment has been minimized.

Copy link

commented Jun 3, 2019

wonder (looking at #5749) why do you want extconf.rb to work?
... since C-extensions don't work, would this actually help you much, you only need a clean ext build?


This comment has been minimized.

Copy link

commented Jun 3, 2019


This comment has been minimized.

Copy link
Contributor Author

commented Jun 3, 2019

since C-extensions don't work

They do work as long as they don't need libruby. So basically C libraries called from Ruby, e.g. via the FFI gem.

@kares kares added this to the JRuby milestone Jun 4, 2019

@kares kares closed this in #5752 Jun 4, 2019

kares added a commit that referenced this issue Jun 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.