[mythtv-users] Compiling hangs at x11colors.cpp

Brad Templeton brad+myth at templetons.com
Wed Jan 14 00:13:28 UTC 2009


On Fri, Jan 09, 2009 at 04:05:20PM -0800, Brad Templeton wrote:
> 
> Looking to upgrade to the lastest trunk version, I updated and started
> compiling it -- but my compiles keep hanging at the file libmythui/x11colors.cpp
> 
> Hanging as the compiler just gets into an infinite loop and sits there
> sucking CPU.   There is nothing remarkable about this file, it just
> imports some qt4 stuff and has boring statements.  If I introduce a syntax
> error into it, that is seen, so the hang is after parsing and analysing
> the source and includes.
> 
> I am running gcc: 4:4.2.3-1ubuntu6
>     libqt4-dev      4.4.0-1ubuntu5~hardy1
> 
> On Kunbuntu Hardy amd64.  I was using distcc but get the same problem
> on a single system compile.
> 
> 
> Any thoughts?  A google search shows another person who had compiler
> crashes on this very file, but there was no resolution.
> 
> Any ideas on where to go next?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

In answer to my own question, I have made a little progress.   I found it
did compile on a more virgin Hardy system on a real athlon64, without
the backport qt4.  So I reverted to older qt4 on hardy and that didn't
help on the core 2 duo.

So I turned off the -O3 (it was necessary to go all the way to -O0)
and x11colours.cpp no longer hanges in compiling.  It seems to depend
on the actual CPU underneath, though!


More information about the mythtv-users mailing list