Re: Compiler Problems?

From: Thomas D. Dean <tomdean_at_speakeasy.org>
Date: Sun, 30 Sep 2007 21:33:38 -0700 (PDT)
I had a problem with the lapack port - downloading the files.  Using
ftp, the files downloaded Ok.  Lapack may be Ok.

Thanks for the fix.

However, the scilab port rebuilds slamch.f, in addition to lots (253?)
of other lapack code.  See work/scilab-4.1.1/routines/lapack/*.  Why
does the scilab port rebuild 254 lapack routines?

The scilab port still fails in slamch.  But, this is the scilab port's
fault.  I get some X errors when scilab starts.

There are three parts below, build and install, download, runtime errors.

tomdean


====  build and install ===================
deinstall lapack, blas, scilab
truncate the work tree
# cd ports/math/lapack
# script /scratch/tmp/lapack.install
# make install
# grep slamch.f /scratch/tmp/lapack.install
gfortran42 -O0 -c slamch.f -o slamch.o
gfortran42 -O0 -fpic -c slamch.f -o slamch.o
gfortran42 -O0 -pg -c slamch.f -o slamch.o
# cd ../scilab
# make install
# exit
# grep slamch.f /scratch/tmp/lapack.install
gfortran42 -O0 -c slamch.f -o slamch.o
gfortran42 -O0 -fpic -c slamch.f -o slamch.o
gfortran42 -O0 -pg -c slamch.f -o slamch.o
gfortran42   -O -c slamch.f                  <==== scilab rebuilds slamch.f

==== download problem ================
deinstall scilab, lapack, and, blas.  rm the work directory.
# cvsup ports-supfile
# cd ports/math/lapack
# make fetch
===>  Vulnerabilpity check disabled, database not found
You can override FC and FFLAGS on the command line.
Set ENABLE_TESTING to YES to enable testing and timing.
=> lapack-3.1.1.tgz doesn't seem to exist in /usr/ports/distfiles/lapack.
=> Attempting to fetch from ftp://ftp.netlib.org/lapack/.
fetch: ftp://ftp.netlib.org/lapack/lapack-3.1.1.tgz: Not logged in
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/lapack/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/lapack/lapack-3.1.1.tgz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/lapack and try again.
*** Error code 1
Stop in /usr/ports/math/lapack.

# ftp ftp://ftp.netlib.org/lapack/lapack-3.1.1.tgz
# ftp://ftp.netlib.org/lapack/manpages-3.1.1.tgz
downloaded the files

=== scilab runtime errors ================
# scilab -debug
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)...
(gdb) r
Starting program: /usr/local/lib/scilab/bin/scilex 
Scilab : X error trapped - error message follows:
BadWindow (invalid Window parameter)
Scilab : X error trapped - error message follows:
BadWindow (invalid Window parameter)
Scilab : X error trapped - error message follows:
BadWindow (invalid Window parameter)
Scilab : X error trapped - error message follows:
BadWindow (invalid Window parameter)
Scilab : X error trapped - error message follows:
BadWindow (invalid Window parameter)
Scilab : X error trapped - error message follows:
BadWindow (invalid Window parameter)
Scilab : X error trapped - error message follows:
BadWindow (invalid Window parameter)
^C
Program received signal SIGINT, Interrupt.
0x082c9f34 in slamc1_ ()
(gdb) bt
#0  0x082c9f34 in slamc1_ ()
#1  0x082c9779 in slamc2_ ()
#2  0x082c9fbd in slamch_ ()
#3  0x0824ced2 in rpoly_ ()
#4  0x08120fc5 in introots_ ()
#5  0x08121bc1 in polelm_ ()
#6  0x08085a11 in callinterf_ ()
#7  0x080a74dd in scirun_ ()
#8  0x084553cf in VTRun ()
#9  0x08459ade in main_sci ()
#10 0x0845a119 in realmain_ ()
#11 0x08081fba in MAIN__ ()
#12 0x08089b28 in main ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
Received on Mon Oct 01 2007 - 02:33:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC