* DU3.2D-1 code bombs if not member aligned?
@ 1996-08-01 16:22 Simon Greaves
0 siblings, 0 replies; only message in thread
From: Simon Greaves @ 1996-08-01 16:22 UTC (permalink / raw)
To: tru64-unix-managers
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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-08-01 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-01 16:22 DU3.2D-1 code bombs if not member aligned? Simon Greaves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox