darglein / ADOP

MIT License
2.03k stars 199 forks source link

exception_handler.cc #92

Closed amoazeni75 closed 1 year ago

amoazeni75 commented 1 year ago

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);