View previous topic :: View next topic |
Author |
Message |
sparks Guru


Joined: 05 Mar 2003 Posts: 331 Location: Nashville, TN
|
Posted: Thu Jan 22, 2004 3:10 pm Post subject: troubles with transcode 0.6.12 |
|
|
I am having troubles emerging the latest transcode here is the error message:
Code: | 386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:610: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
i386/dsputil_mmx.c: At top level:
i386/dsputil_mmx_rnd.h:362: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:409: warning: `avg_no_rnd_pixels16_l2_mmx' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_mmx2' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_mmx2' defined but not used
make[4]: *** [dsputil_mmx.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2
!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)
|
It looks like it has something to do with mmx? I know there were problems with earlier versions of transcode that were fixed by adding the mmx USE flag, but I do have the mmx USE flag set. Here is my emerge --info
Code: |
emerge --info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -ffast-math -fforce-addr"
CHOST="i686-pc-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/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -ffast-math -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png pnp ppds python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcpd threads tiff truetype usb x86 xml2 xmms xv zlib"
|
I'm not really sure what the problem is, it's not imperative that I upgrade to 0.6.12 but it would be nice  _________________ True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war. |
|
Back to top |
|
 |
NoiZe_DJ Tux's lil' helper


Joined: 03 Nov 2003 Posts: 134 Location: Z'Ha'Dum
|
Posted: Thu Jan 22, 2004 7:27 pm Post subject: |
|
|
Same Problems here. I hope somebody has a solution.  _________________ > Live Your Life > Just Go BZRK > Think 4 Yourself > Fight The System
Windows XP hat mehr Bugs als Klendathu...
<Herbie`work> yu ar lahfing abaut mei inglisch skills ? |
|
Back to top |
|
 |
hinken Tux's lil' helper


Joined: 16 Jan 2004 Posts: 109
|
Posted: Thu Jan 22, 2004 7:35 pm Post subject: |
|
|
...just for the record, I'm having the same problem.... |
|
Back to top |
|
 |
hinken Tux's lil' helper


Joined: 16 Jan 2004 Posts: 109
|
Posted: Thu Jan 22, 2004 8:55 pm Post subject: |
|
|
well.....not exactly the same.....
Code: |
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtca vcodec.a(ratecontrol.o)(.text+0x18ec): In function `ff_rate_estimate_qscale':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/rateco ntrol.c:573: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtca vcodec.a(dv.o)(.text+0x85e):/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12/ffmpeg/libavcodec/dv.c:962: more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6 .12'
make: *** [all] Error 2
!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message) |
here is my emerge --info:
Code: |
Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-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/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://mirror.pudas.net/gentoo http://mirror.pudas.net/gentoo http://gentoo.linux.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
|
|
|
Back to top |
|
 |
chomber n00b

Joined: 18 Aug 2003 Posts: 35
|
Posted: Thu Jan 22, 2004 9:18 pm Post subject: |
|
|
same problem here:
Code: | /var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(dv.o)(.text+0x965):
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/dv.c:962: more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2
!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)
|
|
|
Back to top |
|
 |
sparks Guru


Joined: 05 Mar 2003 Posts: 331 Location: Nashville, TN
|
Posted: Thu Jan 22, 2004 9:40 pm Post subject: |
|
|
there is an entry in bugzilla here #38570. I dropped my cflaggs and it worked fine. _________________ True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war. |
|
Back to top |
|
 |
Mankale Tux's lil' helper

Joined: 20 Jan 2004 Posts: 76
|
Posted: Fri Jan 23, 2004 11:27 am Post subject: |
|
|
Worked here too.
CFLAGS="-O2 -march=pentium4 -mmmx -msse -mfpmath=sse,387 -funroll-loops -fprefetch-loop-arrays -frerun-cse-after-loop -pipe" emerge transcode |
|
Back to top |
|
 |
hinken Tux's lil' helper


Joined: 16 Jan 2004 Posts: 109
|
Posted: Sat Jan 24, 2004 10:20 pm Post subject: |
|
|
Quote: | there is an entry in bugzilla here #38570. I dropped my cflaggs and it worked fine. |
This doesnt seem to work for me. Same error dispite droped CVAR.
Code: | /var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/ratecontrol.c:179: undefined reference to `mm_flags' |
I dont REALLY need transcode but it would be nice to be able to do a
emerge -Du world without errors(yes Im a lazy bastard )
Does it work for everyone else??? |
|
Back to top |
|
 |
drjimmy42 Guru


Joined: 03 Feb 2003 Posts: 512 Location: Nashua, NH
|
Posted: Sun Jan 25, 2004 4:27 am Post subject: |
|
|
Nope. Same errors even with reduced CFLAGS.
I'm confused. Now, I've heard of this before so I'm not doubting the truth of the assertion that it is the optomization flags that is doing this, but it doesn't make any sense to me. Doesn't C follow certain rules? Pass this many arguments to this function and get this back. Get this piece of memory and write this to it. That's it. Given those rules, how can you have something compile _sometimes_. It doesn't make any sense to me. Eh, maybe google knows. Either way, no emerge -puD for me for a while. |
|
Back to top |
|
 |
mrmodin Apprentice


Joined: 24 Jan 2004 Posts: 216 Location: Stockholm, Sweden
|
Posted: Tue Jan 27, 2004 5:40 pm Post subject: Finally |
|
|
Finally got it working.
Tried
Code: | CFLAGS=" " emerge transcode |
|
|
Back to top |
|
 |
drjimmy42 Guru


Joined: 03 Feb 2003 Posts: 512 Location: Nashua, NH
|
Posted: Tue Jan 27, 2004 6:18 pm Post subject: |
|
|
nope, just ran
Code: |
CFLAGS=" " emerge transcode
|
still getting
Code: | .12/ffmpeg/libavcodec/dv.c:962: more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2
!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)
|
|
|
Back to top |
|
 |
JanErik Guru

Joined: 28 Oct 2002 Posts: 488 Location: Finland
|
Posted: Wed Jan 28, 2004 8:40 pm Post subject: |
|
|
One more here... does not help to compile without CFLAGS. |
|
Back to top |
|
 |
plate Bodhisattva


Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Wed Jan 28, 2004 10:36 pm Post subject: |
|
|
I had the same sort of trouble as everyone else. Much to my own amazement, this finally worked:
Code: | USE="mmx 3dnow" emerge transcode |
Thanks to Tobias Minich... |
|
Back to top |
|
 |
joki n00b

Joined: 30 Sep 2003 Posts: 53 Location: germany
|
Posted: Thu Jan 29, 2004 2:01 pm Post subject: |
|
|
nice...now i can include it again in my world file  _________________ emerge dev-pocket/money |
|
Back to top |
|
 |
whatalotta Tux's lil' helper

Joined: 23 Nov 2003 Posts: 114 Location: Union City, CA
|
Posted: Sun Feb 01, 2004 7:32 am Post subject: |
|
|
Plate,
Thank you! That has been driving me nuts. When I tried as you suggested, transcode finally emerged. |
|
Back to top |
|
 |
tizzyd n00b


Joined: 16 Aug 2003 Posts: 33 Location: New England USA
|
Posted: Tue Feb 03, 2004 9:04 pm Post subject: |
|
|
plate wrote: | I had the same sort of trouble as everyone else. Much to my own amazement, this finally worked:
Code: | USE="mmx 3dnow" emerge transcode |
Thanks to Tobias Minich... |
That's the setting for me as well. Thanks for the help! You Da Man! |
|
Back to top |
|
 |
PurpleSkunk n00b


Joined: 04 Jan 2004 Posts: 65 Location: Le Mans, France
|
Posted: Wed Feb 04, 2004 7:11 pm Post subject: |
|
|
I think, in your /etc/make.conf file, that having "mmx" in your USE parameters and no "-fforce_addr" in your CFLAGS resolves the problem.
It worked for me !  |
|
Back to top |
|
 |
msdn n00b


Joined: 13 Sep 2003 Posts: 26 Location: CANADA
|
Posted: Sun Feb 08, 2004 5:12 pm Post subject: |
|
|
PurpleSkunk wrote: | I think, in your /etc/make.conf file, that having "mmx" in your USE parameters and no "-fforce_addr" in your CFLAGS resolves the problem.
It worked for me !  |
Thanxx. It solved my problem also ! |
|
Back to top |
|
 |
toberonenz n00b

Joined: 19 Apr 2003 Posts: 15 Location: Auckland, New Zealand
|
Posted: Tue Feb 10, 2004 4:03 am Post subject: |
|
|
PurpleSkunk wrote: | I think, in your /etc/make.conf file, that having "mmx" in your USE parameters and no "-fforce_addr" in your CFLAGS resolves the problem.
It worked for me !  |
Worked for me to !  |
|
Back to top |
|
 |
troworld Tux's lil' helper


Joined: 20 Dec 2003 Posts: 95 Location: ON, CA
|
Posted: Wed Feb 11, 2004 3:09 am Post subject: |
|
|
One just can't live without these forums. Worked for me, too.
Thanks! |
|
Back to top |
|
 |
pontifikas Tux's lil' helper


Joined: 17 Aug 2003 Posts: 138 Location: Greece
|
Posted: Sat Feb 14, 2004 4:09 pm Post subject: |
|
|
Had the same problem.
"mmx 3dnow" was the right one.Thanks! _________________ Crimes against humanity??Dunno!!Maybe that chimp-face guy over there can help you.
Ehrr...don't push him hard though.He's kinda slow. |
|
Back to top |
|
 |
syph3r2001 n00b

Joined: 01 Jul 2003 Posts: 44
|
Posted: Mon Feb 23, 2004 5:09 pm Post subject: |
|
|
I found
USE="mmx sse sse2" emerge -u transcode
worked for me |
|
Back to top |
|
 |
tuxian l33t

Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Mon Feb 23, 2004 5:56 pm Post subject: |
|
|
thx, "mmx 3dnow" also worked fine for me |
|
Back to top |
|
 |
steelrose Apprentice


Joined: 06 May 2002 Posts: 245 Location: Cyprus
|
Posted: Wed Feb 25, 2004 1:29 pm Post subject: |
|
|
This happens also with version 0.6.12-r1. The solution is the same _________________ Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help |
|
Back to top |
|
 |
rockfly Apprentice

Joined: 27 Apr 2003 Posts: 179
|
Posted: Wed Feb 25, 2004 1:39 pm Post subject: |
|
|
btw try revdep-rebuild in the gentoolkit. |
|
Back to top |
|
 |
|