Hi,
had the same issue running my ASM_JS app with -O3.
(Like
https://groups.google.com/forum/#!topic/emscripten-discuss/HbTT01LESqs)
Testcase and proposed patch appended. I do not see the point adding the undef cttz_i8 with Imprecise_64 bit integers. The symbol seems only needed for llvm_cttz_ functions.
Sorry, testcase is a little big ... I am in the middle of optimizing and had no time to strip it down. See README for compile flags.
Patch https://www.dropbox.com/s/nqpsfc458jdnt6p/0001-Fix-cttz_i8-undefined-with-O3-and-ASM_JS.patch
Testcase https://www.dropbox.com/s/py9nl9dad3t6vnv/rochelobe.tgz
Hi,
had the same issue running my ASM_JS app with -O3.
(Like
https://groups.google.com/forum/#!topic/emscripten-discuss/HbTT01LESqs)
Testcase and proposed patch appended. I do not see the point adding the undef cttz_i8 with Imprecise_64 bit integers. The symbol seems only needed for llvm_cttz_ functions.
Sorry, testcase is a little big ... I am in the middle of optimizing and had no time to strip it down. See README for compile flags.
Patch https://www.dropbox.com/s/nqpsfc458jdnt6p/0001-Fix-cttz_i8-undefined-with-O3-and-ASM_JS.patch
Testcase https://www.dropbox.com/s/py9nl9dad3t6vnv/rochelobe.tgz