[LLVMdev] CLang/LLVM SVN for today no longer works on OS X 10.7.4

Kevin Enderby enderby at apple.com
Wed Sep 26 14:31:40 PDT 2012


Hi Kent,

My guess is you are getting some new bit of info in your object files and your ranlib(1) is older and doesn't know about it.  If you can send me the .o file or the output of otool(1) with the -hlv options on your object file I can take a look.

Kev

P.S. you can find out the version of ranlib(1) you have by running strings(1) on it and grep(1)'ing for the string "cctools".

On Sep 26, 2012, at 2:19 PM, Kent Williams wrote:

> Ran into this today -- rebuilt the SVN Trunk for this morning of
> LLVM+CLANG.  Now every time my builds try and make a library from .o
> files, ranlib complains about 'malformed object' files.
> 
> This is with OS X 10.7.4, and the binary tools from XCode 4.4.1
> 
> ld -v
> @(#)PROGRAM:ld  PROJECT:ld64-127.2
> llvm version 3.0svn, from Apple Clang 3.0 (build 211.12)
> 
> ranlib doesn't tell you what version it is
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list