On Fri, Mar 23, 2012 at 7:21 PM, Michael Homer <mich...@gobolinux.org>wrote:
> Hi, > In trying to look at the other kernel issues people reported I had > repeated odd failures, which I eventually tracked down to this in the > 3.2.12 recipe (new from 3.2.7): > make_variables=( > ARCH=`grep flags /proc/cpuinfo | grep -q " lm " && echo x86_64 || > echo i686` > ) > Hi Michael, That piece was recently added by me, after I realized that 'uname -m' was reporting that I was on a i686, although it was an x86-64. I wasn't expecting that to break the build on other machines, although I understand that not everybody might have a 64-bit toolchain installed. > (and several other places) > I don't think that's right - it correctly detects a 64-bit chip, but it > pays no attention to the actual system architecture, or what the > compiler or anything else is built for. Running that command here (Core > i7) gives x86_64, even though it is a 32-bit system (`uname -m` = i686). > > ARCH=x86_64 forces the CPU to "Generic-x86-64" and limits the processor > family options to only 64-bit ones, so you can't even fix it in > menuconfig. If you don't look at the processor then your compiler > eventually just bails out. > > While I don't think that's right I'm not sure uname -m is either. There > are several changes on that same theme in the recipe and I don't know > what the intent is, but at the very least we should ask so people have a > chance to override what's detected. I am in favour of improving 64-bit > support or potentially switching to it entirely, so long as it works. > -Michael > > I'll revert to the original behavior until we decide what to do regarding 64-bit arch support, then. Maybe that's something which we'd rather tell Compile about, through some directive in the config file? -- Lucas "If you're looking for a reason I've a reason to give: pleasure, little treasure"
_______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel