home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8842 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.6 KB

  1. Xref: sparky comp.unix.ultrix:8842 comp.unix.wizards:5205
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
  3. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  4. Newsgroups: comp.unix.ultrix,comp.unix.wizards
  5. Subject: Re: malloc on ultrix
  6. Message-ID: <1992Dec12.232417.1526@thunder.mcrcim.mcgill.edu>
  7. Date: 12 Dec 92 23:24:17 GMT
  8. References: <Byys01.6qs@ansoft.com> <1992Dec9.142830.706@aosg.gsf.dec.com>
  9. Distribution: na
  10. Organization: McGill Research Centre for Intelligent Machines
  11. Lines: 27
  12.  
  13. > Distribution: usa
  14.  
  15. Someone is leaking USA distribution out of the US....
  16.  
  17. In article <1992Dec9.142830.706@aosg.gsf.dec.com>, gaf@alpha.aosg.gsf.dec.com (Gerald Feldman) writes:
  18. > In article <Byys01.6qs@ansoft.com>, elliot@truth.ansoft.com (mike elliot) writes:
  19.  
  20. >> I am writing a memory allocator for my application, and under Ultrix
  21. >> I get a bunch of `Fixed up unaligned data access' messages.
  22. > Ultrix per se. does not require any data alignment.
  23.  
  24. Aren't there some things that must be on page boundaries?
  25.  
  26. > However, if you are using Ultrix on a DECStation (not a VAX), then
  27. > you need to align on a longword boundary.  While this does not
  28. > necessary apply to your application, malloc() must return a pointer
  29. > to memory that is properly aligned.  You need to provide more data on
  30. > the fixup messages.  I am assuming that these are from ld.
  31.  
  32. More likely, I'd say, from the kernel at run-time, as the kernel
  33. notices an unaligned access trap and chooses to handle it by simulating
  34. the unaligned reference.
  35.  
  36.                     der Mouse
  37.  
  38.                 mouse@larry.mcrcim.mcgill.edu
  39.