PCH and exec-shield...

Mark Mitchell mark@codesourcery.com
Tue Mar 16 22:37:00 GMT 2004


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



More information about the Gcc mailing list