The problem would only occur when using dpkg-buildpackage. (slightly different link order was generated).
The symbols that were missing were templates from gmock that were generated and in the mock_egl.cpp.o file. Given the right link order (namely, mirserver.so before libmir-test-assist.a), things would resolve correctly. If mirserver.so came after libmir-test-assist.a, then the egl functions would get resolved, but for whatever reason, the weak symbols generated as part of the gmock stuff wouldn't get pulled in again before getting to the end of the linkage list. The proper solution seems to be to use -Wl,--whole-archive to make sure that the symbols generated from the gmock templates are still available despite linkage order ** Changed in: mir Assignee: (unassigned) => Kevin DuBois (kdub) ** Branch linked: lp:~kdub/mir/fix-1601810 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1601810 Title: ftbfs in linking libmir-test-assist.a in xenial+overlay and yakkety+overlay To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1601810/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs