Summary: | mythfrontend-0.16 fails to compile with -O3 flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Keith Landry <wirwzd> |
Component: | New packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gregg.casillo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | mythfrontend-0.16.ebuild.patch |
Description
Keith Landry
2004-10-16 18:20:08 UTC
Created attachment 41994 [details, diff]
mythfrontend-0.16.ebuild.patch
Patch for mythfrontend-0.16.ebuild to replace -O3 with -O2
It worked for me on -O3 on a Pentium4. Try some of your other flags. Ahh I se now, thanks. Are you using GCC 3.4 and/or -march=pentium4? On my systems (backend compiling mythtv/frontend compiling mythfrontend) it seems to be whenever -O3 is combined with -m(arch/tune)=(pentium4/pentium4m). Any other pentium arch flag works (pentiumpro, pentium3, etc.) I can also reproduce by unpacking the mythtv tarball and: ./configure qmake mythtv.pro adding -march=pentium4 to OPTFLAGS in config.mak (it already had -03) make qmake make -C libs/libavcodec -j7 Hope im connecting the followng dots correctly. Doing some poking aroung on the ffmpeg/mythtv lists it appears to be a gcc bug ( http://sourceforge.net/mailarchive/message.php?msg_id=8724861 http://www.gossamer-threads.com/lists/mythtv/dev/88243?search_string=GENERAL_REGS;#88243 ffmpeg won't change it beacuse it would break compatability with gcc 2.9.5: http://sourceforge.net/tracker/index.php?func=detail&aid=890586&group_id=16082&atid=116082 And ffmpeg compiles is it doesn't use -fPIC when building: http://www.gossamer-threads.com/lists/mythtv/dev/78694?search_string=GENERAL_REGS;#78694 I unpacked ffmpeg, ran configure, added -DPIC -fPIC -march=pentium4 (-O3 was already there) to the config.mak file and same exact errors. Changing -O3 to -O2 compiled with no errors. Putting -O3 back and removing -march=pentium4 gets no error. *** Bug 74032 has been marked as a duplicate of this bug. *** Fixed in CVS. |