[Insight-developers] Tcl failure on MacOSX-WrapITK
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Thu Feb 24 05:54:48 EST 2011
Brad, Brad,
I'm quite sure it will work. Unfortunately I've broken the build while
trying to make the explicit instantiation work on windows.
I've pushed a fix for this new bug - it should be ok tomorrow.
Concerning WrapITK-SunOS-g++amd64, I've looked at the problem
yesterday, but didn't took the time to write an email about it.
I said in a previous TCon that gccxml had some problems which may have
been fixed recently. Unfortunately, it seems that it doesn't work yet.
I still get a lot of error messages in xmmintrin.h, emmintrin.h and
mmintrin.h - the errors are at the end of the email.
Brad (K), do you know how to fix that problem?
Thanks,
Gaëtan
PS: sorry for the double post - I've dropped some of the errors to fit
in the size limit of the mailing list.
In file included from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/
include/xmmintrin.h:39,
from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/
include/emmintrin.h:35,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkMathDetail.h:43,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkMath.h:33,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkIndex.h:24,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkLabelObjectLine.h:22,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkLabelObject.h:24,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkShapeLabelObject.h:22,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkStatisticsLabelObject.h:22,
from /home/papha/glehmann/src/tests/WrapITK-gcc64/
Wrapping/WrapITK/Libraries/Base/itkArray.cxx:3:
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/mmintrin.h: In
function 'void _mm_empty()':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/mmintrin.h:48:
error: '__builtin_ia32_emms' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/mmintrin.h: In
function 'int __vector__ _mm_packs_pi16(int __vector__, int
__vector__)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/mmintrin.h:116:
error: '__builtin_ia32_packsswb' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/mmintrin.h: In
function 'int __vector__ _mm_packs_pi32(int __vector__, int
__vector__)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/mmintrin.h:131:
error: '__builtin_ia32_packssdw' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/mmintrin.h: In
function 'int __vector__ _mm_packs_pu16(int __vector__, int
__vector__)':
<snip>
In file included from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/
include/emmintrin.h:35,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkMathDetail.h:43,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkMath.h:33,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkIndex.h:24,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkLabelObjectLine.h:22,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkLabelObject.h:24,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkShapeLabelObject.h:22,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkStatisticsLabelObject.h:22,
from /home/papha/glehmann/src/tests/WrapITK-gcc64/
Wrapping/WrapITK/Libraries/Base/itkArray.cxx:3:
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/xmmintrin.h: In
function 'float __vector__ _mm_add_ss(float __vector__, float
__vector__)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/xmmintrin.h:93:
error: '__builtin_ia32_addss' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/xmmintrin.h: In
function 'float __vector__ _mm_sub_ss(float __vector__, float
__vector__)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/xmmintrin.h:99:
error: '__builtin_ia32_subss' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/xmmintrin.h: In
function 'float __vector__ _mm_mul_ss(float __vector__, float
__vector__)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/xmmintrin.h:105:
error: '__builtin_ia32_mulss' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/xmmintrin.h: In
function 'float __vector__ _mm_div_ss(float __vector__, float
__vector__)':
<snip>
In file included from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkMathDetail.h:43,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkMath.h:33,
from /home/papha/glehmann/src/tests/ITK/Code/Common/
itkIndex.h:24,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkLabelObjectLine.h:22,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkLabelObject.h:24,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkShapeLabelObject.h:22,
from /home/papha/glehmann/src/tests/ITK/Code/Review/
itkStatisticsLabelObject.h:22,
from /home/papha/glehmann/src/tests/WrapITK-gcc64/
Wrapping/WrapITK/Libraries/Base/itkArray.cxx:3:
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h: In
function 'double __vector__ _mm_load_sd(const double*)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h:54:
error: '__builtin_ia32_loadsd' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h: In
function 'double __vector__ _mm_load1_pd(const double*)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h:61:
error: '__builtin_ia32_loadsd' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h:62:
error: '__builtin_ia32_shufpd' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h: In
function 'double __vector__ _mm_load_pd(const double*)':
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h:75:
error: '__builtin_ia32_loadapd' was not declared in this scope
/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include/emmintrin.h: In
function 'double __vector__ _mm_loadu_pd(const double*)':
<snip>
Le 24 févr. 11 à 04:40, Bradley Lowekamp a écrit :
> Great! I hope that does the trick!
>
> I was also looking at WrapITK-SunOS-g++amd64, as this system has the
> most failing test, 67, it has my attention. Looking at a failing
> Java and python tests:
>
> http://www.cdash.org/CDash/testDetails.php?test=84434442&build=876772
> http://www.cdash.org/CDash/testDetails.php?test=84434418&build=876772
>
> and then the corresponding CMakeLists.txt:
>
> http://itk.org/gitweb?p=ITK.git;a=blob;f=Wrapping/WrapITK/Languages/Java/Tests/CMakeLists.txt;h=a8fb6e6e254254aa9ace710c378113abf5b56f8c;hb=HEAD
> http://itk.org/gitweb?p=ITK.git;a=blob;f=Wrapping/WrapITK/Languages/Python/Tests/CMakeLists.txt;h=5156ccfe0d209370518a2dd7a61b752b8e93c5f9;hb=HEAD
>
> It looks like they could use the same solution for dealing with
> CTEST_CONFIGURATION_TYPE correctly.
>
> Thanks,
> Brad
>
> On Feb 23, 2011, at 4:28 AM, Gaëtan Lehmann wrote:
>
>>
>> Thanks Brad,
>>
>> This change should fix this bug:
>>
>> http://review.source.kitware.com/#change,1046
>>
>> Gaëtan
>>
>>
>> Le 22 févr. 11 à 23:09, Brad King a écrit :
>>
>>> On 02/22/2011 03:24 PM, Bradley Lowekamp wrote:
>>>> That seems a bit odd to me. It was my understanding that
>>>> CMake's EXECUTABLE_OUTPUT_PATH and RUNTIME_OUTPUT_PATH were
>>>> suppose to
>>>> take care of that type of thing. A quick grep across the toolkit
>>>> shows
>>>> that WrapITK is the only area using CTEST_CONFIGURATION_TYPE.
>>>> Have you
>>>> tried using CXX_TEST_PATH?
>>>
>>> The goal is to reference the itkwish executable as an argument on
>>> a test
>>> command line. Currently it looks like this is used:
>>>
>>> "${EXECUTABLE_OUTPUT_PATH}/\${CTEST_CONFIGURATION_TYPE}/itkwish"
>>>
>>> The EXECUTABLE_OUTPUT_PATH holds the real output location for
>>> Makefile
>>> generators. The Xcode and VS generators append the configuration to
>>> the path because multiple configurations can be built in one tree.
>>> The above reference to itkwish works for the Xcode and VS case but
>>> not the Makefile case.
>>>
>>> The modern way to solve this problem is to use the add_test(NAME)
>>> mode
>>> introduced in CMake 2.8. It supports "generator expressions" like
>>> this:
>>>
>>> add_test(NAME mytest COMMAND itkTestDriver ...
>>> $<TARGET_FILE:itkwish> ...)
>>>
>>> Each CMake generator will substitute the proper location of the
>>> file in
>>> place of the $<> expression (hence the name "generator expression").
>>>
>>> -Brad
>>
>> --
>> Gaëtan Lehmann
>> Biologie du Développement et de la Reproduction
>> INRA de Jouy-en-Josas (France)
>> tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
>> http://voxel.jouy.inra.fr http://www.itk.org
>> http://www.mandriva.org http://www.bepo.fr
>>
>
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr http://www.itk.org
http://www.mandriva.org http://www.bepo.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110224/b77ddee1/attachment.pgp>
More information about the Insight-developers
mailing list