Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* HELP!! : Unaligned access error on DEC Alpha, $OS == osf1
@ 1993-11-08 12:50 Joseph Jacob
  1993-11-08 15:32 ` John T. Kohl
  1993-11-09  4:26 ` Karen Kolling
  0 siblings, 2 replies; 10+ messages in thread
From: Joseph Jacob @ 1993-11-08 12:50 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1993-11-10 15:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-08 12:50 HELP!! : Unaligned access error on DEC Alpha, $OS == osf1 Joseph Jacob
1993-11-08 15:32 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox