EXTRA_FLAGS was never passed to rt build for darwin. This means HAS_ATOMICS and HAS_FCTNL macros were not properly set for darwin runtime build -- end up with build using stub functions.
Also getpid() requires including <unistd.h> on darwin too.
Differential D21119
[profile] Fix a profile runtime build bug for darwin davidxl on Jun 7 2016, 10:23 PM. Authored by
Details EXTRA_FLAGS was never passed to rt build for darwin. This means HAS_ATOMICS and HAS_FCTNL macros were not properly set for darwin runtime build -- end up with build using stub functions. Also getpid() requires including <unistd.h> on darwin too.
Diff Detail
|