failure to build atlas 3.6.0 from port

Rick Voland rpvoland at facstaff.wisc.edu
Sun Mar 7 04:34:47 PST 2004


	I tried unsuccessfully to upgrade atlas from atlas-3.5.5,1 to
atlas-3.6.0,1 using portupgrade.  Is atlas still supported on 2xPentium
233MMX (SMP)?  I only added the minimal lines to the GENERIC kernel to
get SMP.

	Later, I tried again, this time trying to build ATLAS directly from the 
port
using "make", first using sudo in a window, then as root in single user 
mode,
just in case the build was failing due to other system activity.  All 
these builds were
on my local machine, not using NFS.  Before the last build, I upgraded 
my kernel
with the latest security patch.

$ uname -a
FreeBSD brian.local.bsd 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #2: Wed 
Mar  3 22:13:47 CST 2004 
root at brian.local.bsd:/usr/obj/usr/src/sys/BRIAN  i386

I have saved the atlas error file from the single user build and can 
provide that on request.
"error_NON_THREADED_PIC.tgz"

$ diff GENERIC BRIAN
18c18
< # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 
simokaw
a Exp $
---
 > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 
23:35:15 jhb
  Exp $
21,22c21,22
< cpu           I386_CPU
< cpu           I486_CPU
---
 > #cpu          I386_CPU
 > #cpu          I486_CPU
24,25c24,25
< cpu           I686_CPU
< ident         GENERIC
---
 > #cpu          I686_CPU
 > ident         BRIAN
64,65c64,65
< #options      SMP                     # Symmetric MultiProcessor Kernel
< #options      APIC_IO                 # Symmetric (APIC) I/O
---
 > options       SMP                     # Symmetric MultiProcessor Kernel
 > options       APIC_IO                 # Symmetric (APIC) I/O
267,271d266
<
< # FireWire support
< device                firewire        # FireWire bus code
< device                sbp             # SCSI over FireWire (Requires 
scbus and
  da)
< device                fwe             # Ethernet over FireWire 
(non-standard!)

############

Here is the end of the output when the build failed the first time.

############


ALL CPSC SANITY TESTS PASSED.

/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -o dcpsctime.o -c -DDREAL ../cpsctime.c
rm -f dcpsc.c dcpsc.o
cp ../CPSC/cpsc1_x0y0.c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -DDREAL -c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -o xdcpsc dcpsctime.o  ATL_dcpsc_stub.o
dcpsc.o  /
usr/ports/math/atlas/work/ATLAS/tune/sysinfo/THREADED/time.o -pthread -lm
/usr/ports/math/atlas/work/ATLAS/bin/THREADED/ATLrun.sh
/usr/ports/math/atlas/wo
rk/ATLAS/tune/blas/level1/THREADED xdcpsc -n 5000 -f res/dCPSC1_a2b2x1y1
       N=5000, tim=6.416699e-04
       N=5000, tim=1.264007e-03
       N=5000, tim=6.389854e-04
       N=5000, tim=1.221239e-03
       N=5000, tim=6.340407e-04
    N=5000, time=6.382320e-04, mflop=7.834142
N=5000, incX=1, incY=1, mflop = 7.834142
rm -f dcpsc.c dcpsc.o
cp ../CPSC/cpsc1_x0y0.c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -DDREAL -c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -o xdcpsc dcpsctime.o  ATL_dcpsc_stub.o
dcpsc.o  /
usr/ports/math/atlas/work/ATLAS/tune/sysinfo/THREADED/time.o -pthread -lm
/usr/ports/math/atlas/work/ATLAS/bin/THREADED/ATLrun.sh
/usr/ports/math/atlas/wo
rk/ATLAS/tune/blas/level1/THREADED xdcpsc -n 5000 -f res/dCPSC1_a2b2x1y-2
-Y -2


CANNOT GET TIMINGS IN TOLERANCE, EXITING!!

       N=5000, tim=1.198389e-03
       N=5000, tim=6.416862e-04
       N=5000, tim=1.476049e-03
       N=5000, tim=6.368585e-04
       N=5000, tim=1.476285e-03
       N=5000, tim=6.376732e-04
       N=5000, tim=1.512548e-03
       N=5000, tim=6.356423e-04
       N=5000, tim=1.488524e-03
       N=5000, tim=6.353545e-04
       N=5000, tim=1.454618e-03
       N=5000, tim=6.390764e-04
       N=5000, tim=1.479613e-03
       N=5000, tim=6.366065e-04
*** Error code 11

Stop in /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/THREADED.
rm -f dcpsc.c dcpsc.o
cp ../CPSC/cpsc1_x1y1.c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -DDREAL -c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -o xdcpsc dcpsctime.o  ATL_dcpsc_stub.o
dcpsc.o  /
usr/ports/math/atlas/work/ATLAS/tune/sysinfo/THREADED/time.o -pthread -lm
/usr/ports/math/atlas/work/ATLAS/bin/THREADED/ATLrun.sh
/usr/ports/math/atlas/wo
rk/ATLAS/tune/blas/level1/THREADED xdcpsc -n 5000 -f res/dCPSC2_a2b2x1y1


CANNOT GET TIMINGS IN TOLERANCE, EXITING!!

       N=5000, tim=1.461467e-03
       N=5000, tim=6.381577e-04
       N=5000, tim=1.224159e-03
       N=5000, tim=6.395236e-04
       N=5000, tim=1.230837e-03
       N=5000, tim=6.435919e-04
       N=5000, tim=1.234953e-03
       N=5000, tim=6.384325e-04
       N=5000, tim=1.230522e-03
       N=5000, tim=6.370585e-04
       N=5000, tim=1.270397e-03
       N=5000, tim=6.340667e-04
       N=5000, tim=1.232787e-03
       N=5000, tim=6.387870e-04
*** Error code 11

Stop in /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/THREADED.
rm -f dcpsc.c dcpsc.o
cp ../CPSC/cpsc1_x1y1.c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -DDREAL -c dcpsc.c
/usr/bin/cc -DL2SIZE=1048576 -I/usr/ports/math/atlas/work/ATLAS/include
-I/usr/p
orts/math/atlas/work/ATLAS/include/THREADED
-I/usr/ports/math/atlas/work/ATLAS/
include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P5MMX
-DATL
_GAS_x8632 -DATL_NCPU=2  -D_THREAD_SAFE -fomit-frame-pointer -O3
-funroll-all-lo
ops  -pthread  -D_THREAD_SAFE -o xdcpsc dcpsctime.o  ATL_dcpsc_stub.o
dcpsc.o  /
usr/ports/math/atlas/work/ATLAS/tune/sysinfo/THREADED/time.o -pthread -lm
/usr/ports/math/atlas/work/ATLAS/bin/THREADED/ATLrun.sh
/usr/ports/math/atlas/wo
rk/ATLAS/tune/blas/level1/THREADED xdcpsc -n 5000 -f res/dCPSC2_a2b2x1y1
       N=5000, tim=1.210263e-03
       N=5000, tim=6.232146e-04
       N=5000, tim=1.214046e-03
       N=5000, tim=6.364813e-04
       N=5000, tim=1.228818e-03
    N=5000, time=1.217709e-03, mflop=4.106072
N=5000, incX=1, incY=1, mflop = 4.106072
NO GENERAL CASE SURVIVED!!  ABORTING!!
   ID  incX  incY  alpha  beta  ROUT
====  ====  ====  =====  ====  =============
    1     0     0     2     2  cpsc1_x0y0.c
    2     1     1     2     2  cpsc1_x1y1.c

   ID  incX  incY  alpha  beta  ROUT
====  ====  ====  =====  ====  =============
    1     0     0     2     2  cpsc1_x0y0.c
    2     1     1     2     2  cpsc1_x1y1.c

    incX  incY  alpha  beta    ID  ROUTINE
    ====  ====  =====  ====  ====  ==================
       0     0      2     2    -1  UNKNOWN
       1     1      2     2    -1  UNKNOWN

TIM: make dcpsccase N=5000 urout=cpsc1_x0y0.c fout="-f
res/dCPSC1_a2b2x1y1" opt=
""
TIM: make dcpsccase N=5000 urout=cpsc1_x0y0.c fout="-f
res/dCPSC1_a2b2x1y-2" opt
="-Y -2 "
TIM: make dcpsccase N=5000 urout=cpsc1_x1y1.c fout="-f
res/dCPSC2_a2b2x1y1" opt=
""
TIM: make dcpsccase N=5000 urout=cpsc1_x1y1.c fout="-f
res/dCPSC2_a2b2x1y1" opt=
""
*** Error code 255

Stop in /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/THREADED.
*** Error code 1

Stop in /usr/ports/math/atlas/work/ATLAS/src/blas/level1/THREADED.
*** Error code 1

Stop in /usr/ports/math/atlas/work/ATLAS/src/blas/level1/THREADED.
*** Error code 1

Stop in /usr/ports/math/atlas/work/ATLAS/src/blas/level1/THREADED.
*** Error code 1

Stop in /usr/ports/math/atlas/work/ATLAS/src/auxil/THREADED.
*** Error code 1

Stop in /usr/ports/math/atlas/work/ATLAS/bin/THREADED.
ERROR 396 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR
DETAILS.
cd ../.. ; make error_report arch=THREADED
make -f Make.top error_report arch=THREADED
uname -a 2>&1 >> bin/THREADED/INSTALL_LOG/ERROR.LOG
/usr/bin/cc -v 2>&1  >> bin/THREADED/INSTALL_LOG/ERROR.LOG
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
/usr/bin/cc -V 2>&1  >> bin/THREADED/INSTALL_LOG/ERROR.LOG
cc: argument to `-V' is missing
*** Error code 1 (ignored)
/usr/bin/cc --version 2>&1  >> bin/THREADED/INSTALL_LOG/ERROR.LOG
/usr/bin/tar cf error_THREADED.tar Make.THREADED
bin/THREADED/INSTALL_LOG/*
/usr/bin/gzip --best error_THREADED.tar
mv error_THREADED.tar.gz error_THREADED.tgz
Error report error_<ARCH>.tgz has been created in your top-level ATLAS
directory.  Be sure to include this file in any help request.


First, make sure this error is not covered in the ATLAS errata file,
    http://math-atlas.sourceforge.net/errata.html
All known errors, and most common mistakes/system problems are documented
in this file, so it will save everyone hassle in the long run if you take
the time to scope it out before sending e-mail to the help list.

If this does not have the solution to your problem, and you can't figure
out
what went wrong, submit a support request to the ATLAS support tracker, as
discussed here:
    http://math-atlas.sourceforge.net/faq.html#help

In the above examples, <ARCH> should be replaced with your architecture
string, such as "Linux_PIII" or "FreeBSD_21264".

*** Error code 255

Stop in /usr/ports/math/atlas/work/ATLAS.
*** Error code 1

Stop in /usr/ports/math/atlas/work/ATLAS.
*** Error code 1

Stop in /usr/ports/math/atlas.
*** Error code 1

Stop in /usr/ports/math/atlas.
===>  Cleaning for atlas-3.6.0,1
--->  Cleaning out obsolete shared libraries



-- 

rpvoland at facstaff.wisc.edu


More information about the freebsd-ports mailing list