Closed mattdowle closed 6 years ago
The error is from LLVM linker, you may be linking modules with different PIC levels, e.g. one compiled with -fpic and the other with -fPIC. What is the system you are building on? Did you touch PIC options in any way?
It is probably caused by -fPIC in CFLAGS in cmpconfig.inc. As a quick fix, try removing it. I could not reproduce your problem on my system, but I see the same thing with MonetDBLite
and removing "-fPIC" helps. I had added the option in the past to fix problems with some packages, I will try to fix (remove or replace so that it is the same as C/FPICFLAGS).
Should be now resolved in trunk version of rchk
, please try to update (and re-build R from scratch).
I'm following the excellent instructions to build natively. I've compiled
rchk
ok. Now when I build R-devel, it runs well until the very end.R-devel appears to be functional, so I proceeded to check the package
Almost there! I'm just looking for quick pointers where to look next. Maybe LLVM Gold linker? But I thought the scripts handled this automatically, if I read correctly.