Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
VFP2 ARM V8 Issues
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam Malcontenti-Wilson  
View profile  
 More options Aug 13 2012, 10:44 am
From: Adam Malcontenti-Wilson <adman....@gmail.com>
Date: Mon, 13 Aug 2012 07:44:57 -0700 (PDT)
Local: Mon, Aug 13 2012 10:44 am
Subject: VFP2 ARM V8 Issues

The V8 bundled with node currently requires an ARM CPU supporting VFP3 for
hard-float support, causing problems when trying to compile for ARMv6
devices like the Raspberry Pi.
There is a patch that was committed upstream
at http://codereview.chromium.org/10818026/ but does not apply cleanly to
the bundled V8 source, and attempting to replace it with version V8
version 3.12.17 which does include the fixes, produces a `error:
‘MAP_TRANSITION’ was not declared in this scope`. How do you normally apply
an upstream patch like this - would it be better to try and get 3.12.17 to
compile or to try and backport all the necessary changes to the bundled
source somehow? Or is there a better way to go about trying to get it
working on ARMv6 with hard float I haven't thought of yet?
Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Malcontenti-Wilson  
View profile  
 More options Aug 13 2012, 10:46 am
From: Adam Malcontenti-Wilson <adman....@gmail.com>
Date: Mon, 13 Aug 2012 07:46:28 -0700 (PDT)
Local: Mon, Aug 13 2012 10:46 am
Subject: Re: VFP2 ARM V8 Issues

Whoops, I forgot to mention I had tried both a 0.8.6 release and the master
branch - they appear to be quite far apart in terms of v8 so that's another
complicating factor.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Noordhuis  
View profile  
 More options Aug 13 2012, 11:03 am
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Mon, 13 Aug 2012 17:03:34 +0200
Local: Mon, Aug 13 2012 11:03 am
Subject: Re: [node-dev] VFP2 ARM V8 Issues
On Mon, Aug 13, 2012 at 4:44 PM, Adam Malcontenti-Wilson

<adman....@gmail.com> wrote:
> The V8 bundled with node currently requires an ARM CPU supporting VFP3 for
> hard-float support, causing problems when trying to compile for ARMv6
> devices like the Raspberry Pi.
> There is a patch that was committed upstream at
> http://codereview.chromium.org/10818026/ but does not apply cleanly to the
> bundled V8 source, and attempting to replace it with version V8 version
> 3.12.17 which does include the fixes, produces a `error: ‘MAP_TRANSITION’
> was not declared in this scope`.

You probably botched the upgrade, e.g. by leaving old files around. I
usually upgrade V8 as follows:

  rm -rf deps/v8/ && (cd /path/to/v8 && git archive --format=tar
--prefix=deps/v8/ <commit>) | tar x

Where /path/to/v8 is a clone of https://github.com/v8/v8 and <commit>
is the commit or branch name (possibly just HEAD).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Malcontenti-Wilson  
View profile   Translate to Translated (View Original)
 More options Aug 16 2012, 10:34 am
From: Adam Malcontenti-Wilson <adman....@gmail.com>
Date: Fri, 17 Aug 2012 00:34:34 +1000
Local: Thurs, Aug 16 2012 10:34 am
Subject: Re: [node-dev] VFP2 ARM V8 Issues
Thanks for the quick command.

I'm still getting the same errors as before though I think:

  g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64'
'-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_X64' -I../deps/v8/src
-Wall -pthread -m64 -fno-strict-aliasing -fno-strict-aliasing
-fno-tree-vrp -fno-rtti -fno-exceptions -MMD -MF
/home/adam/software/node/out/Release/.deps//home/adam/software/node/out/Rel ease/obj.target/v8_base/gen/debug-support.o.d.raw
 -c -o /home/adam/software/node/out/Release/obj.target/v8_base/gen/debug-support.o
/home/adam/software/node/out/Release/obj/gen/debug-support.cc
/home/adam/software/node/out/Release/obj/gen/debug-support.cc:44:37:
error: ‘MAP_TRANSITION’ was not declared in this scope
/home/adam/software/node/out/Release/obj/gen/debug-support.cc:334:50:
error: ‘kInstanceDescriptorsOrBitField3Offset’ is not a member of
‘v8::internal::Map’
make[1]: *** [/home/adam/software/node/out/Release/obj.target/v8_base/gen/debug-support. o]
Error 1
make[1]: Leaving directory `/home/adam/software/node/out'
make: *** [node] Error 2

Is this an error in V8, or just something has changed between the
version node supports and the later version of V8?
For reference, this is with node master and v8 3.12.19

--
Adam Malcontenti-Wilson

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Noordhuis  
View profile  
 More options Aug 16 2012, 11:15 am
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Thu, 16 Aug 2012 17:15:12 +0200
Local: Thurs, Aug 16 2012 11:15 am
Subject: Re: [node-dev] VFP2 ARM V8 Issues
On Thu, Aug 16, 2012 at 4:34 PM, Adam Malcontenti-Wilson

Some V8 internals changed. Try this[1] or this[2].

[1] https://github.com/bnoordhuis/v8/commit/add4152
[2] https://github.com/bnoordhuis/v8/commit/343b98c

Append .patch to get the patch file.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »