Skip to content

Release build emit assertion `(KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?"' #44899

Closed
@kamyuentse

Description

@kamyuentse

I'm a user of the rust-zookeeper, and I found it build failed in release mode.
using the command: cargo build --release --verbose

log:https://gist.github.com/kamyuentse/1bf0c8d65fd40a17060f5cca515e720c

It seems an upstream bug related the LLVM? There is any workaround to fix this bug?

bonifaido/rust-zookeeper#37

Environment:
rustc: rustc 1.22.0-nightly (0e6f4cf51 2017-09-27)
OS: CentOS Linux release 7.4.1708
Kernel: Linux 4.13.3-1.el7.elrepo.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions