I'm attempting to compile some C code in which I'd like to byte align the
data structure elements. A quick look at the manual page looks like I
should use either the -Zpn flag or a combination of -migrate and
-nomemmber_alignment.
Using either of these generates code without warnings, but which core
dumps on a fprintf call. Dbx says:
(dbx) run -d
signal Segmentation fault at >*[memcpy, 0x3ff80847ee4] stq_u r3, 0(r16)
which looks like it's somewhere in a system library. Needless to say the
same code _without_ byte alignment runs flawlessly.
Am I'm doing something wrong, or is there a problem with the
compiler/libraries? Any ideas anyone?
Simon
--
Simon Greaves email: S.J.Greaves_at_hw.ac.uk
Systems development manager phone: +44 (0) 131 451 3265
Computer Centre, Heriot-Watt University fax: +44 (0) 131 451 3261
Edinburgh, EH14 4AS, UK
Received on Thu Aug 01 1996 - 18:52:29 NZST