On Sun, 5 Mar 2017 08:03:56 -0300 Otacílio <[email protected]> wrote: > I'm trying compile math/openblas on a Beaglebone black. The compilations > stops at this point with this error message: > > root@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@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?
This is a problem with libc that has been fixed in FreeBSD head but has not been merged to stable yet: https://svnweb.freebsd.org/base?view=revision&revision=313873 _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
