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
pthread_join links against "\01_pthread_join" on mac
Some of the regex-related unit tests fail on mac
Currently, nidhugg can be compiled on mac by installing llvm and boost from homebrew, and then configuring with ./configure --with-llvm=$(brew --prefix llvm) --with-boost=$(brew --prefix boost)
The last issue can be reproduced by trying to run tests/smoke/C-tests/mutex_hard.c on nidhuggc on mac. The LLVM IR produced for this test on mac is:
I create this issue to document and track progress on mac support, since I'm currently out of time to take it further.
configure
picks mismatched clang (configure: Look for clang in LLVM prefix #65)mallopt
(Make mallopt() optional #66)VecSet
iterator (vecset: Don't use reference in iterator #67)pthread_t
is not an integer type on mac, but nidhugg assumes it is (Allow pthread_t to be implemented as a pointer #71)pthread_join
links against"\01_pthread_join"
on macCurrently, nidhugg can be compiled on mac by installing
llvm
andboost
from homebrew, and then configuring with./configure --with-llvm=$(brew --prefix llvm) --with-boost=$(brew --prefix boost)
The last issue can be reproduced by trying to run
tests/smoke/C-tests/mutex_hard.c
on nidhuggc on mac. The LLVM IR produced for this test on mac is:The text was updated successfully, but these errors were encountered: