Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"Target architecture arm is only supported on arm and ia32 host"?
[51/72] libv8.a: deps/v8/SConstruct -> build/default/libv8.a
/usr/bin/python "/Users/nrajlich/node/tools/scons/scons.py" -j 1 -C "/Users/nrajlich/node/build/default/" -Y "/Users/nrajlich/node/deps/v8" visibility=default mode=release arch=arm library=static snapshot=on
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o obj/release/accessors.o -c -Wall -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -mmacosx-version-min=10.4 -fno-rtti -fno-exceptions -Wall -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -mmacosx-version-min=10.4 -DV8_TARGET_ARCH_ARM -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -I/Users/nrajlich/node/deps/v8/src /Users/nrajlich/node/deps/v8/src/accessors.cc
In file included from /Users/nrajlich/node/deps/v8/src/v8globals.h:31,
from /Users/nrajlich/node/deps/v8/src/v8.h:56,
from /Users/nrajlich/node/deps/v8/src/accessors.cc:28:
/Users/nrajlich/node/deps/v8/src/globals.h:91:2: error: #error Target architecture arm is only supported on arm and ia32 host
In file included from /Users/nrajlich/node/deps/v8/src/heap.h:33,
from /Users/nrajlich/node/deps/v8/src/contexts.h:31,
from /Users/nrajlich/node/deps/v8/src/objects-inl.h:39,
from /Users/nrajlich/node/deps/v8/src/v8.h:63,
from /Users/nrajlich/node/deps/v8/src/accessors.cc:28:
/Users/nrajlich/node/deps/v8/src/spaces.h:685: warning: left shift count >= width of type
/Users/nrajlich/node/deps/v8/src/spaces.h:698: error: ISO C++ forbids zero-size array 'chunk_table_'
In file included from /Users/nrajlich/node/deps/v8/src/macro-assembler.h:72,
from /Users/nrajlich/node/deps/v8/src/jsregexp.h:31,
from /Users/nrajlich/node/deps/v8/src/ast.h:33,
from /Users/nrajlich/node/deps/v8/src/accessors.cc:31:
/Users/nrajlich/node/deps/v8/src/arm/assembler-arm-inl.h: In constructor 'v8::internal::Operand::Operand(const v8::internal::ExternalReference&)':
/Users/nrajlich/node/deps/v8/src/arm/assembler-arm-inl.h:249: error: cast from 'v8::internal::byte*' to 'int32_t' loses precision
scons: *** [obj/release/accessors.o] Error 1
scons: building terminated because of errors.
Waf: Leaving directory `/Users/nrajlich/node/build'
Build failed: -> task failed (err #2):
{task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1
@tmpvar

This comment has been minimized.

Copy link

@tmpvar tmpvar commented Jul 28, 2011

were you able to get around this?

@TooTallNate

This comment has been minimized.

Copy link
Owner Author

@TooTallNate TooTallNate commented Jul 28, 2011

Are you trying to compile V8 on iOS? If so, I'd take a look at my fork of node and look at the patch that gets v8 to build. I'd get the link for you but, I'm on my iPhone right now, camping, with almost no service :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment