Skip to content

ld: in util/libinftestutil.a(libinfinity-0.7.la), archive member 'libinfinity-0.7.la' with length 1080 is not mach-o or llvm bitcode file 'util/libinftestutil.a' for architecture x86_64 #33

@ryandesign

Description

@ryandesign

I've updated libinfinity in MacPorts to 0.7.2 and it builds on OS X 10.7 thru macOS 12 but not on macOS 13, where it fails with:

ld: in util/libinftestutil.a(libinfinity-0.7.la), archive member 'libinfinity-0.7.la' with length 1080 is not mach-o or llvm bitcode file 'util/libinftestutil.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [inf-test-certificate-request] Error 1
make[3]: *** Waiting for unfinished jobs....

Here is the log from the MacPorts automated build system: libinfinity.log.gz

I have in my notes that we encountered a similar error years ago when attempting to build an older version of libinfinity for multiple architectures simultaneously (a "universal" build):

/usr/bin/ranlib: library member: libinftestutil.a(libinfinity-0.5.la) is not an object file (not allowed in a library with multiple architectures)

If that's the same problem, then it looks like as of macOS 13 this has become a problem for the more typical single-architecture builds as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions