GithubHelp home page GithubHelp logo

Comments (4)

PJK avatar PJK commented on August 26, 2024

I pushed some minor fixes to https://github.com/PJK/homebrew-libcbor to make the formula compatible with the latest homebrew, but I doubt that solves the root cause of your issue.

Could you please try brew install -v libcbor again with an up-to-date homebrew (homebrew update)? For reference, I get https://gist.github.com/PJK/c3c9bcaf327c402d456c761bd674a0a5 on a 10.13 mac.

from libcbor.

cabo avatar cabo commented on August 26, 2024

Maybe I don't understand Mac builds well enough, but the surprising part is that src/libcbor.a consists of .o files of the form:

arrays.c.o:            LLVM bitcode, wrapper x86_64
builder_callbacks.c.o: LLVM bitcode, wrapper x86_64
bytestrings.c.o:       LLVM bitcode, wrapper x86_64
callbacks.c.o:         LLVM bitcode, wrapper x86_64
cbor.c.o:              LLVM bitcode, wrapper x86_64
common.c.o:            LLVM bitcode, wrapper x86_64
encoders.c.o:          LLVM bitcode, wrapper x86_64
encoding.c.o:          LLVM bitcode, wrapper x86_64
floats_ctrls.c.o:      LLVM bitcode, wrapper x86_64
ints.c.o:              LLVM bitcode, wrapper x86_64
loaders.c.o:           LLVM bitcode, wrapper x86_64
maps.c.o:              LLVM bitcode, wrapper x86_64
memory_utils.c.o:      LLVM bitcode, wrapper x86_64
serialization.c.o:     LLVM bitcode, wrapper x86_64
stack.c.o:             LLVM bitcode, wrapper x86_64
streaming.c.o:         LLVM bitcode, wrapper x86_64
strings.c.o:           LLVM bitcode, wrapper x86_64
tags.c.o:              LLVM bitcode, wrapper x86_64
unicode.c.o:           LLVM bitcode, wrapper x86_64

nm -p is helpless.

from libcbor.

PJK avatar PJK commented on August 26, 2024

I know next to nothing about OSX details, but I believe the reason this doesn't emit plain object files (if that is what you're alluding) is that LTO is enabled for release builds which triggers this behavior in clang (https://github.com/mull-project/mull/blob/master/Docs/HowToGetLLVMBitcode.md).

from libcbor.

PJK avatar PJK commented on August 26, 2024

If the above is the real cause, it will be solved by Homebrew/homebrew-core#50588

from libcbor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.