On Mon, Oct 16, 2017 at 02:18:01AM -0700, Yuri wrote:
> On 10/15/17 23:20, Gleb Popov wrote:
> > I've tracked these symbols to /usr/local/lib/gcc6/libgcc_s.so. But there is
> > also /usr/lib/libgcc_s.so and it doesn't have such symbols. I suspect this
> > is the source of the error, but I wasn't able to fix it. Passing -Wl,-rpath
> > as advised by lang/gcc6 pkg-message doesn't help. The only workaround I
> > came up with is USE_GCC=yes to compile DLib itself, but that's pretty
> > unsatisfactory.
> 
> 
> Fortran implementation based on gcc is faulty due to libgcc_s.so being 
> present in 2 versions, in base and in gcc port, making any code 
> containing both C++ and fortran impossible to run. Your application 
> probably can't work on FreeBSD using gcc fortran for this reason.
> 

Huh?  I use Netlib blas/lapack compiled with gfortran on FreeBSD
with no problem.  If you're having problems with gfortran finding
the right libgcc_s.so, then add -rpath /usr/local/lib/gcc5 (or gcc6
or gcc7) to yout Fortran options.

-- 
Steve
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to