This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH and exec-shield...
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Mike Stump <mrs at apple dot com>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, Ian Lance Taylor <ian at wasabisystems dot com>, law at redhat dot com, Eric Christopher <echristo at redhat dot com>, David Daney <ddaney at avtrex dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 16 Mar 2004 14:32:16 -0800
- Subject: Re: PCH and exec-shield...
- Organization: CodeSourcery, LLC
- References: <74DFCDDC-7797-11D8-86A0-003065A77310@apple.com>
Mike Stump wrote:
And, on some systems it's the only option;
So, out of curiosity, on what system is it the only option?
HP-UX is a system where I, at least, do not know how to make this
reliably, especially on all variants of HP-UX. There are enough
variants and sub-variants that it would be hard to even really test them
all.
On other systems, it's extremely difficult/impossible to get a single
PCH to be loaded at the same address reliably across versions of the OS,
or even on machines running the same version of the OS but configured
differently. In the past, we've had this problem on Solaris, for
example. In situations where you have NFS-mounted filesytems shared by
lots of developers, it's often advantageous to be able to use the same
PCH file for all of the developers, even if it is not maximally fast for
all of them.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com