<br><br><div class="gmail_quote">On Fri, Aug 17, 2012 at 11:16 AM, Rolf Eike Beer <span dir="ltr">&lt;<a href="mailto:eike@sf-mail.de" target="_blank">eike@sf-mail.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am Freitag, 17. August 2012, 14:17:33 schrieb Michael Wild:<br>
<div class="im">&gt; Yes, e.g. i386 works fine:<br>
&gt; <a href="https://buildd.debian.org/status/fetch.php?pkg=freefoam&amp;arch=i386&amp;ver=0.1.0%" target="_blank">https://buildd.debian.org/status/fetch.php?pkg=freefoam&amp;arch=i386&amp;ver=0.1.0%</a><br>
&gt; 2Bdfsg-1&amp;stamp=1345172639<br>
&gt;<br>
&gt; It seems that only the more exotic (non-Intel) ones have this issue. I<br>
&gt; forgot to mention that mipsel and sparc have the same problem. Except<br>
&gt; for mipsel they are all big-endian...<br>
<br>
</div>You are looking at the totally wrong place I guess ;)<br>
<br>
i386 command:<br>
<br>
cd /build/buildd-freefoam_0.1.0+dfsg-1-i386-5n1wds/freefoam-0.1.0+dfsg/obj-<br>
i486-linux-gnu/src/Pstream/dummy &amp;&amp; /usr/bin/g++   -DdummyPstream_EXPORTS -DDP<br>
-DNoRepository -Dlinux -g -O2 -fstack-protector --param=ssp-buffer-size=4 -<br>
Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fpermissive -<br>
D_FORTIFY_SOURCE=2 -fPIC -I/build/buildd-freefoam_0.1.0+dfsg-1-<br>
i386-5n1wds/freefoam-0.1.0+dfsg/obj-i486-linux-gnu/include    -o<br>
CMakeFiles/dummyPstream.dir/dummyIPstreamImpl.C.o -c /build/buildd-<br>
freefoam_0.1.0+dfsg-1-<br>
i386-5n1wds/freefoam-0.1.0+dfsg/src/Pstream/dummy/dummyIPstreamImpl.C<br>
<br>
powerpc build:<br>
<br>
cd /build/buildd-freefoam_0.1.0+dfsg-1-powerpc-810bTJ/freefoam-0.1.0+dfsg/obj-<br>
powerpc-linux-gnu/src/Pstream/dummy &amp;&amp; /usr/bin/g++   -DdummyPstream_EXPORTS -<br>
DDP -DNoRepository -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat<br>
-Werror=format-security -D_FORTIFY_SOURCE=2 -fpermissive -D_FORTIFY_SOURCE=2 -<br>
fPIC -I/build/buildd-freefoam_0.1.0+dfsg-1-<br>
powerpc-810bTJ/freefoam-0.1.0+dfsg/obj-powerpc-linux-gnu/include    -D -o<br>
CMakeFiles/dummyPstream.dir/dummyIPstreamImpl.C.o -c /build/buildd-<br>
freefoam_0.1.0+dfsg-1-<br>
powerpc-810bTJ/freefoam-0.1.0+dfsg/src/Pstream/dummy/dummyIPstreamImpl.C<br>
<br>
The important difference is:<br>
<br>
the PowerPC build has a stray &quot;-D&quot; in it, so g++ takes the following -o as<br>
define and the following object file name as input instead of as output.<br>
<br></blockquote><div><br></div><div>NICE EYE!!!!!</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So something is wrong in the defines, probably in the project. I suspect<br>
something like add_definitions(-D${VAR}) with an unset variable.<br>
<span class="HOEnZb"><font color="#888888"><br>
Eike</font></span><br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>