Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44671 - mjpegtool-1.6.2 compile fails on iBook G3 because it has no ativec-support
Summary: mjpegtool-1.6.2 compile fails on iBook G3 because it has no ativec-support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 06:48 UTC by Christoph Vogtländer
Modified: 2004-06-14 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Vogtländer 2004-03-14 06:48:44 UTC
When you try to compile mjpegtools it tries to enable altivec. Because the G3 has no altivec support compilation dies. The process outputs a lot of 
add_pred.c:175: error: can't convert between vector values of different size
and
add_pred.c:175: error: Cannot pass argument in vector register because altivec instructions are disabled, use -maltivec to enable them.

When adding myconf="${myconf} --disable-simd-accel" to the ebuild it runs fine (only with me, tough).

Reproducible: Always
Steps to Reproduce:
1. emerge mjpegtools

Actual Results:  
 

Expected Results:  
 

Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 
2.6.3_rc2-benh1) 
================================================================= 
System uname: 2.6.3_rc2-benh1 ppc 750FX 
Gentoo Base System version 1.4.3.13p1 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="ppc ~ppc" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -pipe -mcpu=750" 
CHOST="powerpc-unknown-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/lib/pbbuttonsd /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -pipe -mcpu=750" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache" 
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo 
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
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 aalib apache2 arts berkdb cdr crypt cups dvd encode esd fbcon 
foomaticdb gd gdbm gif gnome-libs gphoto2 gpm gtk gtk2 imlib java jpeg kde 
ldap libwww linguas_de lirc mitshm motif mpeg mysql nls oggvorbis opengl oss 
pam pda pdflib perl png ppc python qt readline samba sdl slang spell ssl tcltk 
tcpd tetex tiff truetype video_cards_radeon xmms xosd xv zlib"
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2004-06-14 14:20:18 UTC
I checked in a patch which should fix that. Use the following command to install the latest version of mjpegtools after doing a rsync:

ACCEPT_KEYWORDS="~ppc" emerge =mjpegtools-1.6.2-r2

If it does not work, please reopen this bug.