Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Alignment, traps and alphas
@ 1997-07-31  3:15 Integration
  0 siblings, 0 replies; only message in thread
From: Integration @ 1997-07-31  3:15 UTC (permalink / raw)


Hello,

I would appreciate the help of an alpha/C veteran.

I am attempting to make a huge database program work on my RH4.2 alpha 
linux machine.  It already works find for i386 compiles, as well as for 
alpha/OSF.  It breaks on linux alpha though.

It compiles, but generates a BUS ERROR with corresponding kernel message:
unaligned trap at...

What I need to do is figure out what is unaligned and why.  Suspicious 
fingers point to two shared memory structures defined in various places 
in the RH4.2 headers:

struct sembuf
and union semun

If anyone can provide general help, PLEASE!  If not, I need to know 
(where I can find) the integer alignment width on an alpha chip, as well 
as the pointer, long int, short unsigned int and char sizes for that 
chip.  My suspicion really is that the RH headers MUST be wrong, since 
this puppy compiles on an OSF alpha (or, maybe that suggests that there 
is an OS related setup that needs to end up in the LINUX section that 
right now merely rests in the ALPHA section of the code I'm compiling).

Any help will be appreciated.

Eddie
abrams@philos.umass.edu

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-07-31  3:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-31  3:15 Alignment, traps and alphas Integration

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