ports/116166: math/scilab: Scilab 4.1.1 exits with corrupt stack.
Thomas D. Dean
tomdean at speakeasy.org
Sat Sep 15 22:10:10 UTC 2007
The following reply was made to PR ports/116166; it has been noted by GNATS.
From: "Thomas D. Dean" <tomdean at speakeasy.org>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/116166: math/scilab: Scilab 4.1.1 exits with corrupt stack.
Date: Sat, 15 Sep 2007 15:06:07 -0700 (PDT)
I believe we may have a compiler problem with gcc42.
I had a problem with scilab under both -stable and -current.
I installed the port with the default make files. I saw no errors
during build/install. Scilab failed at run time. ports/116378 and
earlier kern/116166 which was changed to ports.
Math/scilab uses math/lapack and math/blas and builds everything with
gcc42 and gfortran42.
All three ports were up-to-date as of yesterday.
Running -stable,
# uname -a
FreeBSD dv6000.tddhome 6.2-STABLE FreeBSD 6.2-STABLE #2: \
Sat Sep 15 11:31:41 PDT 2007 \
root at dv6000.tddhome:/scratch/obj/usr/usr/src/sys/SMP i386
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 in
routines/os_specific/getarg.c. Fixing these and 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-ports-bugs
mailing list