From: Integration <abrams@philos.umass.edu>
Subject: Alignment, traps and alphas
Date: Wed, 30 Jul 1997 23:15:51 -0400 (EDT) [thread overview]
Message-ID: <b63468ccf5daf0ec43c9e5f1392c9735.axp-list@archive.invalid> (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
reply other threads:[~1997-07-31 3:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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