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

Kent Williams nkwmailinglists at gmail.com
Wed Sep 26 14:43:01 PDT 2012


This is the ranlib version:

@(#)PROGRAM:cctools_misc  PROJECT:cctools-809  DEVELOPER:root
BUILT:Thu Nov  3 14:06:33 PDT 2011

I will have to try another build tomorrow to give you information on
the object files.

On Wed, Sep 26, 2012 at 4:31 PM, Kevin Enderby <enderby at apple.com> wrote:
> 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