On Wed, Jun 24, 2015 at 5:16 AM, Gary Bi <w13...@gmail.com> wrote: > Hi Jakob, > > Using the command you mentioned make ia32.release GYPFLAGS=-Dclang=0, I > got this error, any idea? Thanks! > > user@ubuntu:~/webrtc-checkout/src/chromium/src/v8$ make ia32.release > GYPFLAGS=-Dclang=0 > make: *** No rule to make target `third_party/icu/icu.gypi', needed by > `out/Makefile.ia32.release'. Stop. >
Looks like you're trying to build standalone V8 inside a Chromium checkout. That won't work, because third-party dependencies will be where the Chromium build expects them rather than where the standalone V8 build expects them. You can probably work around it by manually copying things (at least icu, maybe more), but that's going to be brittle because you'll miss out on automatic updates. Not sure whether symlinks would work. Or you could just get a standalone V8 checkout. If you have depot_tools installed, it's as easy as "fetch v8" (check our wiki page for details). > user@ubuntu:~/webrtc-checkout/src/chromium/src/v8$ vi Makefile > user@ubuntu:~/webrtc-checkout/src/chromium/src/v8$ make ia32.release > GYPFLAGS=-Dclang=0 > make: *** No rule to make target `third_party/icu/icu.gypi', needed by > `out/Makefile.ia32.release'. Stop. > > > On Friday, March 13, 2015 at 5:41:00 PM UTC+8, Jakob Kummerow wrote: >> >> make ia32.release GYPFLAGS=-Dclang=0 should be enough to fall back to >> the system toolchain. (Maybe we should expose that as a Makefile option... >> but then it's rarely needed.) >> >> On Fri, Mar 13, 2015 at 9:40 AM, Jochen Eisinger <joc...@chromium.org> >> wrote: >> >>> The clang binary included with v8 is a 64bit binary. >>> >>> If you want to compile on a 32bit host, you have to provide your own >>> compiler (by specifying CC, CXX, CPP, and LINK variables to make) >>> >>> best >>> -jochen >>> >>> On Thu, Mar 12, 2015 at 2:04 PM David Xanatos <xanato...@gmail.com> >>> wrote: >>> >>>> i have problems building the v8 engine on ubuntu x86 >>>> >>>> i get strange errors >>>> >>>> david@ubuntu:~/test/v8$ make ia32.release library=shared >>>> PYTHONPATH="/home/david/test/v8/tools/generate_shim_headers:/home/david/test/v8/build::/home/david/test/v8/build/gyp/pylib:" >>>> \ >>>> GYP_GENERATORS=make \ >>>> build/gyp/gyp --generator-output="out" build/all.gyp \ >>>> -Ibuild/standalone.gypi --depth=. \ >>>> -Dv8_target_arch=ia32 \ >>>> \ >>>> \ >>>> -S.ia32.release -Dcomponent=shared_library >>>> -Dv8_enable_backtrace=1 -Darm_fpu=default -Darm_float_abi=default >>>> make[1]: Entering directory `/home/david/test/v8/out' >>>> CC(target) >>>> /home/david/test/v8/out/ia32.release/obj.target/icudata/third_party/icu/linux/icudtl_dat.o >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 1: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> @8: not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 1: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> cannot open j >>>> >>>> q��zi� d� v��GX.� 0@ y 2 0*p!: No such file >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 2: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: B� >>>> � : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 1: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> ELF : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 1: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: �: >>>> not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 2: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: Q >>>> ! �MQ�k�P@��PD @2�� ��@� : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 3: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: @ >>>> ! �@$��� : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 1: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: � >>>> : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 1: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: �� >>>> � �@: not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 3: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: � >>>> : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 8: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: : >>>> not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 9: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> A@� >>>> R � : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 1: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: �� >>>> : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 11: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> @D�E�� a � L @ @� >>>> n : not found >>>> /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> 12: /home/david/test/v8/third_party/llvm-build/Release+Asserts/bin/clang: >>>> Syntax error: "(" unexpected >>>> make[1]: *** >>>> [/home/david/test/v8/out/ia32.release/obj.target/icudata/third_party/icu/linux/icudtl_dat.o] >>>> Error 2 >>>> make[1]: Leaving directory `/home/david/test/v8/out' >>>> make: *** [ia32.release] Error 2 >>>> david@ubuntu:~/test/v8$ >>>> >>>> >>>> >>>> on ubuntu x64 all works as it should >>>> >>>> whats wrong here? >>>> >>>> -- >>>> -- >>>> v8-users mailing list >>>> v8-u...@googlegroups.com >>>> http://groups.google.com/group/v8-users >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "v8-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to v8-users+u...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> -- >>> v8-users mailing list >>> v8-u...@googlegroups.com >>> http://groups.google.com/group/v8-users >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "v8-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to v8-users+u...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.