From: Tony Luck <tony.luck@intel.com>
Date: Tue, 17 Aug 2010 11:24:19 -0700
You might be triggering it via threading as well, since make uses
vfork() for running sub-jobs.
Like you I tried fixing atomic64, but as I mentioned it turns out
sparc64 (like powerpc) always uses a 32-bit 'int' semaphore count.
I thought perhaps that for some reason the rwsem generic code had
a dependency on 'long' so I switched sparc64's rwsems over to 'long'
counters last night too, but I still get the problem.
Even reverting the rwsem commit that added the "<" test didn't fix
things, so now I'm simply going to bisect.
--