Unaligned access problem

From: Eugene Chu <chu_at_musp0.Jpl.Nasa.Gov>
Date: Fri, 31 Mar 1995 17:11:05 -0800

Hello Alpha experts,

I think this was discussed recently, but I didn't pay attention because
it hadn't happened to me (yet). One of my users just ported some code
developed on a SUN (sunOS 4.1.x) to an AXP 3000/600 running OSF/1 V2.0.
The problem program is generating a bazillion "Unaligned access..."
messages, and what we found when trying to track it down was this:
Where the messages start coming from differes depending on how it was
compiled or ran. With no debugging (-g) at all, we obviously couldn't
tell where it was coming from. Running under dbx, we traced it to an
assignment of a two dimensional array of double precission floating
point numbers inside a structure. But, try as we might to change array
sizes within the structure, we could not run without the messages.
Running the -g compiled program directly, the messages show up before
the first executable line. (Why is this?)

So, can anyone point me to the right direction to try to solve this
problem?

thanks in advance
eyc
Received on Fri Mar 31 1995 - 20:09:16 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT