[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 --- Comment #9 from sudi at gcc dot gnu.org --- Thanks!
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Mon May 21 12:29:33 2018 New Revision: 260440 URL: https://gcc.gnu.org/viewcvs?rev=260440&root=gcc&view=rev Log: PR libstdc++/85818 make new test require Filesystem support PR libstdc++/85818 * testsuite/experimental/filesystem/path/preferred_separator.cc: Add dg-require-filesystem-ts. Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/testsuite/experimental/filesystem/path/preferred_separator.cc
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #8 from Jonathan Wakely --- Should be OK now.
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #8 from Jonathan Wakely --- Should be OK now.
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Mon May 21 12:27:00 2018 New Revision: 260439 URL: https://gcc.gnu.org/viewcvs?rev=260439&root=gcc&view=rev Log: PR libstdc++/85818 make new test require Filesystem support PR libstdc++/85818 * testsuite/experimental/filesystem/path/preferred_separator.cc: Add dg-require-filesystem-ts. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/experimental/filesystem/path/preferred_separator.cc
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #5 from Jonathan Wakely --- Oops, the test should be disabled on that target.
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 sudi at gcc dot gnu.org changed: What|Removed |Added CC||sudi at gcc dot gnu.org --- Comment #4 from sudi at gcc dot gnu.org --- I have observed the following failures on baremetals aarch64-none-elf, aarch64_be-none-elf and arm-none-eabi nightly tests for both trunk and gcc-8 branch. FAIL: experimental/filesystem/path/preferred_separator.cc (test for excess errors) with compilation terminated. compiler exited with status 1 output is: /build/src/gcc/libstdc++-v3/testsuite/experimental/filesystem/path/preferred_separator.cc:21: fatal error: experimental/filesystem: No such file or directory compilation terminated.
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #3 from Jonathan Wakely --- Fixed for 8.2
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Thu May 17 16:10:26 2018 New Revision: 260328 URL: https://gcc.gnu.org/viewcvs?rev=260328&root=gcc&view=rev Log: PR libstdc++/85818 ensure path::preferred_separator is defined Because path.cc is compiled with -std=gnu++17 the static constexpr data member is implicitly 'inline' and so no definition gets emitted unless it gets used in that translation unit. Other translation units built as C++11 or C++14 still require a namespace-scope definition of the variable, so mark the definition as used. PR libstdc++/85818 * src/filesystem/path.cc (path::preferred_separator): Add used attribute. * testsuite/experimental/filesystem/path/preferred_separator.cc: New. Added: branches/gcc-8-branch/libstdc++-v3/testsuite/experimental/filesystem/path/preferred_separator.cc Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/src/filesystem/path.cc
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Thu May 17 15:36:25 2018 New Revision: 260326 URL: https://gcc.gnu.org/viewcvs?rev=260326&root=gcc&view=rev Log: PR libstdc++/85818 ensure path::preferred_separator is defined Because path.cc is compiled with -std=gnu++17 the static constexpr data member is implicitly 'inline' and so no definition gets emitted unless it gets used in that translation unit. Other translation units built as C++11 or C++14 still require a namespace-scope definition of the variable, so mark the definition as used. PR libstdc++/85818 * src/filesystem/path.cc (path::preferred_separator): Add used attribute. * testsuite/experimental/filesystem/path/preferred_separator.cc: New. Added: trunk/libstdc++-v3/testsuite/experimental/filesystem/path/preferred_separator.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/src/filesystem/path.cc
[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2018-05-17 Known to work||6.4.0, 7.3.0 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Target Milestone|--- |8.2 Ever confirmed|0 |1 Known to fail||8.1.0, 9.0