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/Release/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

On Tue, Aug 14, 2012 at 1:03 AM, Ben Noordhuis <[email protected]> wrote:
> On Mon, Aug 13, 2012 at 4:44 PM, Adam Malcontenti-Wilson
> <[email protected]> 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).



-- 
Adam Malcontenti-Wilson

Reply via email to