On 3/01/10 05:07 AM, Eric van Tassell wrote: > nightly is giving me a bunch of errors relating to not being able to find > usr/src/Makefile.master.64, which are valid because it's not there. > > 1) why is nightly trying to build 64 bit on atom > 2) why doesnt hg clone or update bringover Makefile.master.64 - it's there > > psrinfo -pv reports: > The physical processor has 2 virtual processors (0 1) > x86 (GenuineIntel 106C2 family 6 model 28 step 2 clock 1600 MHz) > Intel(r) Atom(tm) CPU N270 @ 1.60GHz > > And per http://en.wikipedia.org/wiki/Intel_Atom#Instruction_set_architecture, > my wimpy cpu cant run x86-64 code
Just because your cpu can't run 64bit code does not mean that it cannot build 64bit code. Our makefiles are setup to build all possible architectures for a family (ie, x64/x86 vs sun4u/sun4v). I don't believe that hacking them to do cpu capability detection and not build bits is a viable use of anybody's time. I don't know why you're not getting Makefile.master.64 - perhaps you rm'd it? In any case, you should be able to get a copy of it by running (from the top of your tree, ie, above usr/src): $ hg revert -r tip usr/src/Makefile.master.64 James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog