[OpenIndiana-discuss] "Unexpected" error
Apostolos Syropoulos
asyropoulos at yahoo.com
Tue Dec 23 19:33:36 UTC 2025
Hello,
I am trying to compile R on my system and compilationstops with the following error:
make[4]: Entering directory '/container/source/lang/R-4.5.2/src/modules/lapack'
gcc -std=gnu23 -shared -fopenmp -L/usr/local/lib -o libRlapack.so dlamch.o dlapack.o cmplx.o dlartg.o dlassq.o la_constants.o la_xisnan.o zlartg.o zlassq.o -L"../../../lib" -lRblas -R/usr/gcc/14/lib/amd64 -lgfortran -lm -lquadmath
ld: fatal: relocation error: R_AMD64_TPOFF32: file /usr/gcc/14/lib/amd64/libgfortran.a(async.o): symbol thread_unit: relocation illegal when building a shared object
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:117: libRlapack.so] Error 1
It seems that something is 32bit while everything is 64bit But
objdump -f libgfortran.a|grep ^architecture
says that everything is 64bit and all the object files are 64bit files!So what is wrong? Does anyone have any idea?
Regards,
Apostolos
----------------------Apostolos Syropoulos
Xanthi, Greece
More information about the openindiana-discuss
mailing list