| Summary: | Unable to build with ccache enabled. | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Paul Stewart <paul> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED MOVED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | 2023.05.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
cmake error log
cmake output log |
||
Created attachment 9646 [details]
cmake output log
Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
|
Created attachment 9643 [details] cmake error log When building with ccache enabled, I get the following error during the ccache build: " ... snip -- Ccache version: 4.7.4 -- Ccache dev mode: OFF -- Performing Test std_atomic_without_libatomic -- Performing Test std_atomic_without_libatomic - Success -- Performing Test std_filesystem_without_libfs -- Performing Test std_filesystem_without_libfs - Failed -- Performing Test std_filesystem_with_libfs -- Performing Test std_filesystem_with_libfs - Failed CMake Error at cmake/StdFilesystem.cmake:22 (message): Toolchain doesn't support std::filesystem with nor without -lstdc++fs Call Stack (most recent call first): cmake/StandardSettings.cmake:57 (include) CMakeLists.txt:70 (include) -- Configuring incomplete, errors occurred! See also "/home/paul/src/pi2/buildroot/build/host-ccache-4.7.4/CMakeFiles/CMakeOutput.lo g". See also "/home/paul/src/pi2/buildroot/build/host-ccache-4.7.4/CMakeFiles/CMakeError.log ". make[1]: *** [package/pkg-generic.mk:283: /home/paul/src/pi2/buildroot/build/host-ccache -4.7.4/.stamp_configured] Error 1 make: *** [Makefile:23: _all] Error 2 " Disabling ccache, everything builds properly. Also 2023.02.4 builds properly with ccache. I also tried building with "BR2_FORCE_HOST_BUILD=y" -- no change. Environment: - openSUSE Leap 15.5 Target: - Raspberry Pi 2