Again thanks for your answer and your time but sadly I am giving up without 
succeeding. My only goal il to get an operational nodeJS on a 
raspberryPiZero. I think I have overestimated my ability  to  cross-compile 
out of the tracks. I am bouncing from one error to another  and I have 
spent too much frustrating time on this topic. 
It is really a pitty that node developpers have abandonned the Pizero which 
benefits a lot of v8 and nodejs. I hope somebody with sufficient skills 
will spend the required time  to compileV8 indside  node for the 
arm1176jzf-s = armv6z (or maybe a google summer code ?).

I am not used to gn, I have spend some time to understand and resched the 
stage 137/......  in building V8  with the cross-compiler but no more. I 
have kept your advice and will try to compile on the PiZero  but at the 
moment  I cannot get an operational WIFI  which prevents a lot of things.

Do not hesitate to forward news on the compilation of V8 on armv6z  and if 
you have any contact in node push on them!
best....

Le mercredi 2 février 2022 à 18:48:20 UTC+1, Camillo Bruni a écrit :

> Hi,
>
> If I'm not mistaken, v8 on it's own supports armv6 
> <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/codegen/arm/assembler-arm.cc;l=68?q=FLAG_arm_arch>
>  
> + VFPv2 
> <https://source.chromium.org/chromium/chromium/src/+/main:v8/src/codegen/arm/assembler-arm.cc;l=161?q=FLAG_arm_arch>
> .
> You could try compiling d8 on your armv6 device (if you're patient):
>
> gn args:
>
> is_component_build = false
> is_debug = false
> target_os = "linux"
> target_cpu = "arm"
> v8_target_cpu = "arm"
> arm_version = 6
>
> We currently have a misconfiguration for the latest chrome version that 
> doesn't compile under armv6 (and only under armv6k), so you would have to 
> change
>  armv6 to armv6k in build/config/arm.gni.
>
> I currently don't have an arm device to compile on, so I get some linker 
> errors, which hopefully are resolved when compiling in the right 
> environment.
>
> cheers,
> Camillo
>
> On Wed, 2 Feb 2022 at 17:31, Gérard Vidal <[email protected]> wrote:
>
>> Hi,
>> I am a newcommer here and please don't flame if the answer is somewhere 
>> in the galaxy. I googled a little bit but did not find anything recent on 
>> that topic.
>>
>> I am using v8 and nodejs successfully on raspberriesPi armv7 an armv8, 
>> some year(s) ago I have been able to install properly a v8 and nodeJS on a 
>> PiZero  but it does not seem any more possible. 
>> Is there somewhere a magic combination of compilation parameters that 
>> would pass thtough the tests and yields an operational binary from 
>> cross-compilation, or is there an hidden branch that did not incorporate 
>> the need of armv7 ressources, webassembly constraints and accept the 
>> combination armv6 +VFP (arm1176jzf-s configuration).
>>
>> The PiZero is still on the market and it is a nice and usfull piece of 
>> hardware. Thanks in advance
>>
>> -- 
>> -- 
>> 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].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/v8-dev/d78ab39a-4614-42e3-b3ec-118af492f62bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/v8-dev/d78ab39a-4614-42e3-b3ec-118af492f62bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> Camillo Bruni |  Software Engineer, V8 |  Google Germany GmbH |  Erika-Mann 
> Str. 33, 80636 München 
>
> Registergericht und -nummer: Hamburg, HRB 86891 | Sitz der Gesellschaft: 
> Hamburg | Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
>
> Diese E-Mail ist vertraulich. Falls Ssie diese fälschlicherweise erhalten 
> haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, 
> löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, 
> dass die E-Mail an die falsche Person gesendet wurde.  This e-mail is 
> confidential. If you received this communication by mistake, please don't 
> forward it to anyone else, please erase all copies and attachments, and 
> please let me know that it has gone to the wrong person.
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/d1eeb09f-25dd-48a4-9ae4-b6d66a96c952n%40googlegroups.com.

Reply via email to