powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations -Wall -c proctitle.c powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations -Wall -c pidfile.c powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations -Wall -c env.c powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations -Wall -c ftpdctl.c make[1]: Leaving directory `/var/tmp/portage/net-ftp/proftpd-1.3.1_rc2-r3/work/proftpd-1.3.1rc2/src' !!! ERROR: net-ftp/proftpd-1.3.1_rc2-r3 failed. Call stack: ebuild.sh, line 1637: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile proftpd-1.3.1_rc2-r3.ebuild, line 173: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-ftp/proftpd-1.3.1_rc2-r3/temp/build.log'. Reproducible: Always Steps to Reproduce: 1. emerge net-ftp/proftpd emerge --info Portage 2.1.3_rc5 (default-linux/ppc/2005.1/ppc/G4, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 ppc) ================================================================= System uname: 2.6.21-gentoo-r3 ppc 7447A, altivec supported Gentoo Base System release 1.12.10 Timestamp of tree: Thu, 28 Jun 2007 09:30:10 +0000 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.6, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="ftp://mirrors.ludost.net/gentoo/ http://ftp.romnet.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.gentoo.bg/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/r300-driver /usr/local/layman/xeffects /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aiglx alsa altivec asf audiofile bash-completion berkdb beryl bitmap-fonts browserplugin bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css cups dbus dga dhcp divx divx4linux dri dts dvb dvd dvdr dvdread eds emboss encode faac fbcon fbdev ffmpeg firefox flac fortran gdbm gif glitz gphoto2 gpm gstreamer gtk gtk2 iconv icq imlib ipv6 isdnlog ithreads java javacomm jpeg kde kdexdeltas kickoff libwww live mad matroska midi motif mozbranding mozdevelop mp3 mpeg mudflap musepack musicbrainz nas ncurses network nls nptl nptlonly nsplugin nsplugins nxclient offensive ogg oggvorbis opengl openmp openntpd oss pam parse-clocks pci pcre perl png ppc pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba session sheep softmmu spell spl ssl stream symlink tcpd truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wma wxwindows x264 xanim xml2 xorg xv xvid zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon ati" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Sorry, we don't support your C[XX]FLAGS. http://www.gentoo.org/doc/en/gcc-optimization.xml http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/build-environment/index.html INVALID.
i stripped my cflags to: CFLAGS="-O2 -pipe -mcpu=7450" and compilation went fine.