From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199707310008.SAA29234@ellpspace.math.ualberta.ca> Date: Wed, 30 Jul 1997 23:15:51 -0400 (EDT) From: Integration Subject: Alignment, traps and alphas 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