Skip to content

stylo's build script crashes inside mangling with "(signal: 11, SIGSEGV: invalid memory reference)" on macOS #462

Closed
@upsuper

Description

@upsuper

See bug 1335302.

After adding "--stdlib=libc++", "--target=x86_64-apple-darwin" to clang args in build_gecko.rs, the bindgen does not report any compile error anymore, but it crashes with the stack I pasted in bug 1335302 comment 3.

I saw #439, and also tested upgrading to clang-sys 0.14.0, but it doesn't seem to help. The build script still crashes at the same location.

It seems to crash when trying to get mangling name of __find_exactly_one_checked::__matches at /usr/local/Cellar/llvm/3.9.0/include/c++/v1/tuple:1018:25. But I failed to find minimal reproducible code...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions