Hi,

I’ve seen similar in the past, and it normal results when the compiler used is 
too new for the toolkit you are using (for ar etc.) and is generating code the 
assembler cannot understand.

Do you have cctools installed ? Try updating your build to use the toolkit that 
provides instead.

Chris

> On 3 Sep 2018, at 8:40 pm, Mojca Miklavec <mo...@macports.org> wrote:
> 
> Hi,
> 
> After upgrading ports on 10.6 (I probably didn't touch the machine
> since about May this year) I ran into issue compiling software with
> clang-5.0 against libc++:
> 
> /usr/bin/ranlib: object: .libs/libfoo.a(libfoo_la-bar-file.o)
> malformed object (unknown load command 2)
> ar: internal ranlib command failed
> 
> Does anyone have any ideas what to check for?
> 
> Thank you,
>    Mojca

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to