Compiler Problems?

Thomas D. Dean tomdean at speakeasy.org
Sat Sep 15 15:14:26 PDT 2007


I believe we have a compiler problem with gcc42.

I had a problem with scilab under both -stable and -current.

I installed the ports with the default make files.  scilab failed at
run time.  ports/116378.

Math/scilab uses math/lapack and math/blas and builds everything with
gcc42 and gfortran42.  I distrust things which do not use the default
system build tools.

All three ports were up-to-date as of yesterday.

I deinstalled scilab, blas, and, lapack.  I rebuilt them with the
default system compilers, g77 and cc.

The problem went away.

scilab uses two gfortran specific calls.  Fixing these, changing the
makefiles fixed the problem.

Scilab.  Changed Makefile to use g77, cc, c++
  USE_FORTRAN=	g77
  CC=cc
  CXX=c++
  F77=f77

build lapack with g77
   USE_FORTRAN=g77

build blas with g77
   USE_FORTRAN=g77

Removed gfortran from
/scratch/obj/ports/usr/ports/math/scilab/work/scilab-4.1.1/routines/os_specific/getarg.c
By using the default call in the #if..else statement.


tomdean


More information about the freebsd-stable mailing list