public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "clyon at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/94681] filesystem::sysmlink_status using stat instead of lstat when --disable-libstdcxx-filesystem-ts Date: Mon, 10 Aug 2020 14:37:12 +0000 [thread overview] Message-ID: <bug-94681-4-34FP7JUMJi@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-94681-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94681 Christophe Lyon <clyon at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clyon at gcc dot gnu.org --- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> --- The commit r11-2633 broke the build of libstdc++ on aarch64-none-elf. My build logs say: /tmp/7968837_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/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&)': /tmp/7968837_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libstdc++-v3/src/c++17/fs_ops.cc:1178:9: error: '::lstat' has not been declared; did you mean 'std::filesystem::__gnu_posix::lstat'? 1178 | if (::lstat(p.c_str(), &st)) | ^~~~~ | std::filesystem::__gnu_posix::lstat In file included from /tmp/7968837_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libstdc++-v3/src/c++17/fs_ops.cc:58: /tmp/7968837_9.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libstdc++-v3/src/c++17/../filesystem/ops-common.h:131:14: note: 'std::filesystem::__gnu_posix::lstat' declared here 131 | inline int lstat(const char* path, stat_type* buffer) | ^~~~~ make[5]: *** [Makefile:572: fs_ops.lo] Error 1 make[5]: Leaving directory '/tmp/7968837_9.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64_be-none-elf/gcc3/aarch64_be-none-elf/libstdc++-v3/src/c++17' make[4]: *** [Makefile:732: all-recursive] Error 1
next prev parent reply other threads:[~2020-08-10 14:37 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-21 8:41 [Bug libstdc++/94681] New: " valentin.david at codethink dot co.uk 2020-04-21 8:42 ` [Bug libstdc++/94681] " redi at gcc dot gnu.org 2020-04-21 8:55 ` redi at gcc dot gnu.org 2020-08-10 12:22 ` cvs-commit at gcc dot gnu.org 2020-08-10 12:25 ` redi at gcc dot gnu.org 2020-08-10 14:37 ` clyon at gcc dot gnu.org [this message] 2020-08-10 16:04 ` redi at gcc dot gnu.org 2020-08-10 18:12 ` cvs-commit at gcc dot gnu.org 2020-09-21 23:00 ` cvs-commit at gcc dot gnu.org 2020-09-21 23:00 ` cvs-commit at gcc dot gnu.org 2020-09-21 23:14 ` cvs-commit at gcc dot gnu.org 2020-09-21 23:14 ` cvs-commit at gcc dot gnu.org 2020-09-21 23:14 ` redi at gcc dot gnu.org 2020-09-21 23:14 ` 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-94681-4-34FP7JUMJi@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: linkBe 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).