Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: charette@ultoe.det.dec.com (Mark Charette)
Subject: Re: DEC AXP OSF/1 C compilers
Date: 23 Apr 1993 21:54:31 GMT	[thread overview]
Message-ID: <1r9oinINNvu@lemans.det.dec.com> (raw)
In-Reply-To: C5u8Bw.Foy@acsu.buffalo.edu

Ajay Shekhawat (ajay@cs.buffalo.edu) wrote:
: : > On a similar note: Why does the linker give a seg. fault when using the
: : >  -O4 or -O3 options?  This is with the "cc" compiler, on a 3000/500. 
: : 
: 	
: 	Fatal error in: /usr/lib/cmplrs/cc/umerge Segmentation fault

Try compiling using the -c option and use ld with a -O of less than 2
for the final link. The -O option is also passed to ld, which will seg fault
on large programs if it is larger that -O1. The difference in speed for
the executable using -O1 instead of -O2 ends up being negligible. The bug 
in ld has been reported to DEC engineering. 
--
Mark Charette              |Save plants and animals. Eat a vegetarian 
Fisher Engineering Systems |today.
charette@ultoe.det.dec.com |
(313) 280-0703             | 


      reply	other threads:[~1993-04-23 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-20 20:11 DEC AXP OSF/1 C compilers G.V. Stuart
1993-04-20 23:42 ` Ajay Shekhawat
1993-04-21  8:33   ` James Bonfield
1993-04-21 14:31     ` Ajay Shekhawat
1993-04-23 21:54       ` Mark Charette [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox