[mythtv-commits] Ticket #2994: compile error using --proc-opt in configure while using "Intel(R) Celeron(R) M processor"

MythTV mythtv at cvs.mythtv.org
Wed Feb 21 17:05:11 UTC 2007


#2994: compile error using --proc-opt in configure while using "Intel(R)
Celeron(R) M processor"
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  janne   
     Type:  defect     |       Status:  reopened
 Priority:  minor      |    Milestone:  0.21    
Component:  mythtv     |      Version:  head    
 Severity:  low        |   Resolution:          
-----------------------+----------------------------------------------------
Comment (by knowledgejunkie at gmail.com):

 I've been fighting latest SVN (12834, clean source 'svn export'ed from
 checkout) to compile at all on a slave machine, which I am trying to
 upgrade from a pre-12645 build. What I need to know is the correct
 incantion of flags to get a successful compile on a CeleronD (Prescott?)
 2.4GHz CPU, as I don't seem to be able to get a build even without my
 normal 'enable-proc-opt' flag. This CPU has NetBurst but (only) 256KB
 cache, so I'm not sure if I should configure as a pentium4 when running
 configure.

 Compilation error (as with OP):

 {{{
 gcc -c -pipe -w -O3 -fomit-frame-pointer -Wall -Wno-switch -fomit-frame-
 pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE -D_FILE
 _OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -DHAVE_AV_CONFIG_H
 -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
  -I/usr/lib/qt-3.3/mkspecs/default -I. -I.. -I../.. -I../libavutil
 -I/usr/lib/qt-3.3/include -o motion_est.o motion_est.c
 motion_est_template.c: In function âumh_searchâ:
 motion_est_template.c:755: error: can't find a register in class
 âGENERAL_REGSâ while reloading âasmâ
 motion_est_template.c:758: error: can't find a register in class
 âGENERAL_REGSâ while reloading âasmâ
 motion_est_template.c:765: error: can't find a register in class
 âGENERAL_REGSâ while reloading âasmâ
 motion_est_template.c:773: error: can't find a register in class
 âGENERAL_REGSâ while reloading âasmâ
 }}}

 CPU info:

 {{{
 [root at marge mythtv]# cat /proc/cpuinfo
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 15
 model           : 3
 model name      : Intel(R) Celeron(R) CPU 2.40GHz
 stepping        : 4
 cpu MHz         : 2394.898
 cache size      : 256 KB
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 5
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
 constant_tsc pni monitor ds_cpl cid xtpr
 bogomips        : 4795.72


 [root at marge mythtv]# uname -p 2
 i686
 [root at marge mythtv]# uname -m
 i686
 }}}

 configure options:

 {{{
 ./configure --prefix=/usr --disable-audio-arts --disable-audio-jack
 --disable-joystick-menu --disable-firewire --disable-iptv --disable-dbox2
 --disable-hdhomerun --enable-dvb --dvb-path=/usr/include --enable-opengl-
 vsync --enable-dts
 }}}


 Due to major instability in this slave backend over the past week I took a
 closer look and noticed that all SVN upgrades had failed in the past 2
 weeks, leaving the system stuck at stable 12477. My Athlon64 master
 backend and PentiumM laptop both compiled without any problems yesterday.
 When I delved into things earlier, I worried that my CPU was bad, but then
 saw this ticket and hope it can be resolved.

 Thanks in advance for any advice,
 Nick Morrott

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2994#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list