/usr/local/lib/gcc49/libgfortran.so: undefined reference to `fpgetsticky' on ARM
Otacílio
otacilio.neto at bsd.com.br
Sun Mar 5 11:04:26 UTC 2017
Dears
I'm trying compile math/openblas on a Beaglebone black. The compilations
stops at this point with this error message:
root at beaglebone:/usr/ports/math/openblas/work/OpenBLAS-0.2.19/lapack-netlib/INSTALL
# gfortran49 -Wall -fPIC -marm -mfpu=vfp -mfloat-abi=hard -march=armv6
-O2 -lm -gfortran49 -Wall -fPIC -marm -mfpu=vfp -mfloat-abi=hard
-march=armv6 -O2 -lm -Wl,-rpath=/usr/local/lib/gcc49
-L/usr/local/lib/gcc49 -B/usr/local/bin -fstack-protector
-Wl,-rpath=/usr/local/lib/gcc49 -L/usr/local/lib/gcc49 -lgfortran -o
tprotector -o testlsame lsame.o lsametst.o
/usr/local/lib/gcc49/libgfortran.so: undefined reference to `fpgetsticky'
collect2: error: ld returned 1 exit status
This other port biology/psi88 has a identically problem:
===> Building for psi88-1.0_9
(cd src/ && make all)
gfortran49 -O -Wl,-rpath=/usr/local/lib/gcc49 psi1.f -o PSI1
-Wl,-rpath=/usr/local/lib/gcc49 -L/usr/local/lib/gcc49 -B/usr/local/bin
/usr/local/lib/gcc49/libgfortran.so: undefined reference to `fpgetsticky'
collect2: error: ld returned 1 exit status
*** [PSI1] Error code 1
I found a source of fpgetsticky here:
root at beaglebone:/usr/ports/biology/psi88 # ls
/usr/src/lib/libc/arm/gen/fpgetsticky_vfp.c
/usr/src/lib/libc/arm/gen/fpgetsticky_vfp.c
So, can someone give me a hint about how to fix it?
Thanks a lot!
[]'s
-Otacilio
More information about the freebsd-ports
mailing list