[Bug c++/39206] New: gcc fails to create precompiled header-file

jd at ts dot ray dot fi gcc-bugzilla@gcc.gnu.org
Mon Feb 16 17:43:00 GMT 2009


(cross)gcc fails to create precompiled header-file, because for some
reason (v.pch_init != &pch_init)

first time this failure occures when libstdc++/configure
tests whether to generate pch/gch-files or not.
Error message is:
  conftest.cc:1:22: error: conftest.h.gch: had text segment at different
address


-------------------

Using built-in specs.
Target: i686-unknown-linux-gnu
Configured with:
/tmp/makedir/gcc-crosstoolng-1.2.4/targets/src/gcc-4.2.4/configure
--build=x86_64-pc-linux-gnu --target=i686-unknown-linux-gnu
--host=x86_64-pc-linux-gnu
--prefix=/apkgs/crossgcc/42/i686-unknown-linux-gnu/gcc424-b218-c261-k2626
--with-sysroot=/apkgs/crossgcc/42/i686-unknown-linux-gnu/gcc424-b218-c261-k2626/i686-unknown-linux-gnu/sys-root
--enable-languages=c,c++ --disable-multilib --with-arch=i686 --with-cpu=i686
--with-tune=i686 --enable-__cxa_atexit
--with-local-prefix=/apkgs/crossgcc/42/i686-unknown-linux-gnu/gcc424-b218-c261-k2626/i686-unknown-linux-gnu/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
Thread model: posix
gcc version 4.2.4

---------
OS: Gentoo Base System release 1.12.9 (2006.1) with kernel 2.6.27.1

   another machine with same gentoo, but different kernel 2.6.22 works ok.


-- 
           Summary:  gcc fails to create precompiled header-file
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jd at ts dot ray dot fi
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: i686-unknown-linux-gnu


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



More information about the Gcc-bugs mailing list