[mythtv-users] Building on Gentoo - failure

Saul jaglover at gmail.com
Mon Mar 23 20:18:26 UTC 2015


On Mon, 23 Mar 2015 14:54:41 -0400
Rich Freeman <r-mythtv at thefreemanclan.net> wrote:

> On Mon, Mar 23, 2015 at 2:43 PM, Gary Buhrmaster
> <gary.buhrmaster at gmail.com> wrote:
> > On Mon, Mar 23, 2015 at 6:32 PM, Raffaele BELARDI
> > <raffaele.belardi at st.com> wrote:
> > .....
> >> Check this out:
> >>
> >> http://lists.mythtv.org/pipermail/mythtv-dev/2014-May/074290.html
> >>
> >> Adding -fno-devirtualize as suggested later in that thread worked
> >> for me.
> >
> > bottom line, it was an upstream gcc bug, fixed in
> > later patch levels (so, perhaps, the first thing to do
> > is obtain a more recent gcc).
> >
> > That said, gcc 4.8 should work too.
> 
> This was also reported as:
> https://bugs.gentoo.org/show_bug.cgi?id=516692
> https://code.mythtv.org/trac/ticket/12408
> 
> It seems likely that a build system fix will address this, otherwise
> there are the workaround...

Alright, the box serving as FE is not very powerful, I make heavy usage
of distcc (no -march=native as a result). I created custom environment
for MythTV:

 ~ $ cat /etc/portage/env/mythtv.conf 
CFLAGS="-march=native -O2 -pipe -fno-devirtualize"
CXXFLAGS="${CFLAGS}"
MAKEOPTS=-j1
FEATURES="-distcc -ccache"

It built fine ... remains to be seen if it performs good, I have had
constant liveTV issues with anything newer than 0.27_p2014032 ...

Thanks everybody for their input.

-- 
Cheers, Saul


More information about the mythtv-users mailing list