winterjs
winterjs copied to clipboard
Build error on Linux
Unable to build on Linux. Same error observed on Twitter - https://twitter.com/jarredsumner/status/1767348346023477343
error: failed to run custom build command for `mozjs_sys v0.68.2 (https://github.com/wasmerio/mozjs.git?branch=wasi-gecko#91349dc0)`
Caused by:
process didn't exit successfully: `/home/moderation/Library/winterjs/target/release/build/mozjs_sys-93fdae36e3dbc133/build-script-build` (exit status: 101)
--- stdout
cargo:outdir=/home/moderation/Library/winterjs/target/release/build/mozjs_sys-449cb3a5e1bdf4cb/out/build
[[ '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure -ot '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure.in ]] && touch '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure || true
[[ '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/old-configure -ot '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/old-configure.in ]] && touch '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/old-configure || true
! [[ '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure.in -ot '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure ]] && touch '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure || true
! [[ '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/old-configure.in -ot '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/old-configure ]] && touch '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/old-configure || true
if [[ '/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure -nt config.status ]] ; then \
CC="clang" CFLAGS="" \
CPP="cc -E" CPPFLAGS="-I/home/moderation/.cargo/registry/src/index.crates.io-6f17d22bba15001f/encoding_c_mem-0.2.6/include " \
CXX="clang++" CXXFLAGS="" \
AS="" AR="ar" \
'/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys'/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --disable-export-js --disable-shared-js --build-backends=RecursiveMake --enable-js-streams || (cat config.log && exit 1) ; \
fi
Using Python 3.11.8 from /usr/bin/python3
Created Python 3 virtualenv
checking for vcs source checkout... no
with tons of output ending with
DEBUG: Executing: `/usr/bin/clang++ /tmp/conftest.k6i3pu8z.cpp -Werror -fno-aligned-new -Wno-error=unused-command-line-argument -c`
INFO: yes
INFO: checking for llvm_profdata...
DEBUG: llvm_profdata: Looking for llvm-profdata
INFO: not found
DEBUG: Executing: `/usr/bin/clang --print-prog-name=llvm-objdump`
INFO: checking for llvm-objdump...
DEBUG: llvm_objdump: Looking for llvm-objdump
INFO: not found
ERROR: Cannot find llvm-objdump
--- stderr
gmake: *** No targets specified and no makefile found. Stop.
DEBUG: llvm_objdump: Looking for llvm-objdump
ERROR: Cannot find llvm-objdump
make: *** [/home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys/makefile.cargo:158: maybe-configure] Error 1
thread 'main' panicked at /home/moderation/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys/build.rs:272:5:
assertion failed: result.success()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I have the same problem
Hey @moderation, thanks for reporting this! The error seems to be from the SpiderMonkey build process. I'll try to build on Linux and see if I can reproduce this on my end.
@moderation I just tried building mozjs_sys on WSL and couldn't reproduce the issue. Please follow the steps outlined here for building mozjs_sys and see if that fixes your issue.
I see the commit to update instructions at https://github.com/wasmerio/winterjs/commit/8da4364d21b6886f94575c9d32edc9d682a382df
When building mozjs
do you need to use the specific version and branch defined in https://github.com/wasmerio/winterjs/blob/main/Cargo.toml#L39-L41 ?
Do we need to clone and build mozjs
into a different directory? Does it matter where that is?
Yes, that specific version is needed. It's built as part of the build process for WinterJS, you just need to make sure you have the required tools and libraries installed. The code will be cloned and built by Cargo automatically.
Installed llvm
and it looks like it makes it through the mozjs
build but now fails on linking
= note: ld.lld: error: undefined symbol: mozilla::TimeStamp::Now(bool)
>>> referenced by TimeStamp.h:440 (/home/moderation/Library/winterjs/target/release/build/mozjs_sys-449cb3a5e1bdf4cb/out/build/dist/include/mozilla/TimeStamp.h:440)
>>> TimeStamp.o:(mozilla::TimeStamp::ProcessCreation()) in archive /home/moderation/Library/winterjs/target/release/deps/libmozjs_sys-4a025175c7358259.rlib
>>> referenced by TimeStamp.h:440 (/home/moderation/Library/winterjs/target/release/build/mozjs_sys-449cb3a5e1bdf4cb/out/build/dist/include/mozilla/TimeStamp.h:440)
>>> TimeStamp.o:(_GLOBAL__sub_I_TimeStamp.cpp) in archive /home/moderation/Library/winterjs/target/release/deps/libmozjs_sys-4a025175c7358259.rlib
>>> referenced by TimeStamp.h:440 (/home/moderation/Library/winterjs/target/release/build/mozjs_sys-449cb3a5e1bdf4cb/out/build/dist/include/mozilla/TimeStamp.h:440)
>>> Unified_cpp_js_src_jit5.o:(js::jit::IonCacheIRCompiler::compile(js::jit::IonICStub*)) in archive /home/moderation/Library/winterjs/target/release/deps/libmozjs_sys-4a025175c7358259.rlib
>>> referenced 177 more times
Can you find mozjs_sys's build directory (under the target
directory) and recursively list all the *.o files in there? Also, which distro are you on?
my progress
then the error comes up xD
pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src1.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src10.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src2.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src2.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src2.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src20.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src21.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src24.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src27.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: more undefined references to `mozilla::TimeStamp::Now(bool)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src27.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_debugger0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_frontend0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_frontend0.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: more undefined references to `mozilla::TimeStamp::Now(bool)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc0.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc1.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc1.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc1.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: more undefined references to `mozilla::TimeStamp::Now(bool)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: more undefined references to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc2.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: more undefined references to `mozilla::TimeStamp::Now(bool)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: more undefined references to `mozilla::TimeStamp::Now(bool)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: more undefined references to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: more undefined references to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc3.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_gc4.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_jit1.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_jit1.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: more undefined references to `mozilla::TimeStamp::Now(bool)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_wasm2.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Interpreter.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(RegExpNativeMacroAssembler.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_jit0.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(Unified_cpp_js_src_jit0.o):/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: more undefined references to `mozilla::TimeStamp::Now(bool)' follow
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(TimeStamp.o): in function `mozilla::TimeStamp::ProcessCreation()':
/home/tomie/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys/mozjs/mozglue/misc/TimeStamp.cpp:62: undefined reference to `mozilla::TimeStamp::ComputeProcessUptime()'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(TimeStamp.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(TimeStamp.o): in function `mozilla::TimeStampInitialization::~TimeStampInitialization()':
/home/tomie/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys/mozjs/mozglue/misc/TimeStamp.cpp:43: undefined reference to `mozilla::TimeStamp::Shutdown()'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(TimeStamp.o): in function `mozilla::TimeStampInitialization::TimeStampInitialization()':
/home/tomie/.cargo/git/checkouts/mozjs-e1c76167ba7c548f/91349dc/mozjs-sys/mozjs/mozglue/misc/TimeStamp.cpp:36: undefined reference to `mozilla::TimeStamp::Startup()'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(TimeStamp.o): in function `mozilla::TimeStamp::Now()':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:440: undefined reference to `mozilla::TimeStamp::Now(bool)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(ConditionVariable_posix.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(ConditionVariable_posix.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::ToSeconds() const':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:95: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::ToSeconds(long)'
/usr/bin/ld: /tmp/cargo-installbapaFe/release/deps/libmozjs_sys-676b138cb73e5127.rlib(ConditionVariable_posix.o): in function `mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>::FromMilliseconds(double)':
/tmp/cargo-installbapaFe/release/build/mozjs_sys-c6a2078f19094a02/out/build/dist/include/mozilla/TimeStamp.h:127: undefined reference to `mozilla::BaseTimeDurationPlatformUtils::TicksFromMilliseconds(double)'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `winterjs` (bin "winterjs") due to 1 previous error
error: failed to compile `winterjs v0.4.3 (https://github.com/wasmerio/winterjs#cc31d5c0)`, intermediate artifacts can be found at `/tmp/cargo-installbapaFe`.
winterjs js it self is the last step xD
@TomieAi the last step is the linking step, where the results of all the built code is combined into one binary. The link error you're seeing is, with 99% certainty, the result of a missed object file from SpiderMonkey, but I haven't been able to reproduce this issue so I don't know which one...
@TomieAi the last step is the linking step, where the results of all the built code is combined into one binary. The link error you're seeing is, with 99% certainty, the result of a missed object file from SpiderMonkey, but I haven't been able to reproduce this issue so I don't know which one...
I did the compilation using wsl ubuntu 22.04
i dont know what did i missed ngl..
sudo apt-get install build-essential python3 python3-distutils llvm libclang-dev clang m4
export LIBCLANG_PATH=/usr/lib/llvm-14/lib
cargo install --git https://github.com/wasmerio/winterjs winterjs
only winterjs cant build sadly xD 443/444 xD
To be clear, you didn't miss anything, our custom SpiderMonkey build scripts did.
I managed to reproduce the same error as @TomieAi using docker:
FROM rust:1.76 as build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
python3 \
python3-distutils \
llvm \
libclang-dev \
clang \
&& rm -rf /var/lib/apt/lists/*
RUN cargo install --git https://github.com/wasmerio/winterjs winterjs
CMD ["winterjs"]
@psimk thanks, that'll be very useful!
"mozjs-sys/object-files.list:2:mozglue/misc/TimeStamp_darwin.o" => may cause the link failed on linux platform.
"mozjs-sys/object-files.list:2:mozglue/misc/TimeStamp_darwin.o" => may cause the link failed on linux platform.
Given how in my local miscompile in linux x86_64 the missing types/symbols seems to be mozilla::TimeStamp
, mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>
and mozilla::BaseTimeDurationPlatformUtils
, I think the missing object file could be a TimeStamp one. I find slightly surprising that a file with darwin in the name break the x86_64 build, but whatever.
Has anyone figured out these missing build artifacts?
Cannot build either on Ubuntu Jammy. Stops here every time:
Compiling static-web-server v2.14.2 (https://github.com/wasix-org/static-web-server?rev=87bb6804a7e60db08399f8f7f22bb10bf028a489#87bb6804) Compiling swc_ecma_utils v0.127.15 Compiling swc_ecma_transforms_base v0.137.16 ^C Building [=======================> ] 440/456: swc_ecma_utils, mozjs_sys(build), swc_ecma_transforms_base, swc_ecma_parser, static-web-server
Can someone who was receiving the link error (@esanchma, @zhaolei0505, @TomieAi, @moderation, @yonas) please try out the fix-obj-file-lists branch and see if it builds for you on Linux? In theory, the error should be fixed, but I never managed to reproduce it on my end, so I can't know for certain. Thanks in advance.
my zlib is 1.2.11 yet it says
ERROR: Requested 'zlib >= 1.2.3' but version of zlib is @VERSION@
no idea what does that mean
and the rest of error looks like this build-log.txt
@godronus the main error seems to be:
configure: error: These compiler flags are invalid: -O3
Which is quite odd, since -O3
is indeed a valid cc
/clang
flag AFAIK. Which version of clang
are you using? We use clang-15.
@TomieAi try running /usr/bin/pkg-config --errors-to-stdout --print-errors 'zlib >= 1.2.3'
, the output should give you more information as to what is going wrong. It's probably a configuration issue somewhere.
Also, can everyone please attach build logs as a file to keep the comments visible? Thanks.
I get Cargo errors with the glue
package. SUSE Tumbleweed using Rust 1.77.1
winterjs_build.txt
Edit: Clang 17.0.6
@Arshia001 Ubuntu clang version 14.0.0-1ubuntu1.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin
---> updated clang --version ( Ubuntu clang version 15.0.7 )
now pretty much inline with what @TomieAi is seeing
@TomieAi try running
/usr/bin/pkg-config --errors-to-stdout --print-errors 'zlib >= 1.2.3'
, the output should give you more information as to what is going wrong. It's probably a configuration issue somewhere.Also, can everyone please attach build logs as a file to keep the comments visible? Thanks.
I tried it.. it dint show any message it means I have a higher zlib.. and it just fine.
my zlib is 1.2.11 yet it says ERROR: Requested 'zlib >= 1.2.3' but version of zlib is @Version@ no idea what does that mean and the rest of error looks like this build-log.txt
I just realize the old error says "@Version@" xD instead of actual version
it should be
Requested 'zlib >= 1.2.3' but version of zlib is 1.x.x
And not
Requested 'zlib >= 1.2.3' ' but version of zlib is @Version@
I don't know how to skip that check tho. i swear i have latest zlib
my comment above proves it no error at all after checking it via pkg-config. I currently have 1.3.1
ok, having installed clang-15 I feel like I have just gone full circle back to same logs clang15_build.txt
I then thought to try and see what has changed in these branches and if I could start digging into the files and see if they matched up to errors in anyway but I am struggling to see anything other than branch-names /git_sha references. I guess I will just keep an eye on the issue for now, clang is not my specialist subject
My output looks the same as https://github.com/wasmerio/winterjs/issues/47#issuecomment-1999985291
llvm 16.0 clang version: 16.0.6 (15), Target: x86_64-pc-linux-gnu
It was sort of fun to try and get this to run, but it isn't worth continuing to try. I was going to post the links to when Wasmer tried to trademark the term WebAssembly but this thread is a pretty good example of PR and / or controversy driven development. A big splash on the launch of WinterJS 1.0 including benchmarks, but the folks that want to build it for themselves (including competitors) can't because it isn't possible.
@moderation thank you for your time. I'm reopening this issue since the problem is not yet solved.