On Tue, Apr 3, 2012 at 07:22, cjimison <[email protected]> wrote: > I also posted this in the comments of the wiki page for building D8 on > android. Sorry to double post but deadlines are a bitch so I am casting as > big of a net as I can :P >
Posting here is fine. Wiki page comments tend to not get noticed. > I have followed all the steps and I have installed the suggested NDK and > SDK but I keep getting the following error: > > make1? <http://code.google.com/p/v8/w/edit/1>: Entering directory > `/home/<USER>/v8/out' > > LINK(host) /home/<USER>/v8/out/android.release/mksnapshot > > /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for > -lstdc++ /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++ > /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status make1 > ? <http://code.google.com/p/v8/w/edit/1>: > ***[/home/<USER>/v8/out/android.release/mksnapshot] > Error 1 make1? <http://code.google.com/p/v8/w/edit/1>: Leaving directory > `/home/<USER>/v8/out' make: > ***android?<http://code.google.com/p/v8/w/edit/android>Error > 2 > Sorry, I don't know this error. Building d8 for Android WorkedForMeâ„¢ last time I tried it ;-) Are you passing any non-default parameters/flags to your "make android" command line? Have you performed the "build/tools/make-standalone-toolchain.sh --platform= android-9 --install-dir=toolchain" step described in the NDK section of the wiki page? Are you forcing any relevant environment variables (CC/CXX/LD/LINK) in your shell? Can you successfully compile an ARM-simulator d8 on your machine ("make arm.release")? What you could also do is run "make android.clean; make android V=1" and post the entire output to pastebin. I'll get back to my development workstation next Tuesday; then I can try to repro this issue. -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
