[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 22:09:44 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):

 A quick update on my Intel Celeron D CPU issue - with many thanks to Simon
 Kenyon on the -dev list. (Gentoo safe flags [http://gentoo-
 wiki.com/Safe_Cflags#Pentium_4_.28Prescott.29_.28Intel.29] recommend
 CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" for this CPU).

 Compiling with "--cpu=prescott --enable-proc-opt" allowed the MythTV core
 to compile normally. I'll be monitoring for any further instability over
 the next few days. I note from the output below the use of -O3 instead of
 -O2 - should this extra optimisation affect anything other than code
 portability? What additional effect does enabling -proc-opt have?

 Sample output from the compilation (the motion_est.c file which broke
 things earlier):

 {{{
 gcc -c -pipe -march=prescott -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
 }}}


 Thanks,
 Nick

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


More information about the mythtv-commits mailing list