Mir threadsanitizer build fails with GCC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A build configured with cmake -DCMAKE_
CMake Error at /usr/share/
The C++ compiler "/usr/bin/c++" is not able to compile a simple test
program.
It fails with the following output:
Change Dir: /home/alberto/
Run Build Command:
make[3]: Entering directory
'/home/
/usr/bin/make -f CMakeFiles/
CMakeFiles/
make[4]: Entering directory
'/home/
/usr/bin/cmake -E cmake_progress_
/home/
1
Building CXX object
CMakeFiles/
/usr/bin/c++ -fPIC -fsanitize=thread -o
CMakeFiles/
/home/
Linking CXX executable cmTryCompileExe
/usr/bin/cmake -E cmake_link_script
CMakeFiles/
/usr/bin/c++ -fPIC -fsanitize=thread
CMakeFiles/
cmTryCompileE
CMakeFiles/
function `_GLOBAL_
testCXXCompil
collect2: error: ld returned 1 exit status
CMakeFiles/
'cmTryCompile
make[4]: *** [cmTryCompileEx
make[4]: Leaving directory
'/home/
Makefile:117: recipe for target 'cmTryCompileEx
make[3]: Leaving directory
'/home/
make[3]: *** [cmTryCompileEx
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:40 (project)
Related branches
- Alexandros Frantzis (community): Approve
- Alan Griffiths: Approve
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 75 lines (+15/-10)4 files modifiedCMakeLists.txt (+3/-0)
cmake/FindGtestGmock.cmake (+7/-0)
cmake/MirCommon.cmake (+4/-6)
tools/tsan-suppressions (+1/-4)
Changed in mir: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.19.0