hhvm/homebrew-hhvm

boost 1.80.0 and bottled hhvm crash on certain operations

ryangreenberg opened this issue · 0 comments

Description

Bottled hhvm 3.29.1 errors when using boost 1.68.0 on certain operations (e.g. symlink())

Context and Logs

Parameter Value
OS X Version: 10.13.6
Homebrew Version: 3.29.1-0brew (rel)
Xcode Version: your Xcode version

Output of clang -v:

Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Build logs:
(built from bottle which succeeds)


$ hhvm --version
HipHop VM 3.29.1-0brew (rel)
Compiler: 1540934087_N
Repo schema: 28120355946c6100a4cff6fb93a682d203b406b2

$ cat repro.hh 
<?hh

symlink('foo', 'bar');

$ hhvm repro.hh     
dyld: lazy symbol binding failed: Symbol not found: __ZN5boost6system15system_categoryEv
  Referenced from: /usr/local/bin/hhvm
  Expected in: /usr/local/opt/boost/lib/libboost_system-mt.dylib

dyld: Symbol not found: __ZN5boost6system15system_categoryEv
  Referenced from: /usr/local/bin/hhvm
  Expected in: /usr/local/opt/boost/lib/libboost_system-mt.dylib

Core dumped: Abort trap: 6
Stack trace in /tmp/stacktrace.25429.log
[1]    25429 abort      hhvm repro.hh