Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jacobj@research.CS.ORST.EDU (Joseph Jacob)
Subject: HELP!! : Unaligned access error on DEC Alpha, $OS == osf1
Date: 8 Nov 93 12:50:10 GMT	[thread overview]
Message-ID: <2blfa2INN4sq@flop.ENGR.ORST.EDU> (raw)

Hi,

We are trying to port the Charm programming environment to the DEC Alphas.
We  ported Charm to HPs and RS6000s with success.
But, on the DEC Alpa machine, running OSF ,we have here we get

Unaligned access pid=4493 <hpgm> va=14008c01c pc=1200068e8 ra=1200068d8 type=stq

when we try to run the program. 
we found that it is coming at the following lines of code 

    temp = (struct NODE *)(  mem_space+1);
    temp->next= (struct NODE *)NULL ;
    temp->left =  (struct NODE *)NULL ;
    temp->right = (struct NODE *)NULL ;
    temp->parent = (struct NODE *)NULL ;

where temp is defined as struct NODE *temp;
struct NODE {
	struct NODE *next ;
        struct NODE  *left ;
	struct NODE *right ;
	struct NODE *parent ;
	} ;
mem_space is defined as 
int *mem_space ;
all the variables used above are local to the function in which
they are used.

the last four lines give rise to issual of unaligned access message
by the operating system [ On the DEC Alphas]. These run just fine
on other machines CHARM has been ported to !!.

The compiler which we used to compile the program is the C compiler
provided by DEC.

Please reply as soon as possible.

thank you,

Joseph Jacob


             reply	other threads:[~1993-11-08 12:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-11-08 12:50 Joseph Jacob [this message]
1993-11-08 15:32 ` HELP!! : Unaligned access error on DEC Alpha, $OS == osf1 John T. Kohl
1993-11-08 20:22   ` John T. Kohl
1993-11-09 12:29     ` acssysdsc
1993-11-09 20:26       ` Karen Kolling
1993-11-09 20:45         ` Karen Kolling
1993-11-10 15:06       ` Ken Cowan
1993-11-09  4:26 ` Karen Kolling
1993-11-09 17:06   ` Bruce O'Neel
1993-11-09 23:06     ` HELP!! : Unaligned access error on DEC John Lovell
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