I saw 56842 but this seems to be a different bug affecting the same software. Compile breaks with "parse error" in file ATL_dupKBmm_b0.c Hardware: NewWorld Apple PowerBook G4 (Titanium II) # cat /proc/cpuinfo processor : 0 cpu : 7450, altivec supported clock : 667MHz revision : 2.1 (pvr 8000 0201) bogomips : 663.55 machine : PowerBook3,3 motherboard : PowerBook3,3 MacRISC2 MacRISC Power Macintosh detected as : 72 (PowerBook Titanium II) pmac flags : 0000000b L2 cache : 256K unified memory : 1024MB pmac-generation : NewWorld OS: Gentoo Linux (base install from PPC LiveCD 2004.1) Looking at file named in error shows: ... 20 void ATL_dpKBmm_b0 21 (const int M, const int N, const int K, const double alpha, 22 const double *A, const int lda, const double *B, const int ldb, 23 const double beta, double *C, const int ldc) 24 { 25 26 else 27 { 28 ATL_dupKBmm1_1_1_b0(M, N, K, alpha, A, lda, B, ldb, beta, C, ldc); 29 } 30 else if (K == (((((K) >> 1)) << 1))) 31 { 32 ATL_dupKBmm0_2_0_b0(M, N, K, alpha, A, lda, B, ldb, beta, C, ldc); 33 } 34 } I have some familiarity with c coding and this looks like a syntax error in the usage of an if/else construct, but I'm not absolutely certain about that. Reproducible: Always Steps to Reproduce: 1. emerge blas-atlas 2. 3. Actual Results: make[6]: Entering directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/blas/gemm/Linux_UNKNOWNAltiVec' cd /var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/auxil/Linux_UNKNOWNAltiVec ; make lib make[7]: Entering directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/auxil/Linux_UNKNOWNAltiVec' make[7]: Nothing to be done for `lib'. make[7]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/auxil/Linux_UNKNOWNAltiVec' cd KERNEL ; make -f dMakefile dlib MCC="libtool --mode=compile --tag=CC /usr/lib/ccache/bin/gcc" make[7]: Entering directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/blas/gemm/Linux_UNKNOWNAltiVec/KERNEL' libtool --mode=compile --tag=CC /usr/lib/ccache/bin/gcc -DL2SIZE=4194304 -I/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/include -I/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/include/Linux_UNKNOWNAltiVec -I/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_Linux -DATL_AltiVec -DATL_AVgcc -DATL_GAS_LINUX_PPC -DATL_UCLEANM -DATL_UCLEANN -DATL_UCLEANK -c -fomit-frame-pointer -O -maltivec -mabi=altivec ATL_dupKBmm_b0.c /usr/lib/ccache/bin/gcc -DL2SIZE=4194304 -I/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/include -I/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/include/Linux_UNKNOWNAltiVec -I/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_Linux -DATL_AltiVec -DATL_AVgcc -DATL_GAS_LINUX_PPC -DATL_UCLEANM -DATL_UCLEANN -DATL_UCLEANK -c -fomit-frame-pointer -O -maltivec -mabi=altivec ATL_dupKBmm_b0.c -fPIC -DPIC -o .libs/ATL_dupKBmm_b0.o ATL_dupKBmm_b0.c: In function `ATL_dpKBmm_b0': ATL_dupKBmm_b0.c:26: error: parse error before "else" make[7]: *** [ATL_dupKBmm_b0.o] Error 1 make[7]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/blas/gemm/Linux_UNKNOWNAltiVec/KERNEL' make[6]: *** [dcleanuplib] Error 2 make[6]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/blas/gemm/Linux_UNKNOWNAltiVec' make[5]: *** [dlib] Error 2 make[5]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/src/blas/gemm/Linux_UNKNOWNAltiVec' make[4]: *** [dmmlib] Error 2 make[4]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/tune/blas/gemm/Linux_UNKNOWNAltiVec' make[3]: *** [res/atlas_cacheedge.h] Error 2 make[3]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/tune/blas/gemm/Linux_UNKNOWNAltiVec' make[2]: *** [/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/tune/blas/gemm/Linux_UNKNOWNAltiVec/res/atlas_cachedge.h] Error 2 make[2]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/bin/Linux_UNKNOWNAltiVec' ERROR 572 DURING CACHE EDGE DETECTION!!.make[2]: Entering directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/bin/Linux_UNKNOWNAltiVec' cd ../.. ; make error_report arch=Linux_UNKNOWNAltiVec make[3]: Entering directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS' make -f Make.top error_report arch=Linux_UNKNOWNAltiVec make[4]: Entering directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS' uname -a 2>&1 >> bin/Linux_UNKNOWNAltiVec/INSTALL_LOG/ERROR.LOG /usr/lib/ccache/bin/gcc -v 2>&1 >> bin/Linux_UNKNOWNAltiVec/INSTALL_LOG/ERROR.LOG Reading specs from /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/specs Configured with: /var/tmp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/configure --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/3.4/info --enable-shared --host=powerpc-unknown-linux-gnu --target=powerpc-unknown-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/include/g++-v3 --with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r3, ssp-3.4-2, pie-8.7.6.5) /usr/lib/ccache/bin/gcc -V 2>&1 >> bin/Linux_UNKNOWNAltiVec/INSTALL_LOG/ERROR.LOG gcc: `-V' option must have argument make[4]: [error_report] Error 1 (ignored) /usr/lib/ccache/bin/gcc --version 2>&1 >> bin/Linux_UNKNOWNAltiVec/INSTALL_LOG/ERROR.LOG /bin/tar cf error_Linux_UNKNOWNAltiVec.tar Make.Linux_UNKNOWNAltiVec bin/Linux_UNKNOWNAltiVec/INSTALL_LOG/* /bin/gzip --best error_Linux_UNKNOWNAltiVec.tar mv error_Linux_UNKNOWNAltiVec.tar.gz error_Linux_UNKNOWNAltiVec.tgz make[4]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS' make[3]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS' make[2]: Leaving directory `/var/tmp/portage/blas-atlas-3.6.0/work/ATLAS/bin/Linux_UNKNOWNAltiVec' Error report error_<ARCH>.tgz has been created in your top-level ATLAS directory. Be sure to include this file in any help request. Expected Results: Successful emerge Portage 2.0.51-r3 (default-ppc-2004.1, gcc-3.4.3, glibc-2.3.3.20040420-r2, 2.6.9-gentoo-r1kf ppc) ================================================================= System uname: 2.6.9-gentoo-r1kf ppc 7450, altivec supported Gentoo Base System version 1.4.16 distcc 2.17 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=powerpc" CHOST="powerpc-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=powerpc" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.mirrored.ca/ http://mirror.datapipe.net/gentoo http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl alsa altivec apache2 apm arts artworkextra audiofile bash-completion bcmath berkdb bidi blas bonobo bzlib calendar caps cdb cdparanoia cpdflib crypt cscope ctype cups curl curlwrappers dba dbase dbm dbx dga dio directfb divx4linux dlloader doc dvb dvd dvdread edl emacs emoticon empress empress-bcs encode esd ethereal evo exif f2c f77 fam fastcgi fbcon fftw flac flash flatfile foomatic fortran fpx freetds frontbase ftp gatos gb gd gdbm ggi gif ginac gmp gnome gnome-libs gnustep gnutls gphoto2 gpm graphviz gsnd gstreamer gtk gtk2 gtkhtml guile hardened hardenedphp hyperwave-api iconv idea imagemagick imap imlib inifile innodb interbase iodbc ipv6 jabber jack java jbig jikes jpeg junit kde kerberos krb4 ladcca lapack lcms ldap leim libcaca libgda libwww lirc live lzo m17n-lib mad maildir mailwrapper matroska mbox mcal mcve memlimit mhash mikmod milter mime ming mng motif mozilla mpeg mpi msession mssql mysql mythtv nas ncurses network nis nls nntp objc oci8 odbc offensive ofx oggvorbis openal opengl oracle7 oss ovrimos pam pam-mysql pcmcia pcntl pcre pda pdflib perl php pic pie plotutils png pnp portaudio posix ppc ppds prelude profile python qdbm qt quicktime readline recode rtc ruby samba sapdb sasl scanner sdl session shared sharedmem simplexml slang slp sndfile snmp soap sockets socks5 speex spell spl sqlite ssl svg sysvipc szip tcltk tcpd tetex tga theora tidy tiff tokenizer truetype trusted uim unicode usb v4l v4l2 vda vhosts wddx wmf wxwindows xanim xface xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xscreensaver xsl xv xvid yaz zeo zlib video_cards_radeon"
I also posted this to the sourceforge bugzilla. See http://sourceforge.net/tracker/?func=browse&group_id=23725&atid=379483 1070635 has the error .tgz file created by the software.
I notice the tracker bug on SF.net is closed. Is this bug still an issue? Shouldn't your "CHOST" ("powerpc-unknown-linux-gnu") be set to something else?
Closing bug, for lack for feedback.