You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ChrisCummins
changed the title
macOS: dyld lazy symbol binding fails with homebrew boost installed
macOS: Homebrew packages can interfere with C++ compilation
Feb 8, 2021
🐛 Bug
When boost or protobuf packages are installed via homebrew they can interfere with the CompilerGym build, causing compile-time or load-time errors.
To Reproduce
Steps to reproduce the behavior:
brew install boost
make distclean
bazel run //compiler_gym/envs/llvm/service
Error message along the lines of:
Workaround
Uninstall boost prior to building CompilerGym:
brew uninstall --ignore-dependencies protobuf boost
make distclean
make install
This package conflict only matters at build time. Once you are done building CompilerGym, you can now reinstall the brew packages:
Environment
bazel run //compiler_gym/envs/llvm/service
Apple clang version 12.0.0 (clang-1200.0.26.2)
Build label: 3.1.0
boost: stable 1.75.0 (bottled), HEAD
The text was updated successfully, but these errors were encountered: