Summary: | mythtv-0.17 fails to compile in libpostproc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hakan Tandogan <hakan> |
Component: | New packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | fredan-gentoo-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Hakan Tandogan
2005-02-11 05:05:30 UTC
Removing "-Os" from the CFLAGS (Note that I didn't have -O3 in there) is not enough to make mythtv compile: gcc -c -pipe -w -march=pentium4 -momit-leaf-frame-pointer -pipe -falign-functions=4 -fno-pie -march=pentium4 -momit-leaf-frame-pointer -pipe -falign-functions=4 -fno-pie -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/include -o parse.o liba52/parse.c libpostproc/postprocess_template.c: In function `blockCopy_MMX': libpostproc/postprocess_template.c:3283: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make: *** [postprocess.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/var/tmp/portage/mythtv-0.17/work/mythtv-0.17/libs/libavcodec' wombat root # emerge --info | grep CFLAGS CFLAGS="-march=pentium4 -momit-leaf-frame-pointer -pipe -fforce-addr -falign-functions=4" Cutting down the CFLAGS to just "-mpentium4" doesn't work either: wombat root # ebuild /usr/portage/media-tv/mythtv/mythtv-0.17.ebuild compile [ ... ] gcc -c -pipe -w -march=pentium4 -fno-pie -march=pentium4 -fno-pie -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DUSING_IVTV -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/include -o resample.o liba52/resample.c libpostproc/postprocess_template.c: In function `blockCopy_MMX': libpostproc/postprocess_template.c:3283: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make: *** [postprocess.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/var/tmp/portage/mythtv-0.17/work/mythtv-0.17/libs/libavcodec' wombat root # emerge --info | grep CFLAGS CFLAGS="-march=pentium4" Um...how did you manage to get anywhere with that when there's no MythTV 0.17 ebuild in Portage yet? Did you just rename the 0.16 ebuild? I used the MythTV CVS ebuilds (http://bugs.gentoo.org/show_bug.cgi?id=66337) and fetched whatever was up at 8 PM PST...probably 0.17 (it says so in status), but whether HEAD==release-0-17 then (or now), I'm not 100% sure. In any case, it built MythTV (and several addons) without any problems. Bad CFLAGS. -Os will not work. Need -O2. |