On Sun, Apr 14, 2013 at 01:03:37PM +0200, Peter Dyballa wrote:
> 
> Am 14.04.2013 um 08:06 schrieb Sean Lake:
> 
> > Don't know if this helps, but here's the output from 
> > fink --update-all --verbose
> 
> I can see interesting errors I'm not always able to classify…
> 
> For example this one (around line #3320):
> 
>       gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC -DL2SIZE=4194304 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib 
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 
> -DATL_CPUMHZ=2300 -DATL_GAS_PPC -m32 -DATL_DYLIBS -DATL_FULL_LAPACK 
> -DATL_NCPU=2 -x assembler-with-cpp -DDREAL -c dset.c
>       dset.c:84:5: error: #error "This kernel requires a gas x86 assembler!"
>           #error "This kernel requires a gas x86 assembler!"
>            ^
>       dset.c:87:5: error: #error "This routine requires SSE1"
>           #error "This routine requires SSE1"
>            ^
>       make[8]: *** [dsettest] Error 1
>       make[8]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/level1'
> 
> On a PowerPC based Mac you don't have the intel/AMD SSE* features available, 
> you have AltiVec. This could mean that Atlas has become an intel app… The 
> option "-fomit-frame-pointer" seems to indicate this as well. This message on 
> line #16956 and #22815 say the same:
> 
>       Default compiler & flags do not support SSEGEN!! 
> 

The atlas build has a lot of noise in it as the design is to try many possible
compile options and pathways. Nothing can be done about that short of a complete
upstream redesign using automake/autoconf. Did you try appending -mcpu=7400 and
-mtune=7400 as I previously recommended?

> (The command 'sysctl machdep.cpu.features' will reveal which features an 
> intel Mac does support, for example SSE, SSE2, SSE3, and the more advanced 
> features of SSSE3, SSE4.1, and SSE4.2. Hopefully this satisfies the need for 
> SSE1…3 in other cases.)
> 
> Around line #3510:
> 
>       gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC -DL2SIZE=4194304 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib 
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 
> -DATL_CPUMHZ=2300 -DATL_GAS_PPC -m32 -DATL_DYLIBS -DATL_FULL_LAPACK 
> -DATL_NCPU=2 -fomit-frame-pointer -mfpmath=387 -O2 -DDREAL -c dnrm2.c
>       gcc-fsf-4.8: error: unrecognized command line option '-mfpmath=387'
>       make[8]: *** [dnrm2test] Error 1
>       make[8]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/level1'
> 
> 
> Again it wants very old intel hardware. Around line #3610:
> 
>       gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC -DL2SIZE=4194304 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib 
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 
> -DATL_CPUMHZ=2300 -DATL_GAS_PPC -m32 -DATL_DYLIBS -DATL_FULL_LAPACK 
> -DATL_NCPU=2 -x assembler-with-cpp -DDREAL -c dnrm2.c
>       dnrm2.c:3:5: error: #error "This kernel requires x86 gas 32 or 64 bit 
> x86 assembler!"
>           #error "This kernel requires x86 gas 32 or 64 bit x86 assembler!"
>            ^
>       make[8]: *** [dnrm2test] Error 1
>       make[8]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/level1'
> 
> Around line #3900:
> 
>       gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC -DL2SIZE=4194304 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib 
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 
> -DATL_CPUMHZ=2300 -DATL_GAS_PPC -m32 -DATL_DYLIBS -DATL_FULL_LAPACK 
> -DATL_NCPU=2 -x assembler-with-cpp -DDREAL -c dasum.c
>       dasum.c:179:5: error: #error "This kernel requires SSE2"
>           #error "This kernel requires SSE2"
>            ^
>       dasum.c:188:5: error: #error "This kernel requires a gas x86 assembler!"
>           #error "This kernel requires a gas x86 assembler!"
>            ^
>       make[8]: *** [dasumtest] Error 1
>       make[8]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/level1'
> 
> Around line #5050:
> 
>       gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC -DL2SIZE=4194304 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib 
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 
> -DATL_CPUMHZ=2300 -DATL_GAS_PPC -m32 -DATL_DYLIBS -DATL_FULL_LAPACK 
> -DATL_NCPU=2 -x assembler-with-cpp -DDREAL -c dcopy.c
>       dcopy.c:9:5: error: #error "This kernel requires a gas x86 assembler!"
>           #error "This kernel requires a gas x86 assembler!"
>            ^
>       make[8]: *** [dcopytest] Error 1
>       make[8]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/level1'
> 
> Around line #5450:
> 
>       gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC -DL2SIZE=4194304 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib 
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 
> -DATL_CPUMHZ=2300 -DATL_GAS_PPC -m32 -DATL_DYLIBS -DATL_FULL_LAPACK 
> -DATL_NCPU=2 -x assembler-with-cpp -DDREAL -c daxpy.c
>       daxpy.c:4:5: error: #error "This kernel requires SSE2"
>           #error "This kernel requires SSE2"
>            ^
>       daxpy.c:20:5: error: #error "This kernel requires x86 assembly!"
>           #error "This kernel requires x86 assembly!"
>            ^
>       make[8]: *** [daxpytest] Error 1
>       make[8]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/level1'
> 
> And so on. Around line #12550 something new:
> 
>       gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC -DL2SIZE=4194304 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include 
> -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib 
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_PPCG4 
> -DATL_CPUMHZ=2300 -DATL_GAS_PPC -m32 -DATL_DYLIBS -DATL_FULL_LAPACK 
> -DATL_NCPU=2 -x assembler-with-cpp -DDCPLX -c zaxpy.c
>       zaxpy.c:33:5: error: #error "This kernel requires AVX"
>           #error "This kernel requires AVX"
>            ^
>       zaxpy.c:63:5: error: #error "This routine requires x86 assembly!"
>           #error "This routine requires x86 assembly!"
>            ^
>       make[8]: *** [zaxpytest] Error 1
>       make[8]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/level1'
> 
> Advanced Vector Extensions are again an intel/AMD thing. It is supported 
> since Snow Leopard, Mac OS X 10.6.8.
> 
> Around line #16750 something new and strange:
> 
>       /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/bin/xsubstr -o ATL_tMpFiLe 
> -i 
> /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//tune/blas/gemm/CASES/scases.flg
>  \
>                  -s '^gcc' 'gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 
> -maltivec -mabi=altivec -force_cpusubtype_ALL -m32 -fPIC' -s ' gcc' ' 
> gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -maltivec -mabi=altivec 
> -force_cpusubtype_ALL -m32 -fPIC'
>       ./xuserflag -i ATL_tMpFiLe -o scases.flg
>       gcc-fsf-4.8: error: unrecognized argument in option '-mcpu=ultrasparc'
>       gcc-fsf-4.8: note: valid arguments to '-mcpu=' are: 401 403 405 405fp 
> 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 
> 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc 
> e500mc64 e5500 e6500 ec603e native power3 power4 power5 power5+ power6 
> power6x power7 power8 powerpc powerpc64 rs64 titan
>       gcc-fsf-4.8: error: unrecognized argument in option '-mtune=ultrasparc'
>       gcc-fsf-4.8: note: valid arguments to '-mtune=' are: 401 403 405 405fp 
> 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 
> 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc 
> e500mc64 e5500 e6500 ec603e native power3 power4 power5 power5+ power6 
> power6x power7 power8 powerpc powerpc64 rs64 titan
>       gcc-fsf-4.8: error: unrecognized argument in option '-mcpu=ultrasparc'
>       gcc-fsf-4.8: note: valid arguments to '-mcpu=' are: 401 403 405 405fp 
> 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 
> 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc 
> e500mc64 e5500 e6500 ec603e native power3 power4 power5 power5+ power6 
> power6x power7 power8 powerpc powerpc64 rs64 titan
>       gcc-fsf-4.8: error: unrecognized argument in option '-mcpu=ultrasparc'
>       gcc-fsf-4.8: note: valid arguments to '-mcpu=' are: 401 403 405 405fp 
> 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 
> 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc 
> e500mc64 e5500 e6500 ec603e native power3 power4 power5 power5+ power6 
> power6x power7 power8 powerpc powerpc64 rs64 titan
>       gcc-fsf-4.8: error: unrecognized argument in option '-mcpu=ultrasparc'
>       gcc-fsf-4.8: note: valid arguments to '-mcpu=' are: 401 403 405 405fp 
> 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 
> 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc 
> e500mc64 e5500 e6500 ec603e native power3 power4 power5 power5+ power6 
> power6x power7 power8 powerpc powerpc64 rs64 titan
>       gcc-fsf-4.8: error: unrecognized command line option '-mips4'
>       gcc-fsf-4.8: error: unrecognized argument in option '-mfpu=vfpv3'
>       gcc-fsf-4.8: note: valid arguments to '-mfpu=' are: dp_full dp_lite 
> none sp_full sp_lite
>       gcc-fsf-4.8: error: unrecognized argument in option '-mfpu=vfpv3'
>       gcc-fsf-4.8: note: valid arguments to '-mfpu=' are: dp_full dp_lite 
> none sp_full sp_lite
>       gcc-fsf-4.8: error: unrecognized argument in option '-mfpu=neon'
>       gcc-fsf-4.8: note: valid arguments to '-mfpu=' are: dp_full dp_lite 
> none sp_full sp_lite
>       gcc-fsf-4.8: error: unrecognized command line option '-march=armv7'
> 
> This looks as if the make system is not taking care of the hardware it is 
> compiling on or the target architecture it is compiling for. UltraSPARC, 
> MIPS, ARM are not Mac-ish.
> 
> 
> If all this hasn't been fatal yet, which seems to explain why the build 
> process continues, it happens now when the built software is tested, around 
> line #25211:
> 
>       /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/bin/ATLrun.sh: line 4:  
> 3607 Segmentation fault      $atldir/$*
>       make[4]: *** [smvnktime] Error 139
>       make[4]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/gemv'
> 
> And around line #25550:
> 
>       BEGIN MU EXTRACT SEARCH, imf=4
>          NU=8, MU=16, mflop[4]=4127.74
>       make[3]: *** [res/sMVNK.sum] Error 255
>       make[3]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/gemv'
>       make[2]: *** 
> [/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/gemv/res/sMVNK.sum] 
> Error 2
>       make[2]: Leaving directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/bin'
>       ERROR 916 DURING MVNTUNE!!.  CHECK INSTALL_LOG/sMVNTUNE.LOG FOR DETAILS.
>       make[2]: Entering directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/bin'
>       cd /sw/src/fink.build/atlas-3.10.1-1/darwin_bld ; make error_report
>       make[3]: Entering directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld'
>       make -f Make.top error_report
>       make[4]: Entering directory 
> `/sw/src/fink.build/atlas-3.10.1-1/darwin_bld'
>       uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
>       /sw/src/fink.build/atlas-3.10.1-1/gcc -v 2>&1  >> 
> bin/INSTALL_LOG/ERROR.LOG
> 
> 
> This software won't work on PowerPC hardware. At least not without 
> changes/patches. (I just searched for the string "rror", because it can be 
> "Error" or "error", followed by ":" or a SPACE character.)
> 
> --
> Greetings
> 
> Pete
> 
> Atheism is a non prophet organisation.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to