On Sep 17, 2015, at 11:44 PM, Clinton Stimpson <[email protected]> wrote: > I'm not sure where the defect is, or how to work around it, without getting > more details. > > I've seen problems similar to this, but not exactly the same as what you are > seeing. What I have seen before was discussed here: > http://public.kitware.com/pipermail/cmake/2014-October/058868.html > > Perhaps you can go over that and see if it applies to you. > In that case, the bug was in install_name_tool, and there was a simple test > case to demonstrate the bug. Apple reported that it was fixed in Xcode 6.3.
The first command there (otool -l ... | fgrep -A2 LC_RPATH) doesn’t print
anything on the installed executable, which is expected. Your test case doesn’t
lead to an error either.
Not sure what details do you need exactly. I’m currently using Xcode 6.4, Clang
reports Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn). For
installed executables, output of `otool -l myexecutable` with “i386;x86_64” and
“x86_64” architectures is exactly the same except for “Inconsistent sizeofcmds”
line printed last in the former case. For executable in binary directory and
executable in install prefix, output of `otool -arch all -l myexecutable` with
“i386;x86_64” architectures differs in that the former has
Load command 28
cmd LC_RPATH
cmdsize 104
path /some/.../other/.../dir/.../lib (offset 12)
(for each architecture) which is expected; everything else is exactly the same.
Regards,
Mike
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
