Open
Bug 1457668
Opened 6 years ago
Updated 2 years ago
compile SpiderMonkey for arm on Ubuntu(16.04)
Categories
(Core :: JavaScript Engine, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: linghuanyun123, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180404120016 Steps to reproduce: I want to compile SpiderMonkey for arm by following the build_documentation: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Build_Documentation , I success with the default configuration on Ubuntu ,but when I compiled SpiderMoney with the arm configuration. I have run the bootstrap.py to get the build Tools and dependencies Here is my environment: OS: Ubuntu 16.04 SipderMoney : release 45.02 NDK : r15c Here is my configuration, the target was setted as arm-linux-androideabi ../configure --with-android-ndk=/home/memphise/.mozbuild/android-ndk-r15c --with-android-sdk=/home/memphise/.mozbuild/android-sdk-linux --with-android-toolchain=/home/memphise/.mozbuild/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 --target=arm-linux-androideabi Actual results: When I was run the configuration, the error happened, the error log was below: checking for valloc in malloc.h... yes checking for valloc in unistd.h... yes checking for setlocale... (cached) yes checking for localeconv... (cached) no creating ./config.status Reticulating splines... Traceback (most recent call last): File "./config.status", line 429, in <module> config_status(**args) File "/home/memphise/SpiderMonkey/mozjs-45.0.2/python/mozbuild/mozbuild/config_status.py", line 178, in config_status the_backend.consume(definitions) File "/home/memphise/SpiderMonkey/mozjs-45.0.2/python/mozbuild/mozbuild/backend/base.py", line 118, in consume for obj in objs: File "/home/memphise/SpiderMonkey/mozjs-45.0.2/python/mozbuild/mozbuild/frontend/emitter.py", line 189, in emit objs = list(self._emit_libs_derived(contexts)) File "/home/memphise/SpiderMonkey/mozjs-45.0.2/python/mozbuild/mozbuild/frontend/emitter.py", line 223, in _emit_libs_derived self._link_libraries(context, obj, variable) File "/home/memphise/SpiderMonkey/mozjs-45.0.2/python/mozbuild/mozbuild/frontend/emitter.py", line 336, in _link_libraries context) mozbuild.frontend.reader.SandboxValidationError: ============================== ERROR PROCESSING MOZBUILD FILE ============================== The error occurred while processing the following file or one of the files it includes: /home/memphise/SpiderMonkey/mozjs-45.0.2/mfbt/tests/moz.build The error occurred when validating the result of the execution. The reported error is: USE_LIBS contains "stlport", which does not match any LIBRARY_NAME in the tree. Expected results: I expected it should success, and the run the make to complie the SpiderMonkey for arm. I have comiple it for Linux successfully and found the libmozjs-45.so is the /js/src/dist/bin folder, but failed for the arm. Did I use the wrong configuration or something else?
Comment 1•6 years ago
|
||
Building issues are best asked in the development forums or IRC. https://groups.google.com/forum/#!forum/mozilla.dev.tech.js-engine or irc://irc.mozilla.org/jsapi
Component: General → JavaScript Engine
Product: Firefox for Android → Core
Version: Firefox 45 → 45 Branch
Updated•6 years ago
|
Priority: -- → P5
you try this : ../configure --with-android-ndk=/home/memphise/.mozbuild/android-ndk-r15c --with-android-sdk=/home/memphise/.mozbuild/android-sdk-linux --with-android-toolchain=/home/memphise/.mozbuild/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 --target=aarch64-linux-android
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•