[mythtv] Myth doesn't compile under FC3
Jarod Wilson
jcw at wilsonet.com
Tue Nov 9 22:53:28 UTC 2004
On Tuesday 09 November 2004 13:43, Chris Petersen wrote:
> Trying to compile myth under fc3, and I get the following error:
>
> i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
> i386/dsputil_mmx.c:634: error: can't find a register in class
> `GENERAL_REGS' while reloading `asm'
>
> Googling reveals that some people on the atrpms list have had this
> problem.
Yup. Primarily me and Axel.
> It looks like things compile fine for athlon (which is fine
> for me until I decide to upgrade my main mythbox)
It compiles fine for athlon for me, but the frontend won't load:
$ mythfrontend
2004-10-26 23:28:01 mythfrontend version: 0.16.20040906-1 www.mythtv.org
2004-10-26 23:28:01 Enabled verbose msgs : important general
2004-10-26 23:28:02 Registering Internal as a media playback plugin.
2004-10-26 23:28:02 Registering MythDVD DVD Media Handler as a media handler
2004-10-26 23:28:02 Registering MythDVD VCD Media Handler as a media handler
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted
Granted, this was a week or two ago on my mutant FC2.5 box, so it may work
better under straight FC3. Just got a pure FC3 box installed last night, so
I'll try again sometime soon...
> but this could be a
> real problem for intel-cpu users.
I believe it can be made to work by hacking around Red Hat's optimization
flags. (Primarily, remove the -mtune=pentium4 part).
> My guess is that is has something to do with the new gcc's more strict
> C++ handling.
I believe its primarily the optflags, at least in the case of i686 and i386
builds. Not sure yet what's up with athlon builds.
From /usr/lib/rpm/redhat/rpmrc (part of the redhat-rpm-config package):
optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=pentium4
optflags: i486 %{__global_cflags} -m32 -march=i486
optflags: i586 %{__global_cflags} -m32 -march=i586
optflags: i686 %{__global_cflags} -m32 -march=i686 -mtune=pentium4
optflags: athlon %{__global_cflags} -m32 -march=athlon
> Anyway, a warning to prospective fc3 updaters, and a bug report for the
> devs.
I plan to hack /usr/lib/rpm/redhat/rpmrc a bit later to see if I can get a
fully functional rpm build. I'm guessing Myth isn't at fault, per se, since
Myth doesn't officially support some of those optflags, IIRC.
--
Jarod C. Wilson, RHCE
jcw at wilsonet.com
Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/lists/mythtv/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041109/2a260082/attachment.pgp
More information about the mythtv-dev
mailing list