View Issue Details

IDProjectCategoryView StatusLast Update
0000106Spring engineLinuxpublic2006-03-03 19:04
Reporterjusta Assigned Totvo  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Summary0000106: SCONS cannot detect CPU-type on Xeon-type machines due to bad/wrong 'detect.py'
DescriptionBasically, scons tries to determine cpu-type based on contents taken from /proc/cpuinfo; parsing it and determining cpu capabilitied from there.

However, this failed on my Xeon-EMT machine because of the following:

Line 112 of rts/build/scons/detect.py reads:
                                 elif str.find("Intel(R) Xeon(R) CPU") != -1:
                                        print " found Intel Xeon w/EM64T"
                                        archflags=['-march=nocona', '-mmmx', '-msse3']


However, /proc/cpuinfo has the following as it's model-name :

Intel(R) Xeon(TM) CPU 2.80GHz

Note the "TM" and not "R" that detect.py seemed to be expecting.

Changing this will make 'scons configure' complete it's work. No idea yet if the beast will compile cleanly, however.

TagsNo tags attached.
Checked infolog.txt for Errors

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2006-03-03 18:23 justa New Issue
2006-03-03 18:23 justa Status new => assigned
2006-03-03 18:23 justa Assigned To => tvo
2006-03-03 19:04 tvo Status assigned => resolved
2006-03-03 19:04 tvo Resolution open => fixed