You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.7 KiB

  1. --- a/deps/v8/src/base/platform/condition-variable.cc
  2. +++ b/deps/v8/src/base/platform/condition-variable.cc
  3. @@ -16,7 +16,7 @@ namespace base {
  4. ConditionVariable::ConditionVariable() {
  5. #if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
  6. - (V8_OS_LINUX && V8_LIBC_GLIBC))
  7. + V8_OS_LINUX)
  8. // On Free/Net/OpenBSD and Linux with glibc we can change the time
  9. // source for pthread_cond_timedwait() to use the monotonic clock.
  10. pthread_condattr_t attr;
  11. @@ -92,7 +92,7 @@ bool ConditionVariable::WaitFor(Mutex* m
  12. &native_handle_, &mutex->native_handle(), &ts);
  13. #else
  14. #if (V8_OS_FREEBSD || V8_OS_NETBSD || V8_OS_OPENBSD || \
  15. - (V8_OS_LINUX && V8_LIBC_GLIBC))
  16. + V8_OS_LINUX)
  17. // On Free/Net/OpenBSD and Linux with glibc we can change the time
  18. // source for pthread_cond_timedwait() to use the monotonic clock.
  19. result = clock_gettime(CLOCK_MONOTONIC, &ts);
  20. --- a/deps/v8/src/base/platform/platform-posix.cc
  21. +++ b/deps/v8/src/base/platform/platform-posix.cc
  22. @@ -823,7 +823,7 @@ bool Thread::Start() {
  23. #if V8_OS_MACOSX
  24. // Default on Mac OS X is 512kB -- bump up to 1MB
  25. stack_size = 1 * 1024 * 1024;
  26. -#elif V8_OS_AIX
  27. +#elif V8_OS_AIX || !defined(__GLIBC__)
  28. // Default on AIX is 96kB -- bump up to 2MB
  29. stack_size = 2 * 1024 * 1024;
  30. #endif
  31. --- a/deps/v8/src/codegen/external-reference-table.cc
  32. +++ b/deps/v8/src/codegen/external-reference-table.cc
  33. @@ -9,7 +9,7 @@
  34. #include "src/ic/stub-cache.h"
  35. #include "src/logging/counters.h"
  36. -#if defined(DEBUG) && defined(V8_OS_LINUX) && !defined(V8_OS_ANDROID)
  37. +#if defined(DEBUG) && defined(V8_OS_LINUX) && !defined(V8_OS_ANDROID) && defined(V8_LIBC_GLIBC)
  38. #define SYMBOLIZE_FUNCTION
  39. #include <execinfo.h>
  40. #include <vector>