From: William Lee Irwin III <wli@holomorphy.com>
To: sparclinux@vger.kernel.org
Subject: Re: PAGE_SIZE and native vs. emulated 32-bit SPARC ABI
Date: Thu, 30 Dec 2004 12:13:25 +0000 [thread overview]
Message-ID: <20041230121325.GD29332@holomorphy.com> (raw)
In-Reply-To: <20041230110707.GC29332@holomorphy.com>
On Thursday 30 December 2004 11:07 am, William Lee Irwin III wrote:
>> It seems that most/all 32-bit SPARC programs are written and compiled
>> for emulated 32-bit on sun4u, which has an 8KB PAGE_SIZE, and returns
>> 8KB for getpagesize(). This is unfortunately causing spectacular
>> failures
On Thu, Dec 30, 2004 at 11:50:28AM +0000, C.Newport wrote:
> This sounds like a bug to me.
> A 32 bit program should see the same kernel environment on 32 and 64 bit
> machines. There may be a case for saying that the compiler should also
> be aware of such issues when building a 32 bit model.
> Also see the kernel config stuff - the page size for ramdisks defaults to
> 4096.
IMHO this is ABI emulation QOI. I personally just use the things for
ABI torture tests, and affected programs are somewhat uncommon. I think
dealing with this would involve personality handling in sparc32, since
it by and large is stuck bearing the burden of being compatible with
common usage on more modern 32-bit environments and not vice-versa,
which may very well be impossible.
-- wli
next prev parent reply other threads:[~2004-12-30 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-30 11:07 PAGE_SIZE and native vs. emulated 32-bit SPARC ABI William Lee Irwin III
2004-12-30 11:50 ` C.Newport
2004-12-30 12:13 ` William Lee Irwin III [this message]
2005-01-04 18:46 ` David S. Miller
2005-01-04 18:54 ` William Lee Irwin III
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041230121325.GD29332@holomorphy.com \
--to=wli@holomorphy.com \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.