This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug pch/14400] Cannot compile qt-x11-free-3.3.0


On Saturday, April 3, 2004, at 07:38 PM, Ian Lance Taylor wrote:
Any thoughts on how difficult it would be to, when a PCH can not be
loaded at the correct address, skip the PCH and try for the original
header files?

Just move the call that tries the mmap of the pch file to the validation routine. The issue there is we'd need to think about trying to mmap twice. Currently, we only ever do it once. We would try and mmap more than once when there are multiple PCH files for the same source, as we run thought all of them, trying to validate each one.


Of course, the result will not necessarily be equivalent--the original headers
might not be present, or might have been modified since the PCH was created.

This issue is known and expected and not an issue.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]