-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Compile fails on aarch64 with -fpic error #30556
Comments
Jyotirmoy Bhattacharya: CPICFLAGS=-fPIC |
Neal Richardson / @nealrichardson: |
Jyotirmoy Bhattacharya: |
Just in case anyone else runs into this, I can also reproduce this on a fresh Ubuntu 22.03 VM running on aarch64 with the pre-built
Setting |
On trying to install the R package (v. 6.0.1) on aarch64 the C++ package builds successfully but then the installation fails with the error
/usr/bin/ld: /tmp/RtmpFxiJjo/R.INSTALL25d336ebab6c6/arrow/src/../inst/include/cpp11/protect.hpp:38: warning: too many GOT entries for -fpic, please recompile with -fPIC
Environment: System: Oracle Cloud, Ampere A1 instance, Ubuntu 20.04
R version: 4.1.2
CMake version: 3.16.3
g++ version: 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
Reporter: Jyotirmoy Bhattacharya
Note: This issue was originally created as ARROW-15039. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: