Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Linux compilation failed #429

Open
dudochkin-victor opened this issue Jun 7, 2018 · 0 comments
Open

Linux compilation failed #429

dudochkin-victor opened this issue Jun 7, 2018 · 0 comments

Comments

@dudochkin-victor
Copy link

Both crates is build, mozjs test passed succesfull, but rust-mozjs failed.
There are lot of 'undefined reference to' when i try to run tests.
Example:
/home/blacksmith/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.51.1/mozjs/js/src/jit/IonBuilder.cpp:14442: undefined reference to `js::jit::CompileCompartment::runtime()'

Also
warning: cc1plus: warning: unrecognized command line option «-Wno-return-type-c-linkage»
warning: cc1plus: warning: unrecognized command line option «-Wno-c++0x-extensions»

Seems that mozjs compiled using clang, but rust-mozjs compiled using gcc.

x86_64-pc-linux-gnu-5.4.0
clang-5.0.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant