[ITK] [ITK-dev] ITK 4.8, castxml, and 32-bits Debian/gcc
Steve M. Robbins
steve at sumost.ca
Mon Sep 21 21:17:05 EDT 2015
Thanks, Brad!
On Monday, September 21, 2015 11:42:20 AM Brad King wrote:
> On 09/20/2015 11:03 PM, Steve M. Robbins wrote:
> > Secondly, I am slightly surprised that ITK should even need to
> > guard against including things when __GCCXML __ is defined.
> > I had naively assumed that gccxml should be seeing the same
> > code as the regular parser. Is this a work-around for some
> > gccxml issues of the past or is it still needed?
>
> It was a workaround for gccxml because its parser was hard-coded
> to a specific architecture and had no way to simulate the
> intrinsics of other architectures. This should not be necessary
> for CastXML because it really invokes its Clang compiler with
> the proper target architecture.
OK. But later Matt McCormick replied with a patch that essentially changes
__GCCXML__ to CABLE_CONFIGURATION which is defined during the build. That
change seems to imply that the workaround is still required. (?)
> I think the problem here is that CastXML needs to know when
> to enable SSE as part of its target architecture configuration.
> One could do that explicitly by adding '-msse' to the castxml
> command-line right now. That may get your build going.
OK. So I'm well out of my depth with SSE, but: since the build is targeting
i386, I think there would not be SSE support. Another data point is that the
cmake configuration step outputs:
-- Performing Test VXL_HAS_SSE2_HARDWARE_SUPPORT
-- Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation
Failed
-- Performing Test VXL_SSE2_HARDWARE_SUPPORT_POSSIBLE
-- Performing Test VXL_SSE2_HARDWARE_SUPPORT_POSSIBLE - Success
... and ...
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_64
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_64 - Failed
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_32
-- Performing Test ITK_COMPILER_SUPPORTS_SSE2_32 - Failed
-- Performing Test ITK_COMPILER_DOES_NOT_NEED_MSSE2_FLAG
-- Performing Test ITK_COMPILER_DOES_NOT_NEED_MSSE2_FLAG - Failed
I'll take a closer look at these tonight.
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/community/attachments/20150921/012beeae/attachment.sig>
-------------- 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