Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Mark Gelinas <gelinas@bismuth.zk3.dec.com>
Subject: Re: How to hide "Unaligned access" message ?
Date: 1999/08/20	[thread overview]
Message-ID: <sjkr9ky2q2w.fsf@bismuth.zk3.dec.com> (raw)
In-Reply-To: 7pjedr$g12$1@jaydee.iway.fr

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

"Ga�l Trinquart" <gtrinquart@elan.fr> writes:

> I try to align 32-bit data (my system is 64-bit). The 32-bit alignement is
> properly done but the system outputs a runtime message "Unaligned access
> pid=8307 <syntz> va=1401b5294 pc=120071e8c ra=120071e24 type=stq".
> 
> I tried to close stdout and stderr but the message does not disappear. Any
> idea ?
> 
A few ideas:

1) Update your code so it is 64-bit aligned. This includes pointers, long
   integers, and doubles (long long).
2) Try compiling with the '-taso' flag; it forces the app to load in the
   lower 31-bit addressable virtual address range.  See the cc(1) man page
   for details.
3) Silence it with the 'uac' command, as in

      $ uac p noprint ; /run/the/unaligned/application -with options

   See the uac(1) man page for other options.

MarkG
-- 
Mark Gelinas                         Compaq Computer Corporation
EMail: gelinas@zk3.dec.com           110 Spit Brook Road, ZKO3-3/V08
Phone: +1 (603) 884-1511             Nashua, NH 03062-2698   USA
Views expressed are my own, and not necessarily those of my employer.



  reply	other threads:[~1999-08-20  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-20  4:00 How to hide "Unaligned access" message ? Ga�l Trinquart
1999-08-20  4:00 ` Mark Gelinas [this message]
1999-08-20  4:00 ` Hans Schwengeler
1999-08-27  4:00 ` Bob Harris
1999-10-28  4:00   ` Shiv Agarwal
1999-10-28  4:00   ` Shiv Agarwal
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