Subject: unaligned accesses in C++
To: NetBSD/Alpha <port-alpha@netbsd.org>
From: B. James Phillippe <bryanxms@ecst.csuchico.edu>
List: port-alpha
Date: 01/15/2002 19:51:30
Hello,

I am currently running NetBSD-1.5.2 on an Alpha and am having some problems
with a particular C++ application.  This application is generating
thousands upon thousands of unaligned access warnings.  I'm reasonably
familiar with dealing with unaligned accesses and understand the coding
practices that commonly cause them.  This is not an application which I
have written, so I am not very familiar with it.  I have loaded it up in
gdb and have identified the line numbers which are causing the problems,
but I can't seem to identify where the unaligned accesses are occuring.
Before I spend too much time investigating, I'm wondering if anyone knows
of compiler or library issues causing massive unaligned access warnings in
(statically-linked) apps on NetBSD.  I'm using egcs-1.1.2.

thanks,
-bp
--
# bryanxms at ecst dot csuchico dot edu
# Software Engineer