[MacPorts] #22378: Error when building Atlas

MacPorts noreply at macports.org
Wed Jan 13 12:28:40 PST 2010


#22378: Error when building Atlas
-----------------------------------------+----------------------------------
 Reporter:  handyman@…                   |       Owner:  jameskyle@…           
     Type:  defect                       |      Status:  new                   
 Priority:  Normal                       |   Milestone:                        
Component:  ports                        |     Version:  1.8.1                 
 Keywords:                               |        Port:  atlas                 
-----------------------------------------+----------------------------------

Comment(by khepler@…):

 Looks like I have the same problem, otherwise let me know.  My system
 seems to properly detect 32bit PPC G4, but I noticed these errors a ways
 back in the output:
 {{{
 [SNIP]

 /opt/local/bin/gcc-mp-4.3 -DL2SIZE=4194304
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/..//include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/..//include/contrib
 -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4
 -DATL_CPUMHZ=1666 -DATL_AltiVec -DATL_GAS_PPC -DWALL -O3 -maltivec
 -mabi=altivec -mcpu=7400 -mtune=7400 -no-cpp-precomp -faltivec -fPIC -m32
 -DATL_BETA=1 -c cmm_b1.c
 gcc-mp-4.3: unrecognized option '-no-cpp-precomp'
 cmm_b1.c: In function 'ATL_cJIK80x80x80TN80x80x0_a1_b1':
 cmm_b1.c:147: error: can't convert value to a vector
 cmm_b1.c:153: warning: use of 'long' in AltiVec types is deprecated; use
 'int'
 cmm_b1.c:153: error: can't convert between vector values of different size
 make[6]: *** [cBuildCobjs] Error 1
 make[5]: *** [cmmucase] Error 2
 make cmmucase mmrout=CASES/ATL_smm4x4x16_av.c csC=2
 casnam=res/cuser308_80x80x80 pre=c muladd=1 lat=0 M=80 N=80 K=80 mb=80
 nb=80 kb=80 mu=4 nu=4 ku=16 lda=80 ldb=80 ldc=0

 BEST USER CASE 307, NB=80: -1.00 MFLOP

 [SNIP]

 /opt/local/bin/gcc-mp-4.3 -DL2SIZE=4194304
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/..//include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/..//include/contrib
 -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4
 -DATL_CPUMHZ=1666 -DATL_AltiVec -DATL_GAS_PPC -DWALL -DATL_UCLEANM
 -DATL_UCLEANN -DATL_UCLEANK -O3 -maltivec -mabi=altivec -mcpu=7400
 -mtune=7400 -no-cpp-precomp -faltivec -fPIC -m32 -c ATL_cupMBmm0_1_0_b0.c
 gcc-mp-4.3: unrecognized option '-no-cpp-precomp'
 ATL_cupMBmm0_1_0_b0.c:82:1: warning: "ATL_AltiVec" redefined
 <command-line>: warning: this is the location of the previous definition
 ATL_cupMBmm0_1_0_b0.c: In function 'ATL_mmcu':
 ATL_cupMBmm0_1_0_b0.c:131: error: can't convert value to a vector
 ATL_cupMBmm0_1_0_b0.c: In function 'ATL_cupMBmm0_1_0_b0':
 ATL_cupMBmm0_1_0_b0.c:212: error: can't convert value to a vector
 ATL_cupMBmm0_1_0_b0.c:219: warning: use of 'long' in AltiVec types is
 deprecated; use 'int'
 ATL_cupMBmm0_1_0_b0.c:219: error: can't convert between vector values of
 different size
 make[7]: *** [ATL_cupMBmm0_1_0_b0.o] Error 1
 make[6]: *** [ccleanuplib] Error 2
 make[5]: *** [clib] Error 2
 make[4]: *** [cmmlib] Error 2
 make[3]: *** [res/atlas_csNKB.h] Error 2
 make[2]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build/tune/blas/gemm/res/atlas_csNKB.h]
 Error 2
 ERROR 664 DURING CACHE EDGE DETECTION!!.
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build
 ; make error_report
 make -f Make.top error_report
 uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
 /opt/local/bin/gcc-mp-4.3 -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
 Using built-in specs.
 Target: ppc-apple-darwin9
 Configured with: ../gcc-4.3.4/configure --prefix=/opt/local --build=ppc-
 apple-darwin9 --enable-languages=c,c++,objc,obj-c++,java,fortran
 --libdir=/opt/local/lib/gcc43 --includedir=/opt/local/include/gcc43
 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-
 local-prefix=/opt/local --with-system-zlib --disable-nls --program-
 suffix=-mp-4.3 --with-gxx-include-dir=/opt/local/include/gcc43/c++/
 --with-gmp=/opt/local --with-mpfr=/opt/local --disable-multilib
 Thread model: posix
 gcc version 4.3.4 (GCC)
 /opt/local/bin/gcc-mp-4.3 -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
 gcc-mp-4.3: '-V' option must have argument
 make[4]: [error_report] Error 1 (ignored)
 /opt/local/bin/gcc-mp-4.3 --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
 tar cf error_PPCG432AltiVec.tar Make.inc bin/INSTALL_LOG/*
 tar: bin/INSTALL_LOG/Stage1.log: file changed as we read it
 tar: bin/INSTALL_LOG/dMMSEARCH.LOG: file changed as we read it
 tar: bin/INSTALL_LOG/zMMSEARCH.LOG: file changed as we read it
 gzip --best error_PPCG432AltiVec.tar
 mv error_PPCG432AltiVec.tar.gz error_PPCG432AltiVec.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.
 cat: ../../CONFIG/error.txt: No such file or directory
 cat: ../../CONFIG/error.txt: No such file or directory

 [SNIP]
 }}}

 These blocks of errors repeat several times throughout the build process,
 but the build only halts once it reaches:

 {{{
    STAGE 2-4-2: CacheEdge DETECTION
 make -f Makefile INSTALL_LOG/atlas_csNKB.h pre=c 2>&1 | ./xatlas_tee
 INSTALL_LOG/cMMCACHEEDGE.LOG
 make[1]: *** [build] Error 255
 make: *** [build] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build"
 && /usr/bin/make build " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/atlas-3.8.3/build"
 && /usr/bin/make build " returned error 2
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for atlas):
 org.macports.build
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 ----
 PowerBook G4: 1.67GHz PPC 7450[[BR]]
 Mac OSX Leopard 10.5.8[[BR]]
 MacPorts 1.8.2[[BR]]
 atlas @3.8.3, Revision 1

-- 
Ticket URL: <http://trac.macports.org/ticket/22378#comment:47>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list