''Floating point overflow (core dumped)'' due to the recent update of xbyak
LBruyne opened this issue · comments
Hins commented
Recently, downloading and running this repository has resulted in a 'Floating point overflow (core dumped)' error due to an update in the dependency 'xbyak'.
Hins commented
My solution:
First, run git submodule update --init --recursive
to fetch and update the dependencies.
Next, proceed with the following modification:
- Find
xbyak_util.h
in the submodulexbyak
, - Do the following 3 modification:
unsigned int nb_logical_cores = extractBit(data[0], 14, 25) + 1; if (n_cores != 0) // true only if leaf 0xB is supported and valid nb_logical_cores = (std::min)(nb_logical_cores, n_cores); assert(nb_logical_cores != 0);