Yes, I'll plan to restore the convenience cross compiler detection on standalone builds sometime today. In the meantime, as Henrik mentioned, adding:
export GYP_DEFINES="target_arch=arm" should work. Cheers, Ross On 19 Jul 2014 12:34, "Jakob Kummerow" <[email protected]> wrote: > [+Ross] > > Ross, dca7993... is r22444 > <https://code.google.com/p/v8/source/detail?r=22444>. Do you have a plan > for restoring convenience of standalone builds? Ideally, "make arm.release" > should just do the right thing in these three scenarios: > (1) x86 host, no cross compiler selected -> simulator build > (2) x86 host, CXX is an ARM cross-compiler -> cross-compile build > (3) ARM host -> native build > > > On Fri, Jul 18, 2014 at 5:56 PM, Hendrik Greving < > [email protected]> wrote: > >> For the record, >> >> export GYP_DEFINES="target_arch=arm" >> >> Fixed it for me. >> >> Thanks, >> Hendrik >> >> >> On Friday, July 18, 2014 8:30:34 AM UTC-7, Hendrik Greving wrote: >>> >>> E.g. the following works for me: >>> >>> git diff 39b0897a21da70c669757986fd..dca7993fad0d4a51df5698 >& >>> patch.diff >>> git apply -R patch.diff >>> export CXX=arm-linux-gnueabihf-g++ >>> export LINK=arm-linux-gnueabihf-g++ >>> make arm.debug i18nsupport=off V=1 hardfp=on -j12 >>> >>> >>> On Friday, July 18, 2014 8:14:59 AM UTC-7, Hendrik Greving wrote: >>>> >>>> I have always been using Linaro 32 bit cross compiler. I don't think >>>> this is the problem. Somehow the build system now doesn't look at CXX and >>>> looks at the host compiler instead. >>>> >>>> arm-linux-gnueabihf-g++ --version >>>> arm-linux-gnueabihf-g++ (crosstool-NG linaro-1.13.1-4.8-2014.02 - >>>> Linaro GCC 2014.02) 4.8.3 20140203 (prerelease) >>>> >>>> >>>> On Friday, July 18, 2014 12:35:47 AM UTC-7, Rodolph Perfetta wrote: >>>>> >>>>> Your host must have 32-bit support to cross compile for ARM. on x64 >>>>> multilib will do. >>>>> >>>>> >>>>> On 17 July 2014 23:25, Hendrik Greving <[email protected]> wrote: >>>>> >>>>>> Looks like commit dca7993fad0d4a51df569840f5502529f06df128 broke >>>>>> cross compiling for me. >>>>>> >>>>>> On Thursday, July 17, 2014 2:06:33 PM UTC-7, Hendrik Greving wrote: >>>>>>> >>>>>>> Hi, I am getting >>>>>>> >>>>>>> .././src/base/build_config.h:126:2: error: #error Target >>>>>>> architecture arm is only supported on arm and ia32 host >>>>>>> >>>>>>> I've been building like make arm.debug i18nsupport=off V=1 hardfp=on >>>>>>> -j12 for a while (on x64 machine). Is cross compiling not supported >>>>>>> anymore? >>>>>>> >>>>>>> Regards, >>>>>>> Hendrik Greving >>>>>>> >>>>>> -- >>>>>> -- >>>>>> v8-dev mailing list >>>>>> [email protected] >>>>>> http://groups.google.com/group/v8-dev >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "v8-dev" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >> -- >> v8-dev mailing list >> [email protected] >> http://groups.google.com/group/v8-dev >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
