Need a cmake check for g++-multilib (`Build error: "bits/c++config.h: No such file or directory"`)
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
I just pulled the latest tip of rr and tried to build, and got the following:
[ 0%] Building CXX object CMakeFiles/std_random_32.dir/32/std_random.cc.o
In file included from /usr/include/c++/6/stdlib.h:36:0,
from /home/botond/dev/mozilla/rr/obj/32/util.h:10,
from /home/botond/dev/mozilla/rr/obj/32/std_random.cc:3:
/usr/include/c++/6/cstdlib:41:28: fatal error: bits/c++config.h: No such file or directory
#include <bits/c++config.h>
^
compilation terminated.
Blew away my object directory and recreated it, no difference.
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 at the CMake configuration and build entry point for the 32-bit std_random target, then reproduce the reported missing bits/c++config.h failure. Done means configuration detects missing g++ multilib support before compilation and reports the problem clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100