Comments (4)
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.
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.
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.
If the above is the real cause, it will be solved by Homebrew/homebrew-core#50588
from libcbor.
Related Issues (20)
- Make cbor_encode_half respect NaN data bits
- Improve streaming parser documentation, especially for error state handling
- Improve test coverage of cbor_bytestring_add_chunk failure scenarios
- Add [[nodiscard]] attribute
- Broken encoding of empty byte strings in 0.10.0 HOT 1
- FR: Vectorization HOT 1
- test_serialize_4b_bytestring / test_serialize_8b_bytestring tests fail on 32-bit systems (size_t overflow) HOT 2
- Better documentation for memory management
- Documentation references RFC 7049, which has been replaced by RFC 8949 (STD94).
- Testing for musl HOT 3
- Signaling NaN encoding broken on Windows
- Improvements for examples HOT 1
- Need to use cbor as library HOT 1
- Out of bound pointer in cbor_build_bytestring HOT 1
- Broken CMake configuration HOT 2
- cbor_load returns CBOR_ERR_MALFORMATED parsing the assigned tags for cose-encrypt0 (16), cose-mac0 (17), and cose-sign1 (18) HOT 1
- Visual Studio enabling of SDL Checks causes failure
- Decode a CBOR Map type payload HOT 2
- Make libcbor compatible with PlatformIO HOT 4
- It doesn't seem possible to disable LTO HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcbor.