You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "amoeba (via GitHub)" <gi...@apache.org> on 2023/09/13 23:54:13 UTC
[GitHub] [arrow] amoeba commented on issue #30556: Compile fails on aarch64 with -fpic error
amoeba commented on issue #30556:
URL: https://github.com/apache/arrow/issues/30556#issuecomment-1718456736
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 `r-base` package (i.e., not a source install).
```
$ uname -a
Linux ubuntu 5.15.0-83-generic #92-Ubuntu SMP Mon Aug 14 09:34:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
# I assume this controls the default set of compiler flags
$ cat /etc/R/Makeconf | grep -i pic
CPICFLAGS = -fpic
CXXPICFLAGS = -fpic
CXX11PICFLAGS = -fpic
CXX14PICFLAGS = -fpic
CXX17PICFLAGS = -fpic
CXX20PICFLAGS = -fpic
...snip
```
Setting `~/.R/Makevars` as suggested in https://github.com/apache/arrow/issues/30556#issuecomment-1378068939 fixes it under my environment too. I'm not sure a change is needed at this point or what that change might be but I did want to share the above info.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org