Summary: | mplayer-1.0_pre6-r5 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Timmy Douglas <timmy+gentoo> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | pxa7736, stian |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Timmy Douglas
2005-05-07 19:30:24 UTC
Uhm, what about trying without -g in your C[XX]FLAGS? If mplayer won't compile with -g in cflags, it should at least issue a warning and ignore it. But that would be a bad fix since I want debugging symbols in my mplayer. Anyways, removing -g doesn't help (I think adding -O2 would though...): cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -march=athlon-xp -pipe -frename-registers -fno-pie -fno-pie -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o imdct.o imdct.c In file included from imdct.c:757: imdct_3dnow.h: In function `fft_asmb_3dnow': imdct_3dnow.h:241: error: can't find a register in class `GENERAL_REGS' while reloading `asm' imdct.c: In function `imdct_do_512_sse': imdct.c:937: warning: use of memory input without lvalue in asm operand 1 is deprecated imdct.c:937: warning: use of memory input without lvalue in asm operand 2 is deprecated make[1]: *** [imdct.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r5/work/MPlayer-1.0pre6a/liba52' make: *** [liba52/liba52.a] Error 2 !!! ERROR: media-video/mplayer-1.0_pre6-r5 failed. If you want mplayer with debug information just use the useflag debug and the r6 ebuild. I will unmask it quite soon lighten your CFLAGS/CXXFLAGS. mplayer uses a lot of assembler inlines, and stuff like -frename-registers can mess things up. MPlayer states that if cflags/cxxflags are given, things can fail, crash etc. *** Bug 133396 has been marked as a duplicate of this bug. *** pre6 has been removed from the tree, any success with pre8? I'm using pre7..compiled by myself outside of portage. I guess I got it to compile by using the default cflags. |