[mythtv] Build error on Fedora rawhide

Rich Freeman r-mythtv at thefreemanclan.net
Sun Jul 13 13:10:03 UTC 2014


On Mon, May 12, 2014 at 6:41 PM, Gary Buhrmaster
<gary.buhrmaster at gmail.com> wrote:
> On Sun, May 11, 2014 at 5:43 PM, Gary Buhrmaster
> <gary.buhrmaster at gmail.com> wrote:
>> On Sun, May 11, 2014 at 4:40 PM, Richard Shaw <hobbes1069 at gmail.com> wrote:
>>> I was working on building a new fixes release when I ran into this on
>>> Rawhide[1]... Building for F20 works fine...
> ...
>> Not quickly, and I have to go do some errands, but here are my
>> initial thoughts:
>
> Looks to be a g++ bug with your specified -O2 optimization
> flag, adding in -fno-devirtualize allows the compilation to
> work.
>
> gcc bug 61085 looks like a possibility (although that
> is based solely on the description, rather than any real
> analysis).
>
> One can either wait for various gcc fixes to roll out to
> rawhide (you might want to get on the IP list for that
> particular bug), or for now add in the switch to be able
> to compile (but remember to remove it when the gcc
> fixes are made available).

Indeed, on Gentoo with gcc 4.9.0 we run into the same problem, and
-fno-devirtualize fixes it.

However, applying the patch in gcc bug 61085 does not.

So, it sounds like there may be another issue lurking here.

Rich


More information about the mythtv-dev mailing list