Merge lp://staging/~afrantzis/mir/fix-1577357-pthread-link into lp://staging/mir
Proposed by
Alexandros Frantzis
Status: | Merged |
---|---|
Approved by: | Alexandros Frantzis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3566 |
Proposed branch: | lp://staging/~afrantzis/mir/fix-1577357-pthread-link |
Merge into: | lp://staging/mir |
Diff against target: |
31 lines (+5/-5) 1 file modified
examples/mir_demo_server_loader.cpp (+5/-5) |
To merge this branch: | bzr merge lp://staging/~afrantzis/mir/fix-1577357-pthread-link |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mir CI Bot | continuous-integration | Approve | |
Cemil Azizoglu (community) | Approve | ||
Kevin DuBois (community) | Approve | ||
Review via email: mp+298622@code.staging.launchpad.net |
Commit message
examples: Work around pthread linking issues when using LTO
Description of the change
examples: Work around pthread linking issues when using LTO
Our previous workaround, which was enough for the gold/libstdc++ bug, isn't sufficient for the LTO/pthread issue. The new workaround creates a dummy std::thread which forces pthread linkage in all cases.
To post a comment you must log in.
FAILED: Continuous integration, rev:3565 /mir-jenkins. ubuntu. com/job/ mir-ci/ 1211/ /mir-jenkins. ubuntu. com/job/ build-mir/ 1389/console /mir-jenkins. ubuntu. com/job/ build-0- fetch/1440 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1431 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 1431 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= vivid+overlay/ 1403 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= vivid+overlay/ 1403/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial/ 1403 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial/ 1403/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 1403 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= cross-armhf, compiler= gcc,platform= android, release= vivid+overlay/ 1403/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 1403 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 1403/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial/ 1403/console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 1211/rebuild
https:/