[Bug pch/14940] New: PCH largefile test fails on various platforms

ian at wasabisystems dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 13 14:48:00 GMT 2004


The PCH largefile test, in gcc/testsuite/gcc.dg/pch/pch.exp, fails using the
default mmap implementation on i386-unknown-netbsdelf1.6.1.

It also fails using the Solaris implementation on sparc-sun-solaris2.9.  It
fails on i686-pc-cygwin, although actually most of the PCH tests fail on that
platform.

A failure in the PCH largefile test for a given platform means that PCH is
unstable for that platform.  A PCH will work for most source code files but will
fail for large source code files.  The user can not easily predict when a PCH
will work and when it will fail.  When a PCH fails, there is no easy way to
compile the file without removing the PCH so that gcc does not find it.

On i386-unknown-netbsdelf1.6.1, and probably other platforms, a direct
consequence is that qt-x11-free-3.3.0 can not be built.  Those sources test
whether PCH works, and use it if they do.  The test passes, but some of the
source files are large.  Those source files fail to build.

-- 
           Summary: PCH largefile test fails on various platforms
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: pch
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ian at wasabisystems dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i386-unknown-netbsdelf1.6.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940



More information about the Gcc-bugs mailing list