[Insight-developers] Debian Sid _nrrdRead: sanity check FAILED
Bradley Lowekamp
blowekamp at mail.nih.gov
Tue Jul 3 09:11:58 EDT 2012
Hi Steve,
I got a bump on by gcc on my amd64 Debian Sid to version 4.7.1-2.
I am curious if this particular patch is still needed or if they fixed the bug in the compiler.
Could you try the build on a i386 system?
If you just revert the commit:
git revert 21da36bc995a0628006b486ac7c66003f6cf07d8
you should be good to give it a compile and test, after that command.
Brad
On Jun 29, 2012, at 1:49 AM, Steve M. Robbins wrote:
> On Tue, Jun 19, 2012 at 12:34:43AM -0500, Gordon L. Kindlmann wrote:
>>
>> So the patch does make the build problem go away, by turning off the run-time error checking of whether the compile-time assumptions about the platform match what is seen at run-time.
>>
>> Does anyone understand why the code is actually failing though?
>
> No, but I tend to suspect a compiler bug. The code fails with gcc 4.7
> at optimization level -O1 or higher. It passes with -O0. It also
> passes using gcc 4.6 with optimization up to -O3.
>
>
> -Steve
> <signature.asc>_______________________________________________
> 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://www.itk.org/mailman/listinfo/insight-developers
========================================================
Bradley Lowekamp
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120703/c95ccbc7/attachment.htm>
More information about the Insight-developers
mailing list