hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

FreeBSD build - SYS_gettid issue

Open louisehu opened this issue 14 years ago • 1 comments

/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."

louisehu avatar Jan 09 '12 14:01 louisehu

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:

  1. Give detailed repro steps
  2. Write a test case in hphp/tests/quick (run it with hphp/tests/run) and send the pull request
  3. Fix it in a pull request

ptarjan avatar May 13 '13 21:05 ptarjan