Skip to content

cttz_i8 is not defined [PATCH] #1353

@oflebbe

Description

@oflebbe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions