-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cttz_i8 is not defined [PATCH] #1353
Comments
Is the relevant part |
Not sure what you want me to do: I used emcc -O2 with -s PRECISE_I64_MATH=0 with unmodified emscripten and got an internal error: .... Olaf Am 08.07.2013 um 01:29 schrieb Alon Zakai notifications@github.com:
|
Thanks, that's what I meant. So that code must require precise i64 math. That flag, like all |
After emscripten-core#21518 landed, the previous 3.1.56 release (emscripten-core#1353) turned out to be broken so we replaced 3.1.56 with the new one (emscripten-core#1360). So here to be precise we update the date of the new 3.1.56 release.
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
The text was updated successfully, but these errors were encountered: