compiling R packages `data.table` and `xfun` among others fails during `install.packages()` call
I've recently installed R version 4.0.5 (2021-03-31) onto Ubuntu 20.04.2 LTS. R is working as expected. Some packages have installed without issue (e.g., R.matlab); however, there are several packages that have not been able to install.
As as example, running install.
* installing *source* package ‘data.table’ ...
** package ‘data.table’ successfully unpacked and MD5 sums checked
** using staged installation
gcc -std=gnu99 9.3.0
zlib 1.2.11 is available ok
R CMD SHLIB supports OpenMP without any extra hint
** libs
gcc -std=gnu99 -I"/usr/
during GIMPLE pass: ccp
assign.c: In function ‘memrecycle’:
assign.c:1205:1: internal compiler error: Segmentation fault
1205 | }
| ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make: *** [/usr/lib/
ERROR: compilation failed for package ‘data.table’
Similarly, if `install.
* installing *source* package ‘xfun’ ...
** package ‘xfun’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gcc -std=gnu99 -I"/usr/
during GIMPLE pass: ccp
base64.c: In function ‘base64_
base64.c:237:1: internal compiler error: Segmentation fault
237 | }
| ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make: *** [/usr/lib/
Other packages have installed without issue. I have posted the question to stackoverflow and it was suggested that I submit a bug report. As I am relatively new to this, I've decided to ask a question instead.
Thanks for all your help and work in advance.
gcc -v:
sing built-in specs.
COLLECT_GCC=gcc
COLLECT_
OFFLOAD_
OFFLOAD_
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mazin
- Solved:
- Last query:
- Last reply: