Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43901 - avidemux 2.0.18 and 2.0.22 failed to compile on pentium3
Summary: avidemux 2.0.18 and 2.0.22 failed to compile on pentium3
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-06 11:27 UTC by Kevin Mescher
Modified: 2005-05-31 17:47 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 Kevin Mescher 2004-03-06 11:27:06 UTC
When compiling avidemux 2.0.18 and 2.0.22, the compile failed when compiling msmpeg4.c in adm_lavcodec.  This is on a pentium3.  I had no problems on a pentium4.

I can't paste the compile output directly, so I'll type the offending line in:

gcc  -O3 -g -Wall -O2 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -I/usr/include/malloc -c -o msmpeg4.o msmpeg4.c
msmpeg4.c: In function 'msmpeg4_pred_dc':
msmpeg4.c:735: error can't find a register in class 'BREG' while reloading 'asm'

There are a few warnings about unused variables as well.

It can be sucessfully compiled if I add "-fPIC -DPIC" to the compiler flags, but was unable to patch the ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-03-21 14:00:34 UTC
please paste
#emerge info
Comment 2 Marc Hildebrand (RETIRED) gentoo-dev 2004-06-06 22:29:11 UTC
Hello, is the problem still there?
This bug is a bit old, I never had problems compiling on p3 and a new version of avidemux is out.
So I close this bug. Feel free to reopen if the problem still exists.
Comment 3 Dan Goodliffe 2005-05-31 17:47:22 UTC
I still have this issue with avidemux 2.0.24. Bug 75563 suggests it's an issue
with the hardened toolchain, which could well be true for me as I am using it.
I can try it unhardened in a few days... time does not allow right now... see if
it does "fix" it. 75563 lists fixes that supposably fix libavcodec in xine-lib,
I don't know how closely they match this problem. Strangely, many have reported
this problem with MythTV, yet I have MythTV installed and working happy.

emerge info:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 17:48:57)]
distcc 2.16 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -fomit-frame-pointer -march=athlon-xp"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -fomit-frame-pointer -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa apache2 apm avi bash-completion berkdb
bitmap-fonts bzlib cdparanoia cdr crypt cscope ctype dga directfb dvb dvd dvdr
dvdread encode exif fam fastcgi freetype gdbm gif hardened hardenedphp imap
imlib innodb jpeg ldap libg++ libwww lm_sensors mad maildir mjpeg mp3 mpeg mysql
ncurses nocardbus nocd nptl ntpl opengl oss pam pcre pdflib perl php png python
qt readline samba sharedext sharedmem soap sockets spekk spell sqlite ssl
symlink tcpd tidy tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xsl
xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS