[Libhugetlbfs-devel] Compilation on SPARC is incorrect

2010-02-08 Thread Jan Engelhardt
Hi, I was putting libhugetlbfs through an rpmbuild compilation on a SPARC64 system and found that it does not compile. The reason is very simple: libhugetlbfs misuses `uname -m` to decide whether to build 32- or 64-bit. This is a bad heuristic, as the userspace that is run and compiled can be

[Libhugetlbfs-devel] [patch] icache-hygiene fails on sparc

2010-02-09 Thread Jan Engelhardt
parent 48b4959e950ca54937e70152e28f27b8d1157e8b (2.7) commit 468e2c33db9c543d27648f033c989821e0f418d5 Author: Jan Engelhardt Date: Tue Feb 9 12:42:57 2010 +0100 tests/icache-hygiene: allow compilation on SPARC --- tests/icache-hygiene.c |3 ++- 1 files changed, 2 insertions(+), 1

Re: [Libhugetlbfs-devel] Compilation on SPARC is incorrect

2010-02-11 Thread Jan Engelhardt
On Thursday 2010-02-11 05:16, David Gibson wrote: >On Mon, Feb 08, 2010 at 06:41:24PM +0100, Jan Engelhardt wrote: >> >> make >> %ifarch sparc sparcv9 # that's targetarch >> CC32="gcc" CC64="" NATIVEONLY=1 >> %endif > >But th

Re: [Libhugetlbfs-devel] [patch] icache-hygiene fails on sparc

2010-02-11 Thread Jan Engelhardt
On Thursday 2010-02-11 12:50, Eric B Munson wrote: >On Tue, 09 Feb 2010, Jan Engelhardt wrote: > >> parent 48b4959e950ca54937e70152e28f27b8d1157e8b (2.7) >> commit 468e2c33db9c543d27648f033c989821e0f418d5 >> Author: Jan Engelhardt >> Date: Tue Feb 9 12:42:57