[regression] FTBFS with -DMIR_LINK_TIME_OPTIMIZATION=on -Duse_debflags=on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Chris Halse Rogers | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Recently (I think since -r 1800) I've seen a linker error when combining -DMIR_LINK_
Linking CXX executable ../../bin/
CMakeFiles/
`_ZThn8_
`_ZThn8_
/usr/bin/ld: ../../bin/
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
tests/unit-
make[2]: *** [bin/mir_
Related branches
- Mir CI Bot: Approve (continuous-integration)
- Alan Griffiths: Approve
- Cemil Azizoglu (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Andreas Pokorny (community): Approve
-
Diff: 593 lines (+144/-59)30 files modifiedCMakeLists.txt (+7/-0)
benchmarks/frame-uniformity/CMakeLists.txt (+6/-0)
cmake/FindGtestGmock.cmake (+1/-1)
cmake/MirCommon.cmake (+42/-9)
debian/rules (+7/-1)
examples/CMakeLists.txt (+0/-2)
examples/animated_cursor_demo_client.c (+0/-2)
src/client/buffer_stream.cpp (+1/-1)
src/client/buffer_stream.h (+1/-1)
src/client/client_buffer_stream.h (+25/-2)
src/client/lttng/CMakeLists.txt (+5/-0)
src/client/screencast_stream.cpp (+1/-1)
src/client/screencast_stream.h (+1/-1)
src/common/sharedlibrary/module_deleter.cpp (+0/-3)
src/common/thread/thread_name.cpp (+0/-3)
src/include/client/mir/client_platform.h (+3/-1)
src/platforms/android/client/android_client_platform.cpp (+3/-6)
src/platforms/android/client/android_client_platform.h (+1/-1)
src/platforms/common/client/mir/aging_buffer.h (+3/-3)
src/platforms/mesa/client/client_platform.cpp (+3/-6)
src/platforms/mesa/client/client_platform.h (+1/-1)
src/server/report/lttng/CMakeLists.txt (+5/-0)
tests/acceptance-tests/throwback/test_client_library_errors.cpp (+1/-1)
tests/include/mir_test_framework/client_platform_factory.h (+20/-2)
tests/include/mir_test_framework/stub_client_platform_factory.h (+1/-1)
tests/mir_test/current_thread_name.cpp (+0/-3)
tests/mir_test_framework/stub_client_platform_factory.cpp (+2/-3)
tests/unit-tests/client/test_client_buffer_stream.cpp (+2/-2)
tests/unit-tests/client/test_client_platform.cpp (+1/-1)
tests/unit-tests/client/test_mir_connection.cpp (+1/-1)
no longer affects: | qtdeclarative-opensource-src (Ubuntu) |
Changed in mir: | |
assignee: | nobody → Chris Halse Rogers (raof) |
Changed in mir: | |
status: | New → In Progress |
Changed in mir: | |
milestone: | none → 0.19.0 |
summary: |
- FTBFS with -DMIR_LINK_TIME_OPTIMIZATION=on -Duse_debflags=on + [regression] FTBFS with -DMIR_LINK_TIME_OPTIMIZATION=on + -Duse_debflags=on |
tags: | added: regression |
Changed in mir: | |
milestone: | 0.19.0 → 0.20.0 |
Changed in mir: | |
milestone: | 0.20.0 → 0.21.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
This started with -r1800 "build: MIR_LINK_ TIME_OPTIMIZATI ON option to use link time optimization".
I had definitely tried this configuration before proposing that MP, so this must be an interaction with something that landed around that time. :(