Import std module with gcc libstdc++ get wrong path in gentoo...
I find a bug in my gentoo: Environment: - CMake-9999(newest git version) - GCC-9999(newest git version) CMakeLists.txt ```cmake cmake_minimum_required(VERSION 3.31.0) set(CMAKE_CXX_STANDARD 23) add_compile_options(/utf-8) set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "a9e1cf81-9932-4810-974b-6eccaf14e457") set(CMAKE_CXX_STANDARD_REQUIRED OFF) set(CMAKE_CXX_MODULE_STD 1) project(cpptest VERSION 0.1.0 LANGUAGES CXX) add_executable(cpptest main.cpp) ``` main.cpp ```cpp import std; int main(){ std::println("Hello world!"); } ``` ```shell CMake Error at build/CMakeFiles/3.31.20250115-gd973339-dirty/CMakeCXXCompiler.cmake:101 (target_sources): Cannot find source file: /usr/lib/gcc/x86_64-pc-linux-gnu/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std.cc Call Stack (most recent call first): /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:91 (include) CMakeLists.txt:8 (project) CMake Error in CMakeLists.txt: No SOURCES given to target: __CMAKE__CXX23@synth_a7f66412c2c0 ``` After I change the path in 'CMakeCXXCompiler.cmake' munually, it's compiled correctly...
issue