[ros-users] ogre_tools broken on CTurtle/Snow leopard

Josh Faust jfaust at willowgarage.com
Fri Sep 10 00:01:14 UTC 2010


>
> $ gcc -v
>
 Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking
> --enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
> --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
> --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
> --with-gxx-include-dir=/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Apple Inc. build 5664)
>
>
>

It looks like there's a mismatch somehow between compilers used for various
parts of the build.  macports built x86_64 binaries, and some steps of ROS
are as well, but then it's trying to link as x86.  The above output seems to
imply that gcc itself will output x86 code -- you can test that by writing a
simple program and then checking it with "file".

Have you made changes to your developer tools recently that might cause
something like this?

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100909/3c058bd4/attachment-0003.html>


More information about the ros-users mailing list