hhvm
hhvm copied to clipboard
FreeBSD build - SYS_gettid issue
/opt/doxcore/environment/hiphop/hiphop-php/src/util/process.h:122: error: 'SYS_gettid' was not declared in this scope
"The FreeBSD kernel suports the thr_self(2) syscall, which you'd have to invoke manually yourself. But, checking the citadel code it seems it would work just fine if SYS_gettid availability was checked for, as it's only using the tid for logging. Retrieving it is just non-portable and should not be generally used or depended on, though."
We're closing out all bugs older than 2 months. http://www.hiphop-php.com/wp/?p=575
If this is still an issue, please re-open it, and in order of goodness:
- Give detailed repro steps
- Write a test case in hphp/tests/quick (run it with hphp/tests/run) and send the pull request
- Fix it in a pull request