Closed amoazeni75 closed 1 year ago
During building Pytorch from the source: I encountered this error: 141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
The solution is: nano /ADOP/External/pytorch/third_party/breakpad/src/client/linux/handler/exception_handler.cc
nano /ADOP/External/pytorch/third_party/breakpad/src/client/linux/handler/exception_handler.cc
find: static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); replace with: static const unsigned kSigStackSize = std::max(16384L, SIGSTKSZ);
static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
static const unsigned kSigStackSize = std::max(16384L, SIGSTKSZ);
During building Pytorch from the source: I encountered this error:
141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
The solution is:
nano /ADOP/External/pytorch/third_party/breakpad/src/client/linux/handler/exception_handler.cc
find:
static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
replace with:static const unsigned kSigStackSize = std::max(16384L, SIGSTKSZ);