<p>Sounds like a plan to me. Any objections Michael?</p>
<div class="gmail_quote">On Feb 20, 2013 1:33 PM, "Sean McBride" <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, 11 Feb 2013 16:16:01 -0500, David Cole said:<br>
<br>
>You're gonna have to dig farther back than that to figure out where the<br>
>flags come from..... I just added double quotes around the thing in my<br>
>commit so that it would work properly. I have no idea why those flags<br>
>are necessary there.<br>
<br>
First I had to dig to find out how to find this out with git. :)<br>
<br>
So it seems the "-read_only_relocs suppress" was added by Dave Demarle on 2009-12-01 in commit bf339e858b10df5f9fbdaf33e90dee8767030b65, which I think was the introduction of oggtheora into VTK.<br>
<br>
I did a test build of VTK with "-read_only_relocs suppress" removed and CMAKE_OSX_ARCHITECTURES = "i386;x86_64". I got no warnings and no errors.<br>
<br>
I downloaded oggtheora itself, and their autotools stuff also uses 'read_only_relocs' but they check and do it only on intel32 not intel64. It's purpose seems to be some kind of optimization.<br>
<br>
I guess we could:<br>
- just remove "-read_only_relocs suppress"<br>
- use it only with i386 and not ppc,ppc64,x86_64. What's the CMake way to do that?<br>
<br>
This would fix 7 of the 18 warnings on today's Nightly Expected.<br>
<br>
Cheers,<br>
<br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer Montréal, Québec, Canada<br>
<br>
<br>
</blockquote></div>