build issue with older GCC - explicit link to libstdc++fs needed
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
Together with the two previous sent PRs this restores the build on RHEL8; but as I'm no cmake guy and https://gitlab.kitware.com/cmake/cmake/-/issues/17834 did not look like there's an easy solution, I've just manually added -lstdc++fs to CMakeFiles/rr.dir/link.txt after seeing the error about the missing link during make, leaving the correct solution to others.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the older-GCC/RHEL8 failure during make and inspect the generated CMakeFiles/rr.dir/link.txt mentioned in the report. Trace the CMake configuration that produces the link command; done means a clean RHEL8 build links successfully without manually editing the generated file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100