https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/openxr-loader-1.0.20 fails to compile. Discovered on: amd64 (internal ref: guru_ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Created attachment 748215 [details] build.log build log and emerge --info
Possible context of error(s): -- Could NOT find glslc, using precompiled .spv files /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z22FileSysUtilsPathExistsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x64): undefined reference to `std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::__cxx11::path const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z23FileSysUtilsIsDirectoryRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x64): undefined reference to `std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::__cxx11::path const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z24FileSysUtilsCombinePathsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_RS4_+0x13c): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z24FileSysUtilsCombinePathsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_RS4_+0xde): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z25FileSysUtilsGetParentPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x7f): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::parent_path() const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z25FileSysUtilsIsRegularFileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x64): undefined reference to `std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::__cxx11::path const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z26FileSysUtilsIsAbsolutePathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x64): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::has_root_directory() const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z27FileSysUtilsFindFilesInPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE+0x130): undefined reference to `std::experimental::filesystem::v1::__cxx11::directory_iterator::operator*() const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z27FileSysUtilsFindFilesInPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE+0x1ef): undefined reference to `std::experimental::filesystem::v1::__cxx11::directory_iterator::operator++()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z27FileSysUtilsFindFilesInPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE+0x8e): undefined reference to `std::experimental::filesystem::v1::__cxx11::directory_iterator::directory_iterator(std::experimental::filesystem::v1::__cxx11::path const&, std::experimental::filesystem::v1::directory_options, std::error_code*)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z27FileSysUtilsGetAbsolutePathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x80): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z27FileSysUtilsGetAbsolutePathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x9b): undefined reference to `std::experimental::filesystem::v1::absolute(std::experimental::filesystem::v1::__cxx11::path const&, std::experimental::filesystem::v1::__cxx11::path const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z28FileSysUtilsGetCanonicalPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x80): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: filesystem_utils.cpp:(.text._Z28FileSysUtilsGetCanonicalPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x9b): undefined reference to `std::experimental::filesystem::v1::canonical(std::experimental::filesystem::v1::__cxx11::path const&, std::experimental::filesystem::v1::__cxx11::path const&)' filesystem_utils.cpp:(.text._Z22FileSysUtilsPathExistsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5c): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' filesystem_utils.cpp:(.text._Z23FileSysUtilsIsDirectoryRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5c): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' filesystem_utils.cpp:(.text._Z24FileSysUtilsCombinePathsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_RS4_+0x7a): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' filesystem_utils.cpp:(.text._Z25FileSysUtilsGetParentPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x6c): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' filesystem_utils.cpp:(.text._Z25FileSysUtilsIsRegularFileRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5c): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' filesystem_utils.cpp:(.text._Z26FileSysUtilsGetCurrentPathRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x2d): undefined reference to `std::experimental::filesystem::v1::current_path[abi:cxx11]()' filesystem_utils.cpp:(.text._Z26FileSysUtilsIsAbsolutePathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5c): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' filesystem_utils.cpp:(.text._Z27FileSysUtilsFindFilesInPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE+0x7d): undefined reference to `std::experimental::filesystem::v1::__cxx11::path::_M_split_cmpts()' filesystem_utils.cpp:(.text._Z27FileSysUtilsGetAbsolutePathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x40): undefined reference to `std::experimental::filesystem::v1::current_path[abi:cxx11]()' filesystem_utils.cpp:(.text._Z28FileSysUtilsGetCanonicalPathRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERS4_+0x40): undefined reference to `std::experimental::filesystem::v1::current_path[abi:cxx11]()' collect2: error: ld returned 1 exit status
I can't reproduce the bug with media-libs/openxr-loader-1.1.40-r1. Probably it's been already fixed by some release. I suppose the bug could be closed.
Upstream has resolved this since 1.0.21. https://github.com/KhronosGroup/OpenXR-SDK-Source/commit/cd49672b5305eaa3d365389017e74f877f288c04