From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
Subject: Re: Newbie Question?
Date: 1999/10/20 [thread overview]
Message-ID: <380D9D25.F7BE0018@ife.ee.ethz.ch> (raw)
In-Reply-To: 380CD72A.382768CE@atp.nl.nospam
Alexander Verhaar wrote:
>
> Maybe this is a typical newbie question, but I never saw/notice the
> following question.
>
> What precisely is an "Unalligned error"?
> I'm normally only programming on the x86 platform, and
> just begun to program on my Alpha.
It means that data is not at the proper places in memory
The Alpha is a 64 bit machine and therefore expects it's data to be
properly stored in memory.
It is unaligned is
(address of data) mod sizeof(type) != 0 where sizeof(type) is 1,2,4 or
8
With glibc 2.1, timespec contains 64 bit values, when before it had 32
bit values. This made ping generate 'unaligned traps' because the values
were not at a 8 byte boundary
- Alex
prev parent reply other threads:[~1999-10-20 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-19 4:00 Newbie Question? Alexander Verhaar
1999-10-20 4:00 ` Alex Rhomberg [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox