Docker编译过程中gcc版本报错
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 657
- PR merge metrics
- No merged PRs in 30d
Description
λ 7b8f9c1b111f /home/AnyQ/build {master} make
[ 4%] Built target extern_leveldb
[ 9%] Built target extern_jsoncpp
[ 13%] Built target extern_gtest
[ 18%] Built target extern_xgboost
[ 22%] Built target extern_eigen
[ 26%] Built target extern_paddle
[ 31%] Built target extern_curl
[ 32%] Performing build step for 'extern_lac'
-- CXX compiler: /usr/bin/c++, version: GNU 4.8.5
-- C compiler: /usr/bin/cc, version: GNU 4.8.5
CMake Error at CMakeLists.txt:12 (message):
A gcc compiler with a version >= 4.8.2 is needed.
-- Configuring incomplete, errors occurred!
See also "/home/AnyQ/build/third_party/lac/src/lac/CMakeFiles/CMakeOutput.log".
CMakeFiles/extern_lac.dir/build.make:111: recipe for target 'third_party/lac/src/extern_lac-stamp/extern_lac-build' failed
make[2]: *** [third_party/lac/src/extern_lac-stamp/extern_lac-build] Error 1
CMakeFiles/Makefile2:585: recipe for target 'CMakeFiles/extern_lac.dir/all' failed
make[1]: *** [CMakeFiles/extern_lac.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with make from /home/AnyQ/build and inspect third_party/lac/src/lac/CMakeLists.txt at line 12, along with the generated CMakeOutput.log. Verify why the reported GNU 4.8.5 compiler is rejected despite the stated >= 4.8.2 requirement; done means the Docker build configures and completes successfully with the supported compiler.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, docker
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100