powerpc-unknown-linux-gnu-gcc -Wshadow -O3 -ffast-math -mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -Wall -I. -mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -maltivec -mabi=altivec -std=gnu99 -fPIC -fno-tree-vectorize -c -o common/ppc/mc.o common/ppc/mc.c common/ppc/mc.c: In function 'mc_chroma_altivec_8xh': common/ppc/mc.c:463: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts common/ppc/mc.c:463: error: incompatible types when assigning to type '__vector unsigned char' from type '__vector unsigned short' common/ppc/mc.c:464: error: incompatible types when assigning to type '__vector unsigned char' from type '__vector unsigned short' common/ppc/mc.c:501: error: incompatible types when assigning to type '__vector unsigned char' from type '__vector unsigned short' common/ppc/mc.c:502: error: incompatible types when assigning to type '__vector unsigned char' from type '__vector unsigned short' make: *** [common/ppc/mc.o] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always emerge --info Portage 2.2.0_alpha3 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.33-gentoo-r1-l0 ppc) ================================================================= System uname: Linux-2.6.33-gentoo-r1-l0-ppc-7447A,_altivec_supported-with-gentoo-2.0.1 Timestamp of tree: Tue, 02 Nov 2010 18:00:02 +0000 distcc 3.1 powerpc-unknown-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.5.4-r4, 2.6.6-r1, 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13::<unknown repository>, 2.68 sys-devel/automake: 1.6.3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.2.4-r1, 4.3.5, 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) Repositories: gentoo java-overlay kde-sunset local ACCEPT_KEYWORDS="ppc ~ppc" ACCEPT_LICENSE="* -@EULA IBM-J1.5 IBM-J1.6" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" DISTDIR="/in_n_outs/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ " LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="fr fr_FR" MAKEOPTS="-j2" PKGDIR="/in_n_outs/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/kde-sunset /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl alsa altivec apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope cups cxx dba dbus dri dts dvd dvdr emboss encode exif fam fbcon filter flac flash fortran gb gcj gd gdbm gif gnome gpm gtk gtk2 hal iconv ipv6 java jikes jpeg kde kdehiddenvisibility kpathsea lcms ldap libnotify mad mikmod mng modules mozdevelop mozsvg mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl openmp pam pango pcre pdf pdflib perl png povray ppc ppds pppd python qt qt3support qt4 readline samba sasl scanner sdl session speex spell ssl startup-notification svg sysfs tcpd tetex theora threads tiff tk truetype udev unicode usb vorbis wmf xcb xine xinerama xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="snd-aoa" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This should be fixed in an upcoming revision (within a few days). Here's the local commit info: commit 7f5771a13aec5a8a724e0d0c9d761f5a82e74af0 Author: Manuel Rommel <maaanuuu@gmx.net> Date: Sun Oct 31 19:19:10 2010 +0100 Fix compilation on PPC with some recent GCCs
Fix is now committed.
Please see bug 352073, it seems to be still broken with latest portage sync on PPC. I certainly don't see -flax-vector-conversion used when compiling.
*** Bug 352073 has been marked as a duplicate of this bug. ***
Bug 352073, Comment #2 by Andrew John Hughes seems to offer solution?
OK, here's a patch and an updated ebuild to fix this problem. Please test and let us know if it works for you.
Created attachment 260777 [details] ebuild
Created attachment 260778 [details, diff] files/x264-ppc-fixes.patch
(In reply to comment #5) > Bug 352073, Comment #2 by Andrew John Hughes seems to offer solution? Yup, that one also fixes the problem, new ebuild and patch included in attachments.
+ 26 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> + +files/x264-altivec.patch, x264-0.0.20101029.ebuild: + Fix compilation on PPC with some recent GCCs wrt bug 343893. Thanks to + Andrew John Hughes <gnu_andrew@member.fsf.org> for salvaging patch and + Alex Buell <alex.buell@munted.org.uk> for testing. +