[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
Fixed! Somewhere. In the past few days. Now linking mir_unit_tests.bin only takes 15.9 seconds, which is much more pleasant than 3 minutes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
[Expired for Mir because there has been no activity for 60 days.] ** Changed in: mir Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
[Expired for binutils (Ubuntu) because there has been no activity for 60 days.] ** Changed in: binutils (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
Although cross compiling to some architectures (e.g. arm64) is still fast on xenial. Possibly because the xenial cross compilers are still gcc 5.2 instead of 5.3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
Steps to reproduce (for doko): Starting with the Mir source (download a tarball or get lp:mir) ... $ mkdir build $ cd build/ $ cmake .. $ make -j4 $ rm bin/mir_unit_tests.bin $ time make mir_unit_tests In wily it takes about 30 seconds for the link of mir_unit_tests.bin. In xenial it's over 3 minutes now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
I don't know how to easily prove the regression is in the step from gcc 5.2 to 5.3 without an infeasible amount of work. Not worth it right now. ** Changed in: binutils (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
I *think* I can now exclude differences in libraries, as today I managed to build the code on xenial:amd64 with a chroot of wily:amd64. So the change in libraries on xenial does not seem to be the problem. It's still slow. So assuming than analysis is correct, it's probably only the compiler difference left to check. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
In restoring working cross-compile support (bug 1523801) on the affected host I can reproduce something like fast builds again -- Cross compiling is still fast (30 seconds to link mir_unit_tests.bin) but the default native gcc/ld for xenial takes over 3 minutes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
... so if the issue is not the difference in libraries on xenial then it might be due to the jump to gcc 5.3.1 (as gcc 5.2.1 is faster for cross compiling anyway). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
Tried, but can't test that. Putting the old binutils on the machine just makes the build fail: Linking CXX executable ../../bin/mir_unit_tests.bin /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o: unrecognised relocation (0x2a) in section `.init' /usr/bin/ld: final link failed: Bad value or starting again from scratch gives the same error and reports it as: CMake Error at /usr/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. Would need to downgrade the compilers on the machine too :P That said, I think there's also a chance that some 3rd party library we're pulling in (and have always pulled in) might cause this on xenial. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
could you check if a forced install of binutils 2.25.1 from wily fixes this? Is this also seen with the package in xenial? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1522726] Re: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds)
Hmm, seems to not be anything that changed in the Mir code. It seems the regression happened in the OS when I upgraded my build machine from wily to xenial. ** Also affects: binutils (Ubuntu) Importance: Undecided Status: New ** Changed in: mir Status: New => Incomplete ** Tags added: apport-collected xenial ** Description changed: - [regression] Linking mir_unit_tests.bin now takes a very long time - (minutes) even on a fast machine (previously just seconds) + [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) + --- + ApportVersion: 2.19.2-0ubuntu8 + Architecture: amd64 + Dependencies: + gcc-5-base 5.2.1-27ubuntu1 + libc6 2.21-0ubuntu4 + libgcc1 1:5.2.1-27ubuntu1 + zlib1g 1:1.2.8.dfsg-2ubuntu4 + DistroRelease: Ubuntu 16.04 + InstallationDate: Installed on 2015-12-03 (1 days ago) + InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151202) + Package: binutils 2.25.90.20151125-2ubuntu1 + PackageArchitecture: amd64 + ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6 + Tags: xenial + Uname: Linux 4.2.0-19-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo + _MarkForUpload: True -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522726 Title: [regression] Linking mir_unit_tests.bin now takes a very long time (minutes) even on a fast machine (previously just seconds) To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1522726/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs