public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
Date: Mon, 03 Jan 2011 16:12:00 -0000 [thread overview]
Message-ID: <bug-47145-4-Fd0Qim8PC4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-47145-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-03 16:11:45 UTC ---
On Mon, 3 Jan 2011, ktietz at gcc dot gnu.org wrote:
> The issue here is AC_CHECK_FILE, which is documented to not work for
> cross-compiling scenario. By replacing this to test -f, it should working for
> native and cross-compile.
There were also comments that the path is sometimes wrong. Using test -f
should fix the immediate regression - but it would be better not to
hardcode paths at all. Presumably the issue is that some particular
stylesheets are needed *in the path searched by the tools being tested
for*, which may depend on how those tools were configured and may not be
in /usr at all. So it would be better to have a feature test - run the
tools (if found) on a suitable document to see if they can find the
required stylesheets. Perhaps the libstdc++ maintainers could comment on
what the actual feature required is for which a path test is being used as
a bad proxy?
next prev parent reply other threads:[~2011-01-03 16:12 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-01 15:23 [Bug libstdc++/47145] New: " John.Tytgat at aaug dot net
2011-01-02 0:32 ` [Bug libstdc++/47145] [4.6 Regression] " jsm28 at gcc dot gnu.org
2011-01-03 13:33 ` ktietz at gcc dot gnu.org
2011-01-03 14:19 ` ktietz at gcc dot gnu.org
2011-01-03 14:46 ` ktietz at gcc dot gnu.org
2011-01-03 15:15 ` paolo.carlini at oracle dot com
2011-01-03 16:12 ` joseph at codesourcery dot com [this message]
2011-01-03 16:37 ` paolo.carlini at oracle dot com
2011-01-03 18:04 ` redi at gcc dot gnu.org
2011-01-03 21:44 ` rguenth at gcc dot gnu.org
2011-01-04 13:03 ` paolo.carlini at oracle dot com
2011-01-04 13:28 ` ktietz at gcc dot gnu.org
2011-01-04 17:27 ` bkoz at gcc dot gnu.org
2011-01-04 17:43 ` redi at gcc dot gnu.org
2011-01-04 18:00 ` ktietz at gcc dot gnu.org
2011-01-04 18:23 ` paolo.carlini at oracle dot com
2011-01-04 18:57 ` jakub at gcc dot gnu.org
2011-01-04 20:10 ` doko at ubuntu dot com
2011-01-05 5:09 ` dongsheng.song at gmail dot com
2011-01-05 5:31 ` dongsheng.song at gmail dot com
2011-01-05 10:08 ` redi at gcc dot gnu.org
2011-01-05 11:46 ` ramana at gcc dot gnu.org
2011-01-05 11:50 ` paolo.carlini at oracle dot com
2011-01-05 12:23 ` [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path redi at gcc dot gnu.org
2011-03-01 21:32 ` bkoz at gcc dot gnu.org
2011-03-02 17:44 ` bkoz at gcc dot gnu.org
2011-03-08 0:04 ` bkoz at gcc dot gnu.org
2011-03-17 22:01 ` doko at ubuntu dot com
2011-03-22 9:38 ` bkoz at gcc dot gnu.org
2011-03-22 9:50 ` doko at ubuntu dot com
2011-03-25 19:59 ` jakub at gcc dot gnu.org
2011-04-28 17:22 ` rguenth at gcc dot gnu.org
2012-02-02 20:25 ` bkoz at gcc dot gnu.org
2012-02-16 20:09 ` bkoz at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-47145-4-Fd0Qim8PC4@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).