[ITK-dev] Upgraded factory.kitware Mac compiler

Bradley Lowekamp blowekamp at mail.nih.gov
Sat Aug 2 11:25:49 EDT 2014


OK,

I think the compiler being used on the system is not a winner.

Something need to be changes on the system to make this more identifiable, perhaps changing the build name to be llvm-gcc-4.2. As it's not apparent in the configuration:
 The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
Digging into the system information test[1] we can find the following:
sing built-in specs.
Target: i686-apple-darwin10
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
 /usr/llvm-gcc-4.2/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/collect2 -dynamic -arch x86_64 -macosx_version_min 10.6.8 -weak_reference_mismatches non-weak -o cmTryCompileExec885700192 -lcrt1.10.6.o -L/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/i686-apple-darwin10/4.2.1 -L/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin10/4.2.1 -L/usr/llvm-gcc-4.2/bin/../lib/gcc -L/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1 -L/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../.. -L/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin10/4.2.1/../../.. -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTryCompileExec885700192.dir/CMakeCCompilerABI.c.o -lSystem -lgcc -lSystem
collect2 version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) (i686 Darwin)

But the GCC masquerading version is not too helpful. 

[1] http://open.cdash.org/testDetails.php?test=272099142&build=3433750
On Aug 2, 2014, at 11:03 AM, Jean-Christophe Fillion-Robin <jchris.fillionr at kitware.com> wrote:

> Hi Brad, 
> 
> All details are captured here: 
> 
>     http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23528
> 
> 
> XCode before:
> 
>  * Xcode: 3.2.6 - uildVersion: 10M2518
>  * gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
>  * gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
>  * llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)
>  * clang: Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn
> 
> XCode after:
> 
>  * Xcode: 4.2 - Build version 4C199
>  * gcc-4.0: i686-apple-darwin10-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
>  * gcc-4.2: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
>  * llvm-gcc: i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
>  * clang: Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
> 
> 
> Hth
> Jc
> 
> 
> On Sat, Aug 2, 2014 at 8:39 AM, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
> Hello,
> 
> Hello there is recently some regular failing tests on the factory.kitware Mac robot build:
> http://open.cdash.org/viewTest.php?onlyfailed&buildid=3433716
> 
> What specific compiler, Xcode, and os version is the system now running? Was it recently upgraded?
> 
> These failures look vaguely familiar to me, not sure quite why. May have been at some point in the GNU gcc->llvm-gcc transition when things didn't work too good...
> 
> Brad
> 
> 
> 
> 
> 
> -- 
> +1 919 869 8849

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20140802/96bfd5da/attachment.html>


More information about the Insight-developers mailing list