[ITK] [ITK-users] Problem with configure with 4.8.1 and gcc 5

Matt McCormick matt.mccormick at kitware.com
Tue Nov 10 17:31:48 EST 2015


Hi Yi and Alfonso,

Thanks for discussing the issue.

This error is due to faulty detection of the gold linker.  Please
review this patch, which addresses the issue:

  http://review.source.kitware.com/#/c/20384/

This will fix the detection of the gold linker, and avoid trying to
use it.  As a workaround, you can also install the package that
provides the gold linker.  For example, on Opensuse Tumbleweed (h/t
Ricardo Ortiz)

  zypper install binutils-gold

The gold linker results in faster build times.

Regarding the ITK 4.8 archive sizes, the smaller library source code
is intentional; the majority of the content was test data, which was
moved to a separate archive, InsightData-4.8.0.

Thanks,
Matt

On Tue, Nov 10, 2015 at 9:21 AM, Yi Gao <gaoyi.cn at gmail.com> wrote:
> Dear Alfonso and All,
>
> 1. I got the same error with ITK 4.8.1 gcc 4.8.5 under CentOS 6.5 with cmake
> binary 3.3 and 3.4rc3.
>
> 2. On another machine with Mint 17.2, ITK 4.8.1, gcc 4.8.4, cmake 3.3,
> everything is fine.
>
> I made a minimal test cmakelists to run the testBigEndian function in cmake
> and that works, but when that's in the ITK cmakelists somewhere goes wrong.
>
> After trying different things for several hours, my solution to the 1st
> problem was: use ITK 4.7.2 and everything is fine (going back to ITK 4.6
> works for me too).
>
> I also noticed that ITK 4.8.1 is much smaller than 4.7 (>200M down to 16M).
> This a dramatic change in size.
>
> Best,
> yi
>
> On Tue, Oct 6, 2015 at 10:20 AM, Alfonso Castro <alfonso.castro at udc.es>
> wrote:
>>
>> Hi.
>>
>> I tried to compiled in OpenSuSE Tumbleweed ITK 4.8.1 but I obtained an
>> error
>> in configure:
>>
>>  CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:51 (message):
>>    no suitable type found
>>  Call Stack (most recent call first):
>>    Modules/ThirdParty/VNL/src/vxl/config/cmake/config/CMakeLists.txt:285
>> (TEST_BIG_ENDIAN)
>>
>> However, the configuration and compile are without a problem using clang.
>>
>> The info of gcc version is:
>>
>> Using built-in specs.
>> COLLECT_GCC=gcc
>> COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/5/lto-wrapper
>> Target: x86_64-suse-linux
>> Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --
>> mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
>> --enable-
>> languages=c,c++,objc,fortran,obj-c++,java,ada,go --enable-checking=release
>> --
>> with-gxx-include-dir=/usr/include/c++/5 --enable-ssp --disable-libssp --
>> disable-libvtv --enable-libmpx --disable-plugin --with-bugurl=http://
>> bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-
>> slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
>> --enable-libstdcxx-
>> allocator=new --disable-libstdcxx-pch
>> --enable-version-specific-runtime-libs
>> --enable-linker-build-id --enable-linux-futex --program-suffix=-5
>> --without-
>> system-libunwind --enable-multilib --with-arch-32=i586 --with-tune=generic
>> --
>> build=x86_64-suse-linux --host=x86_64-suse-linux
>> Thread model: posix
>> gcc version 5.1.1 20150713 [gcc-5-branch revision 225736] (SUSE Linux)
>>
>> VTK 6.3 compile without a problem using gcc 5.
>>
>> The info of clang version is:
>>
>> clang version 3.7.0 (tags/RELEASE_370/final 246586)
>> Target: x86_64-suse-linux
>> Thread model: posix
>> Found candidate GCC installation:
>> /usr/bin/../lib64/gcc/x86_64-suse-linux/4.8
>> Found candidate GCC installation:
>> /usr/bin/../lib64/gcc/x86_64-suse-linux/5
>> Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/4.8
>> Found candidate GCC installation: /usr/lib64/gcc/x86_64-suse-linux/5
>> Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/5
>> Candidate multilib: .;@m64
>> Selected multilib: .;@m64
>>
>> Thanks in advance.
>>
>> Alfonso Castro
>> Faculty of Computer Science
>> University of A Coruna
>>
>>
>>
>> _____________________________________
>> 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://www.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-users
>
>
>
>
>
>
> --
> Yi Gao, Ph.D.
> Assistant Professor
> Department of Biomedical Informatics
> Departments of Computer Science and Applied Mathematics & Statistics
> Stony Brook University | The  State University of New York
> Stony Brook, New York, 11794
> 631-632-9540
>
> _____________________________________
> 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://www.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-users
>
_____________________________________
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://www.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-users


More information about the Community mailing list