[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#65491: lpd generates unaligned traps

  [Adam Klein <aklein@debian.org>]
> > What can I do to fix this?
[David Huggins-Daines <dhd@linuxcare.com>]
> Wait for someone with an Alpha and a debugger to find the problem :-)

If I'm not mistaken, "unaligned trap" means someone is doing something

  void foo(char *x)
    int *c = (int *)x;


and the char* passed in is not necessarily 32-bit-aligned.  Some CPUs
(like the Alpha) care deeply about this sort of thing, others (like the 
Intel) don't really, except for some loss of efficiency.

Is that correct?  Can someone definitively support or refute my
understanding here?


Reply to: