[package] boost/*: ios variant misses two define exports
See original GitHub issuePackage and Environment Details (include every applicable attribute)
- Package Name/Version: boost/1.74.0
- Operating System+version: iOS
- Compiler+version: clang 12
- Conan version: conan 1.31.0
- Python version: Python 3.8.5
Conan profiles
build.profile
[settings]
os=Macos
os_build=Macos
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=12.0
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]
host.profile (ios Simulator)
[settings]
os=iOS
os.version=12.0
arch=x86_64
compiler=apple-clang
compiler.version=12.0
compiler.libcxx=libc++
build_type=Debug
[options]
[build_requires]
[env]
Steps to reproduce
I’m cross compiling boost from MacOS to iOS Simulator (x86_64). Which works quite well. Awesome job!
However when consuming the library weird runtime crashes occur due to invalid memory access.
Two days of debugging and address sanitizer showed that the consuming product has two defines missing. -DBOOST_SP_USE_PTHREADS
and -DBOOST_AC_USE_PTHREADS
.
May I suggest that you add the flags -DBOOST_SP_USE_PTHREADS
and -DBOOST_AC_USE_PTHREADS
to the package_info
method? https://github.com/conan-io/conan-center-index/blob/d956a467dab31503f0054face5c09f83b7a05f68/recipes/boost/all/conanfile.py#L1014
Thanks for your time!
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
B2 User Manual - 1.81.0 - Boost C++ Libraries
Note that the debug and release variants are created in different directories, so you can switch between variants or even build multiple variants...
Read more >Difference ios ipa export with development or ad hoc profile
I would like to know what is the "real" difference between an IPA exported with a development or an ad hoc profile, in...
Read more >iOS Player settings - Unity - Manual
If an icon Texture is missing, Unity scales the icon Texture with the nearest size, with a preference towards using larger Textures.
Read more >export - JavaScript - MDN Web Docs
Every module can have two different types of export, named export and default export. You can have multiple named exports per module but ......
Read more >Problem exporting boost.variant from dll - C++ Forum
Problem exporting boost.variant from dll ... boost::variant<bool,unsigned char,double,float,short,int,struct boost::detail::variant::void_ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m just saying that the upstream project needs to be made aware of the problem. They know their code the best.
Sounds good, I will add
to the pr at #3872