[mythtv-commits] Ticket #543: --compile-type=debug doesn't compile with --arch=pentium3

MythTV mythtv at cvs.mythtv.org
Fri Oct 28 18:21:42 EDT 2005


#543: --compile-type=debug doesn't compile with --arch=pentium3
------------------------------------+---------------------------------------
 Reporter:  hansi.urpils at gmail.com  |       Owner:  ijr 
     Type:  defect                  |      Status:  new 
 Priority:  minor                   |   Milestone:      
Component:  mythtv                  |     Version:  head
 Severity:  medium                  |  ------------------------------------+---------------------------------------
 Hi again!

 I'm trying to compile MythTV with ./configure --compile-type=debug
 --arch=pentium3 because I've been asked to provide a backtrace in order to
 get #529 fixed. However, it "doesn't work"[tm], here's what I get:

 {{{
 make[2]: Entering directory `/home/laga/myth-bedtv/mythtv/libs/libavcodec'
 [SNIP]
 gcc -c -pipe -march=pentium3 -w -g -O -D_REENTRANT -DPIC -fPIC  -DMMX
 -Di386 -DUSING_DBOX2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
 -DPREFIX=\"/usr/local\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
 -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
 -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I../libavutil
 -I/usr/include/qt3 -o mpegvideo_mmx.o i386/mpegvideo_mmx.c
 In file included from i386/mpegvideo_mmx.c:678:
 i386/mpegvideo_mmx_template.c: In function `dct_quantize_MMX':
 i386/mpegvideo_mmx_template.c:105: error: can't find a register in class
 `GENERAL_REGS' while reloading `asm'
 i386/mpegvideo_mmx_template.c:152: error: can't find a register in class
 `GENERAL_REGS' while reloading `asm'
 make[2]: *** [mpegvideo_mmx.o] Error 1
 make[2]: Leaving directory `/home/laga/myth-bedtv/mythtv/libs/libavcodec'
 make[1]: *** [sub-libavcodec] Error 2
 make[1]: Leaving directory `/home/laga/myth-bedtv/mythtv/libs'
 make: *** [sub-libs] Error 2
 }}}

 I've found out so far that it works flawlessly when using --arch=i686
 instead of --arch=pentium3 or with --compile-type=release --arch=pentium3.
 I've encountered this error for the first time on my Debian Sarge box,
 using either

 {{{
 gcc version 3.3.5 (Debian 1:3.3.5-13)
 }}}

 or

 {{{
 gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)
 }}}

 The fact that it also doesn't work on my Gentoo box makes me think that
 it's a real bug and not just some oddity in my setup (feel free to correct
 me, however :))

 As usual, I'll be glad to provide additional information.

 Kind regards,
 Michael "laga" Haas

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/543>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list