Date: Mon, 03 Sep 2007 21:17:54 +0200 From: Kris Kennaway <kris@FreeBSD.org> To: Christian Weisgerber <naddy@mips.inka.de> Cc: freebsd-sparc64@freebsd.org Subject: Re: weird sparc64/-current issue!? (p7zip) Message-ID: <46DC5DE2.4040206@FreeBSD.org> In-Reply-To: <fbhcev$26p0$1@kemoauc.mips.inka.de> References: <20070901165653.GA38448@saturn.kn-bremen.de> <fbhcev$26p0$1@kemoauc.mips.inka.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Christian Weisgerber wrote: > Juergen Lock <nox@jelal.kn-bremen.de> wrote: > >> alepulver made me aware of this, >> http://pointyhat.freebsd.org/errorlogs/sparc64-7-latest-logs/mame-extras-0.114.log >> -8624 CPU(s)? :) It works on 6, >> http://pointyhat.freebsd.org/errorlogs/sparc64-6-latest-logs/mame-extras-0.114.log > > Does that machine really have 35 CPUs? No, none of the build machines currently active have more than 4. Kris > >> UInt32 GetNumberOfProcessors() { >> int nbcpu = 1; >> size_t value; >> size_t len = sizeof(value); >> if (sysctlbyname("hw.ncpu", &value, &len, NULL, 0) == 0) >> nbcpu = value; >> return nbcpu; >> } > > Are you sure that value is of type size_t here? I think it is an > int. (Remember, size_t is 64 bits on all our 64-bit platforms, int > is 32 bits.) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46DC5DE2.4040206>