<HTML>
<HEAD>
<TITLE>Re: [vtk-developers] Site v20n17.pbm.ihost.com needs attention</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10.5pt'><B>spec·u·late </B>\ˈspe-kyə-ˌlāt\ <I>verb </I></SPAN></FONT><FONT FACE="Baskerville Semibold"><SPAN STYLE='font-size:12pt'>1 </SPAN></FONT><SPAN STYLE='font-size:12pt'><FONT FACE="Baskerville, Times New Roman">form a theory or conjecture about a subject with limited knowledge<BR>
</FONT></SPAN><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
On 1/14/10 10:54 AM, "Bill Lorensen" <<a href="bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Not specualting, just doing the best I can with my limited knowledge.<BR>
<BR>
On Thu, Jan 14, 2010 at 12:42 PM, Francois Bertel<BR>
<<a href="francois.bertel@kitware.com">francois.bertel@kitware.com</a>> wrote:<BR>
> Stop speculating, the issue is in metaio. Here is the reason of the<BR>
> failure and there is unfortunately no trivial solution right now (even<BR>
> for Brad King!):<BR>
><BR>
> From an private thread of discussion involving me, Luis, Julien Jomier<BR>
> and Brad King, Dec 4 2009:<BR>
><BR>
> Brad King said:<BR>
><BR>
> "<BR>
> $ nm libvtkmetaio.so | grep ElementByteOrderFix<BR>
> .vtkmetaio::MetaArray::ElementByteOrderFix() T 271508768 172<BR>
> .vtkmetaio::MetaImage::ElementByteOrderFix(long) T 269262912 180<BR>
> ...<BR>
><BR>
> $ nm libvtkIO.so| grep ElementByteOrderFix<BR>
> ...<BR>
> vtkmetaio::MetaImage::ElementByteOrderFix(long long) U -<BR>
><BR>
> Something is causing streamoff to be a different size in one of vtkIO's<BR>
> translation units than in metaio's translation units. It's probably the<BR>
> KWSys Configure.h that defines _LARGEFILE_SOURCE and related macros (this<BR>
> was something Andy Cedilnik added at some point to "guarantee" LFS support<BR>
> in all Kitware projects)."<BR>
><BR>
> Brad King said:<BR>
><BR>
> "<BR>
> [I recommends to] teach MetaIO about large file support.<BR>
><BR>
> Doing it right is a bit tricky. This is one of those cases that requires<BR>
> users of a library to define macros before including its headers. We have<BR>
> generally avoided this requirement by configuring feature settings into<BR>
> header files such as vtkConfigure.h. However, the problem here is that<BR>
> enabling large file support means defining a macro like _LARGEFILE_SOURCE<BR>
> in *every* translation unit before any *system* header is included. This<BR>
> cannot be done reliably in a place like vtkConfigure.h because users could<BR>
> write this:<BR>
><BR>
> #include <stdio.h><BR>
> #include <vtkObject.h> /* Uh oh, _LARGEFILE_SOURCE is defined too late! */<BR>
><BR>
> By the time our configured header gets included, the system API has already<BR>
> been loaded without large file support! If instead we require users to<BR>
> add -D_LARGEFILE_SOURCE on the command line then it will apply to the<BR>
> system API no matter when it is included.<BR>
><BR>
> A better approach is this:<BR>
><BR>
> # CMakeLists.txt<BR>
> # ... try compiles to detect proper LFS_MACRO ...<BR>
> add_definitions(-D${LFS_MACRO})<BR>
><BR>
> /* myconfig.h.in */<BR>
> #ifndef @LFS_MACRO@<BR>
> # error "This source requires -D@LFS_MACRO@"<BR>
> #endif<BR>
><BR>
> The LFS_MACRO value can be put in the FooConfig.cmake file for use by<BR>
> outside projects.<BR>
><BR>
> Unfortunately we did not understand this problem back when the macros were<BR>
> put in KWSys, and changing it there now is very hard for compatibility :(<BR>
> "<BR>
><BR>
><BR>
> On Thu, Jan 14, 2010 at 12:30 PM, Dave Partyka <<a href="dave.partyka@kitware.com">dave.partyka@kitware.com</a>> wrote:<BR>
>> Humm I didn't noticed that it was using nightly CMake. I most certainly will<BR>
>> give it a shot. Thanks for pointing that out!<BR>
>><BR>
>> On Thu, Jan 14, 2010 at 12:27 PM, Bill Lorensen <<a href="bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><BR>
>> wrote:<BR>
>>><BR>
>>> Dave,<BR>
>>><BR>
>>> I noticed that this build is using cmake2.9. Have you tried it with<BR>
>>> cmake2.8?<BR>
>>><BR>
>>> Bill<BR>
>>><BR>
>>> On Thu, Jan 14, 2010 at 11:54 AM, Dave Partyka <<a href="dave.partyka@kitware.com">dave.partyka@kitware.com</a>><BR>
>>> wrote:<BR>
>>> > I just fixed all the compile errors late last week and now it just has<BR>
>>> > test<BR>
>>> > failures. I'll keep prodding at it.<BR>
>>> ><BR>
>>> > On Thu, Jan 14, 2010 at 11:52 AM, Bill Lorensen<BR>
>>> > <<a href="bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><BR>
>>> > wrote:<BR>
>>> >><BR>
>>> >> Folks,<BR>
>>> >><BR>
>>> >> Late October was the last time the site v20n17.pbm.ihost.com had a<BR>
>>> >> green dashboard.<BR>
>>> >><BR>
>>> >> Could the owner of this build please take a look and see if the<BR>
>>> >> problems can be resolved? Currently it is reporting 610 failing tests:<BR>
>>> >> <a href="http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=514704">http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=514704</a><BR>
>>> >><BR>
>>> >> Or, perhaps we no longer support this compiler: AIX00C518-xlC ?<BR>
>>> >><BR>
>>> >> Bill<BR>
>>> >> _______________________________________________<BR>
>>> >> Powered by www.kitware.com<BR>
>>> >><BR>
>>> >> Visit other Kitware open-source projects at<BR>
>>> >> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
>>> >><BR>
>>> >> Follow this link to subscribe/unsubscribe:<BR>
>>> >> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
>>> >><BR>
>>> ><BR>
>>> ><BR>
>><BR>
>><BR>
>> _______________________________________________<BR>
>> Powered by www.kitware.com<BR>
>><BR>
>> Visit other Kitware open-source projects at<BR>
>> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
>><BR>
>> Follow this link to subscribe/unsubscribe:<BR>
>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
>><BR>
>><BR>
>><BR>
><BR>
><BR>
><BR>
> --<BR>
> François Bertel, PhD | Kitware Inc. Suite 204<BR>
> 1 (518) 371 3971 x113 | 28 Corporate Drive<BR>
> | Clifton Park NY 12065, USA<BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
><BR>
><BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>