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

           Summary: cross-compilation fails with "cannot check for file
                    existence when cross compiling"
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: john.tyt...@aaug.net


Cross-compilation of gcc 4.6 trunk r168391 (target: arm-unknown-eabi) fails in
libstdc++ with in its config.log file:

--8<--
configure:58588: $? = 0
configure:58596: result: yes
configure:58604: visibility supported: yes
configure:58964: checking for makeinfo
configure:58991: result: makeinfo --split-size=5000000
configure:59001: checking for modern makeinfo
configure:59016: result: yes
configure:59037: checking for doxygen
configure:59053: found /usr/bin/doxygen
configure:59065: result: yes
configure:59075: checking for dot
configure:59103: result: no
configure:59115: checking for xsltproc
configure:59131: found /usr/bin/xsltproc
configure:59143: result: yes
configure:59153: checking for xmllint
configure:59169: found /usr/bin/xmllint
configure:59181: result: yes
configure:59189: checking for
/usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION
configure:59195: error: cannot check for file existence when cross compiling
--8<--

I believe this is because of recent change:

--8<--
r168382 | bkoz | 2010-12-31 23:20:22 +0100 (Fri, 31 Dec 2010) | 31 lines

2010-12-31  Benjamin Kosnik  <b...@redhat.com>

    * scripts/run_doxygen: Allow doxygen 1.7.1 again.

    * doc/xml/manual/build_hacking.xml: Update.
    * doc/xml/images/confdeps.dot: Same.
    * doc/xml/images/confdeps.png: Same.

    * configure.ac: Define BUILD_INFO, BUILD_XML, BUILD_HTML,
    BUILD_MAN, BUILD_PDF, BUILD_EPUB conditionally.
    * Makefile.am (xml, html, pdf, man, info, pd, dvi, epub): Define,
    and install rules.
    * doc/Makefile.am: Same. Add stamp rules.
    (doc-epub-docbook): Add.
    (stamp-xml-single-docbook): Make set too.
    * configure: Regenerate.
    * Makefile.in: Same.
    * doc/Makefile.in: Same.
    * include/Makefile.in: Same.
    * libsupc++/Makefile.in: Same.
    * po/Makefile.in: Same.
    * python/Makefile.in: Same.
    * src/Makefile.in: Same.
    * testsuite/Makefile.in: Same.
    * aclocal.m4: Same.

2010-12-31  Benjamin Kosnik  <b...@redhat.com>

    * doc/doxygen/user.cfg.in: Disable PDF_HYPERLINKS.
--8<--

Reply via email to