Hi, math/rpy2 fails to compile when math/R is built with option OPENMP on 11.0-RELEASE-p4. Thanks for help! cc -shared -Wl,--as-needed -Wl,-rpath=/usr/local/lib/gcc49 -L/usr/local/lib/gcc49 -B/usr/local/bin -L/usr/local/lib -fstack-protector -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include build/temp.freebsd-11.0-RELEASE-p4-amd64-2.7/./rpy/rinterface/_rinterface.o -L/usr/local/lib/gcc49 -L/usr/local/lib -L/usr/local/lib/R/lib -L/usr/local/lib -L/usr/local/lib -Lbuild/temp.freebsd-11.0-RELEASE-p4-amd64-2.7 -Wl,-rpath=/usr/local/lib/gcc49 -Wl,-rpath=/usr/local/lib -Wl,-rpath=/usr/local/lib/R/lib -Wl,-rpath=/usr/local/lib -lR -lpcre -llzma -lbz2 -lz -lrt -lm -licuuc -licui18n -lpython2.7 -lr_utils -o build/lib.freebsd-11.0-RELEASE-p4-amd64-2.7/rpy2/rinterface/_rinterface.so -Wl,--export-dynamic -fopenmp -Wl,--as-needed -Wl,-rpath=/usr/local/lib/gcc49 -B/usr/local/bin -fstack-protector /usr/local/bin/ld: cannot find -lomp
Naybe, this is the problem: locate libomp /usr/local/llvm37/lib/libomp.so /usr/local/llvm38/lib/libomp.so you are compiling with gcc49.
Hi, You are right. I am using default settings, though. It seems that math/rpy2 should have a switch to link to libgomp with default settings.
I see no problems building math/rpy2 when math/R is built with OPENMP on. I tested with an amd64 11.1-RELEASE poudriere jail. You are using an unsupported release. Version 11.0 went end-of-life on October 10th, 2016.
http://pkg.awarnach.mathstat.dal.ca/data/11amd64-default/2018-01-09_22h02m28s/logs/R-3.4.3_1.log http://pkg.awarnach.mathstat.dal.ca/data/11amd64-default/2018-01-09_22h15m52s/logs/rpy2-2.7.8_6.log
Feedback timeout. Could this be closed?