Comments (6)
We no longer maintain cross-compiling v8 on MacOS. We only use it to build the snapshot tools. You will need a Linux VM to cross-compile v8.
Thanks for pointing that out, we will update the readme to reflect it.
from android-v8.
You mean if i want to follow this .md to build v8 successfully, i need to switch my OS to Linux... Alright thanks, i will try it on Linux Ubuntu VM...
from android-v8.
I'm sorry i just want to ask another question for the build on MacOS, if you know any particular reason for this error [clang: error: invalid linker name in argument '-fuse-ld=lld']:
ninja -C out.gn/android.arm.release -j 4 ninja: Entering directory
out.gn/android.arm.release'
[1/1] Regenerating ninja files [1797/2499] LINK ./torque-language-server FAILED: torque-language-server exe.unstripped/torque-language-server python "../../build/toolchain/gcc_link_wrapper.py" --output="./torque-language-server" --strip="../../buildtools/third_party/eu-strip/bin/eu-strip" --unstripped-file="./exe.unstripped/torque-language-server" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed --gcc-toolchain=../../third_party/android_ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64 -fuse-ld=lld -Wl,--icf=all -Wl,--color-diagnostics -Wl,--no-rosegment -Wl,--exclude-libs=libgcc.a -Wl,--exclude-libs=libvpx_assembly_arm.a --target=arm-linux-androideabi -Werror --sysroot=../../third_party/android_ndk/platforms/android-16/arch-arm -nostdlib -Wl,--warn-shared-textrel -pie -Bdynamic -Wl,-z,nocopyreloc -Wl,--warn-shared-textrel -Wl,-O2 -Wl,--gc-sections -L../../third_party/android_ndk/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a -o "./exe.unstripped/torque-language-server" -Wl,--start-group @"./torque-language-server.rsp" -Wl,--end-group ../../third_party/android_ndk/platforms/android-16/arch-arm/usr/lib/crtbegin_dynamic.o -landroid_support -lunwind ../../third_party/android_ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/libgcc.a -lc -ldl -lm -llog ../../third_party/android_ndk/platforms/android-16/arch-arm/usr/lib/crtend_android.o clang: error: invalid linker name in argument '-fuse-ld=lld' [1800/2499] CXX obj/v8_base_without_compiler/api.o ninja: build stopped: subcommand failed.
from android-v8.
I am afraid I haven't encountered this error but it looks like you might be using some outdated toolchain which is missing the LLD linker. What and how exactly are you trying to build? As I said earlier, cross-compiling v8 for android on MacOS is not supported.
from android-v8.
from android-v8.
We have updated the build.sh
script so that only the mksnapshot
tools are build on Mac OS.
from android-v8.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-v8.