[ITK] [ITK-dev] Ubuntu 14 Test failure bisect results
Bradley Lowekamp
blowekamp at mail.nih.gov
Fri Jul 31 13:03:59 EDT 2015
Matt,
I was digging into these test failures:
https://open.cdash.org/viewTest.php?onlyfailed&buildid=3932451
Here are the results of the git bisect:
674acdb2dd5546b7045f7253c84e4f9f237405e8 is the first bad commit
commit 674acdb2dd5546b7045f7253c84e4f9f237405e8
Author: Matt McCormick <matt.mccormick at kitware.com>
Date: Sun May 31 21:00:55 2015 -0400
ENH: Use gold linker on Linux with GCC.
The gold linker is approximately three times as fast as the default linker.
Enable it with GCC 4.8 and newer where it was tested. The gold linker only
works with ELF executables, so it is only enabled for Linux.
Timing tests:
Static libs link time:
ld: 452 sec
ld-gold: 179 sec
Shared libs link time, wrapping enabled:
ld: 164 sec
ld-gold: 48 sec
Change-Id: Ic8d9b5132ad6b71e5f100b5436615d6a8fac3e5c
Disabling ld-gold seems to fix the problem.
Versions:
blowekamp at lhcp-vm-ubu14:~/ITK$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
blowekamp at lhcp-vm-ubu14:~/ITK$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.24
Copyright 2013 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
blowekamp at lhcp-vm-ubu14:~/ITK$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Currently we have a check for using gold with > 4.8.3:
https://github.com/InsightSoftwareConsortium/ITK/blob/master/CMake/ITKSetStandardCompilerFlags.cmake#L206
But looking at this change:
https://github.com/InsightSoftwareConsortium/ITK/commit/102c79bd3bb50cc649f2733c472bdfaa138c453e
We should have know about these related test failures:
https://github.com/InsightSoftwareConsortium/ITK/commit/102c79bd3bb50cc649f2733c472bdfaa138c453e
So what do you recall about what versions of GCC ld-gold works on?
Thanks,
Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150731/d9614de6/attachment.html>
-------------- next part --------------
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers
More information about the Community
mailing list