ports/98519: math/atlas doesn't compile
Josef Karthauser
joe at tao.org.uk
Mon Jun 5 07:20:13 UTC 2006
>Number: 98519
>Category: ports
>Synopsis: math/atlas doesn't compile
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 05 07:20:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Josef Karthauser
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD genius.tao.org.uk 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #36: Sun Apr 23 21:04:59 BST 2006 joe at genius.tao.org.uk:/usr/obj/usr/src/sys/GENIUS2 i386
>Description:
The port dies during compilation.
>How-To-Repeat:
Just run 'make' in the port directory.
I eventually get this:
TIM: make ddotcase N=5000 urout=dot1_x0y0.c fout="-f res/dDOT1_a2b2x1y1" opt=""
TIM: make ddotcase N=5000 urout=dot1_x0y0.c fout="-f res/dDOT1_a2b2x1y-2" opt="-Y -2 "
TIM: make ddotcase N=5000 urout=dot1_x0y0.c fout="-f res/dDOT1_a2b2x-3y1" opt="-X -3 "
TIM: make ddotcase N=5000 urout=dot1_x0y0.c fout="-f res/dDOT1_a2b2x-3y-2" opt="-X -3 -Y -2 "
TIM: make ddotcase N=5000 urout=dot1_x1y1.c fout="-f res/dDOT2_a2b2x1y1" opt=""
TIM: make ddotcase N=5000 urout=dot8p8_x1y1.c fout="-f res/dDOT3_a2b2x1y1" opt=""
TIM: make ddotcase N=5000 urout=dot4p80_x1y1.c fout="-f res/dDOT4_a2b2x1y1" opt=""
984:
incX incY alpha beta ID ROUTINE
==== ==== ===== ==== ==== ==================
0 0 2 2 1 dot1_x0y0.c
987:
incX incY alpha beta ID ROUTINE
==== ==== ===== ==== ==== ==================
0 0 2 2 1 dot1_x0y0.c
ID incX incY alpha beta ROUT
==== ==== ==== ===== ==== =============
1 0 0 2 2 dot1_x0y0.c
2 1 1 2 2 dot1_x1y1.c
3 1 1 2 2 dot8p8_x1y1.c
4 1 1 2 2 dot4p80_x1y1.c
1007:
incX incY alpha beta ID ROUTINE
==== ==== ===== ==== ==== ==================
0 0 2 2 1 dot1_x0y0.c
cp -f GEN/* /usr/ports/math/atlas/work/ATLAS/src/blas/level1/NON_THREADED_PIC/.
make -f Make_ddot lib
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -DDREAL -o ATL_ddot.o -c ATL_ddot.c
/usr/bin/cc -fomit-frame-pointer -O3 -funroll-all-loops -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -DDREAL -o ATL_ddot_xp0yp0aXbX.o -c ATL_ddot_xp0yp0aXbX.c
ar r /usr/ports/math/atlas/work/ATLAS/lib/NON_THREADED_PIC/libatlas.a ATL_ddot.o ATL_ddot_xp0yp0aXbX.o
echo /usr/ports/math/atlas/work/ATLAS/lib/NON_THREADED_PIC/libatlas.a
/usr/ports/math/atlas/work/ATLAS/lib/NON_THREADED_PIC/libatlas.a
touch ddot.grd
make Make_dswap
cd /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC ; make dinstall_swap
rm -f sswap.dsc
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/xsubstr -i ../SWAP/scases.dsc -o sswap.dsc -s '^gcc' cc -s ' gcc' ' cc'
rm -f dswap.dsc
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/xsubstr -i ../SWAP/dcases.dsc -o dswap.dsc -s '^gcc' cc -s ' gcc' ' cc'
rm -f cswap.dsc
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/xsubstr -i ../SWAP/ccases.dsc -o cswap.dsc -s '^gcc' cc -s ' gcc' ' cc'
rm -f zswap.dsc
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/xsubstr -i ../SWAP/zcases.dsc -o zswap.dsc -s '^gcc' cc -s ' gcc' ' cc'
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o swapsrch.o -c ../swapsrch.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o xswapsrch swapsrch.o
rm -f GEN/*
./xswapsrch -p d
TST: make dswaptest urout=swap1_x0y0.c opt=" -X 4 1 -1 2 -3 -Y 4 1 -1 3 -2"
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o dswaptest.o -c -DDREAL ../swaptest.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -DDREAL -c -o ATL_dswap_stub.o ../SWAP/swap_stub.c
rm -f dswap.c dswap.o
cp ../SWAP/swap1_x0y0.c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -DDREAL -c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o xdswaptst dswaptest.o ATL_dswap_stub.o dswap.o /usr/ports/math/atlas/work/ATLAS/lib/NON_THREADED_PIC/libtstatlas.a -lm
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/ATLrun.sh /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC xdswaptst -n 777 -X 4 1 -1 2 -3 -Y 4 1 -1 3 -2
ITST N incX incY TEST
====== ======== ==== ==== ======
0 777 1 1 PASSED
1 777 1 -1 PASSED
2 777 1 3 PASSED
3 777 1 -2 PASSED
4 777 -1 1 PASSED
5 777 -1 -1 PASSED
6 777 -1 3 PASSED
7 777 -1 -2 PASSED
8 777 2 1 PASSED
9 777 2 -1 PASSED
10 777 2 3 PASSED
11 777 2 -2 PASSED
12 777 -3 1 PASSED
13 777 -3 -1 PASSED
14 777 -3 3 PASSED
15 777 -3 -2 PASSED
ALL SWAP SANITY TESTS PASSED.
TST: make dswaptest urout=swap4_x0y0.c opt=" -X 4 1 -1 2 -3 -Y 4 1 -1 3 -2"
rm -f dswap.c dswap.o
cp ../SWAP/swap4_x0y0.c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -DDREAL -c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o xdswaptst dswaptest.o ATL_dswap_stub.o dswap.o /usr/ports/math/atlas/work/ATLAS/lib/NON_THREADED_PIC/libtstatlas.a -lm
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/ATLrun.sh /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC xdswaptst -n 777 -X 4 1 -1 2 -3 -Y 4 1 -1 3 -2
ITST N incX incY TEST
====== ======== ==== ==== ======
0 777 1 1 PASSED
1 777 1 -1 PASSED
2 777 1 3 PASSED
3 777 1 -2 PASSED
4 777 -1 1 PASSED
5 777 -1 -1 PASSED
6 777 -1 3 PASSED
7 777 -1 -2 PASSED
8 777 2 1 PASSED
9 777 2 -1 PASSED
10 777 2 3 PASSED
11 777 2 -2 PASSED
12 777 -3 1 PASSED
13 777 -3 -1 PASSED
14 777 -3 3 PASSED
15 777 -3 -2 PASSED
ALL SWAP SANITY TESTS PASSED.
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o dswaptime.o -c -DDREAL ../swaptime.c
rm -f dswap.c dswap.o
cp ../SWAP/swap1_x0y0.c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -DDREAL -c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o xdswap dswaptime.o ATL_dswap_stub.o dswap.o /usr/ports/math/atlas/work/ATLAS/tune/sysinfo/NON_THREADED_PIC/time.o -lm
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/ATLrun.sh /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC xdswap -n 5000 -f res/dSWAP1_a2b2x1y1
N=5000, tim=2.252789e-04
N=5000, tim=1.990339e-04
N=5000, tim=2.008871e-04
N=5000, tim=2.014548e-04
N=5000, time=2.004586e-04, mflop=24.942810
N=5000, incX=1, incY=1, mflop = 24.942810
rm -f dswap.c dswap.o
cp ../SWAP/swap1_x0y0.c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -DDREAL -c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o xdswap dswaptime.o ATL_dswap_stub.o dswap.o /usr/ports/math/atlas/work/ATLAS/tune/sysinfo/NON_THREADED_PIC/time.o -lm
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/ATLrun.sh /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC xdswap -n 5000 -f res/dSWAP1_a2b2x1y-2 -Y -2
CANNOT GET TIMINGS IN TOLERANCE, EXITING!!
N=5000, tim=3.028135e-04
N=5000, tim=2.532640e-04
N=5000, tim=2.530385e-04
N=5000, tim=2.824137e-04
N=5000, tim=3.036578e-04
N=5000, tim=3.477904e-04
N=5000, tim=3.779901e-04
N=5000, tim=3.045496e-04
N=5000, tim=3.040337e-04
N=5000, tim=2.531011e-04
*** Error code 11
Stop in /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC.
rm -f dswap.c dswap.o
cp ../SWAP/swap4_x0y0.c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -DDREAL -c dswap.c
/usr/bin/cc -DL2SIZE=4194304 -I/usr/ports/math/atlas/work/ATLAS/include -I/usr/ports/math/atlas/work/ATLAS/include/NON_THREADED_PIC -I/usr/ports/math/atlas/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_FreeBSD -DATL_ARCH_P4 -DATL_SSE2 -DATL_SSE1 -DATL_GAS_x8632 -fpic -DPIC -fomit-frame-pointer -O3 -funroll-all-loops -o xdswap dswaptime.o ATL_dswap_stub.o dswap.o /usr/ports/math/atlas/work/ATLAS/tune/sysinfo/NON_THREADED_PIC/time.o -lm
/usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC/ATLrun.sh /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC xdswap -n 5000 -f res/dSWAP2_a2b2x1y1
CANNOT GET TIMINGS IN TOLERANCE, EXITING!!
N=5000, tim=1.688261e-04
N=5000, tim=1.685395e-04
N=5000, tim=2.000715e-04
N=5000, tim=2.020353e-04
N=5000, tim=2.017863e-04
N=5000, tim=2.016101e-04
N=5000, tim=2.022761e-04
N=5000, tim=2.019777e-04
N=5000, tim=2.411009e-04
N=5000, tim=2.524631e-04
*** Error code 11
Stop in /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC.
NO GENERAL CASE SURVIVED!! ABORTING!!
ID incX incY alpha beta ROUT
==== ==== ==== ===== ==== =============
1 0 0 2 2 swap1_x0y0.c
2 0 0 2 2 swap4_x0y0.c
ID incX incY alpha beta ROUT
==== ==== ==== ===== ==== =============
1 0 0 2 2 swap1_x0y0.c
2 0 0 2 2 swap4_x0y0.c
incX incY alpha beta ID ROUTINE
==== ==== ===== ==== ==== ==================
0 0 2 2 -1 UNKNOWN
TIM: make dswapcase N=5000 urout=swap1_x0y0.c fout="-f res/dSWAP1_a2b2x1y1" opt=""
TIM: make dswapcase N=5000 urout=swap1_x0y0.c fout="-f res/dSWAP1_a2b2x1y-2" opt="-Y -2 "
TIM: make dswapcase N=5000 urout=swap4_x0y0.c fout="-f res/dSWAP2_a2b2x1y1" opt=""
*** Error code 255
Stop in /usr/ports/math/atlas/work/ATLAS/tune/blas/level1/NON_THREADED_PIC.
*** Error code 1
Stop in /usr/ports/math/atlas/work/ATLAS/src/blas/level1/NON_THREADED_PIC.
*** Error code 1
Stop in /usr/ports/math/atlas/work/ATLAS/src/blas/level1/NON_THREADED_PIC.
*** Error code 1
Stop in /usr/ports/math/atlas/work/ATLAS/src/blas/level1/NON_THREADED_PIC.
*** Error code 1
Stop in /usr/ports/math/atlas/work/ATLAS/src/auxil/NON_THREADED_PIC.
*** Error code 1
Stop in /usr/ports/math/atlas/work/ATLAS/bin/NON_THREADED_PIC.
ERROR 396 DURING CACHESIZE SEARCH!!. CHECK INSTALL_LOG/Stage1.log FOR DETAILS.
cd ../.. ; make error_report arch=NON_THREADED_PIC
make -f Make.top error_report arch=NON_THREADED_PIC
uname -a 2>&1 >> bin/NON_THREADED_PIC/INSTALL_LOG/ERROR.LOG
/usr/bin/cc -v 2>&1 >> bin/NON_THREADED_PIC/INSTALL_LOG/ERROR.LOG
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518
/usr/bin/cc -V 2>&1 >> bin/NON_THREADED_PIC/INSTALL_LOG/ERROR.LOG
cc: `-V' option must have argument
*** Error code 1 (ignored)
/usr/bin/cc --version 2>&1 >> bin/NON_THREADED_PIC/INSTALL_LOG/ERROR.LOG
/usr/bin/tar cf error_NON_THREADED_PIC.tar Make.NON_THREADED_PIC bin/NON_THREADED_PIC/INSTALL_LOG/*
/usr/bin/gzip --best error_NON_THREADED_PIC.tar
mv error_NON_THREADED_PIC.tar.gz error_NON_THREADED_PIC.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.
>Fix:
No known fix.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list