[mythtv-users] Building on Gentoo - failure

Karl Newman newmank1 at asme.org
Mon Mar 23 21:07:29 UTC 2015


On Mon, Mar 23, 2015 at 1:18 PM, Saul <jaglover at gmail.com> wrote:

> 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"
>
> Wow, thanks for that tip. I wasn't aware of per-package config, but in
retrospect I should have guessed it was possible, given how flexible Gentoo
is. Seems I'm always learning something new and awesome about Gentoo...

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150323/c3d41cf3/attachment.html>


More information about the mythtv-users mailing list