public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/96568] New: Cross compiler for epiphany and arm-none cannot be built
Date: Tue, 11 Aug 2020 12:50:48 +0000	[thread overview]
Message-ID: <bug-96568-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96568

            Bug ID: 96568
           Summary: Cross compiler for epiphany and arm-none cannot be
                    built
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

I see the following issue:

[  269s] ../../../../../libstdc++-v3/src/c++17/fs_ops.cc: In function
'std::filesystem::path std::filesystem::read_symlink(const
std::filesystem::path&, std::error_code&)':
[  269s] ../../../../../libstdc++-v3/src/c++17/fs_ops.cc:1178:9: error:
'::lstat' has not been declared; did you mean
'std::filesystem::__gnu_posix::lstat'?
[  269s]  1178 |   if (::lstat(p.c_str(), &st))
[  269s]       |         ^~~~~
[  269s]       |         std::filesystem::__gnu_posix::lstat
[  269s] In file included from
../../../../../libstdc++-v3/src/c++17/fs_ops.cc:58,
[  269s]                  from
../../../../../libstdc++-v3/src/c++17/cow-fs_ops.cc:26:
[  269s]
../../../../../libstdc++-v3/src/c++17/../filesystem/ops-common.h:131:14: note:
'std::filesystem::__gnu_posix::lstat' declared here
[  269s]   131 |   inline int lstat(const char* path, stat_type* buffer)
[  269s]       |              ^~~~~
[  270s] ../../../../../libstdc++-v3/src/c++17/fs_ops.cc: In function
'std::filesystem::__cxx11::path std::filesystem::read_symlink(const
std::filesystem::__cxx11::path&, std::error_code&)':
[  270s] ../../../../../libstdc++-v3/src/c++17/fs_ops.cc:1178:9: error:
'::lstat' has not been declared; did you mean
'std::filesystem::__gnu_posix::lstat'?
[  270s]  1178 |   if (::lstat(p.c_str(), &st))
[  270s]       |         ^~~~~
[  270s]       |         std::filesystem::__gnu_posix::lstat
[  270s] In file included from
../../../../../libstdc++-v3/src/c++17/fs_ops.cc:58:
[  270s]
../../../../../libstdc++-v3/src/c++17/../filesystem/ops-common.h:131:14: note:
'std::filesystem::__gnu_posix::lstat' declared here
[  270s]   131 |   inline int lstat(const char* path, stat_type* buffer)
[  270s]       |              ^~~~~

             reply	other threads:[~2020-08-11 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-11 12:50 marxin at gcc dot gnu.org [this message]
2020-08-11 12:51 ` [Bug libstdc++/96568] " marxin at gcc dot gnu.org
2020-08-11 15:20 ` redi at gcc dot gnu.org
2020-08-11 15:44 ` redi 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-96568-4@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).