It was set to "arm-none-linux-gnueabi". I've tried both "armv5t" and 
"armv5te" (still getting the original linking error in both cases). When I 
tried to set it to just "arm", however, I got an error message at configure 
time:

zannalov@droboBuild32:~/code/node-v0.8.2$ ./configure --dest-cpu=arm 
--prefix=$DEST --without-snapshot
{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'host_arch': 'arm',
                 'node_install_npm': 'true',
                 'node_install_waf': 'true',
                 'node_no_strict_aliasing': 1,
                 'node_prefix': '/mnt/DroboFS/Shares/DroboApps/nodejs',
                 'node_shared_openssl': 'false',
                 'node_shared_v8': 'false',
                 'node_shared_zlib': 'false',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'false',
                 'node_use_openssl': 'true',
                 'target_arch': 'arm',
                 'v8_no_strict_aliasing': 1,
                 'v8_use_snapshot': 'false'}}
creating  ./config.gypi
creating  ./config.mk
Traceback (most recent call last):
  File "tools/gyp_node", line 58, in <module>
    run_gyp(gyp_args)
  File "tools/gyp_node", line 18, in run_gyp
    rc = gyp.main(args)
  File "./tools/gyp/pylib/gyp/__init__.py", line 471, in main
    options.circular_check)
  File "./tools/gyp/pylib/gyp/__init__.py", line 111, in Load
    depth, generator_input_info, check, circular_check)
  File "./tools/gyp/pylib/gyp/input.py", line 2378, in Load
    depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 430, in LoadTargetBuildFile
    includes, depth, check)
  File "./tools/gyp/pylib/gyp/input.py", line 384, in LoadTargetBuildFile
    build_file_data, PHASE_EARLY, variables, build_file_path)
  File "./tools/gyp/pylib/gyp/input.py", line 1027, in 
ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 904, in 
ProcessConditionsInDict
    variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 1053, in 
ProcessVariablesAndConditionsInDict
    build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 1068, in 
ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 1053, in 
ProcessVariablesAndConditionsInDict
    build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 1068, in 
ProcessVariablesAndConditionsInList
    ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 1027, in 
ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 904, in 
ProcessConditionsInDict
    variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 1027, in 
ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, phase, variables, build_file)
  File "./tools/gyp/pylib/gyp/input.py", line 885, in 
ProcessConditionsInDict
    if eval(ast_code, {'__builtins__': None}, variables):
  File "<string>", line 1, in <module>
NameError: name 'armv7' is not defined while evaluating condition 
'armv7==1' in /home/zannalov/code/node-v0.8.2/deps/v8/tools/gyp/v8.gyp 
while loading dependencies of /home/zannalov/code/node-v0.8.2/node.gyp 
while trying to load /home/zannalov/code/node-v0.8.2/node.gyp

Since this new error message is about armv7 and the cpuinfo says "CPU 
architecture: 5TE", I would assume I don't want to try compiling that way 
anyways.

I looked closely at the errors being produced, and all of them are "In 
function `v8::internal::<something>...undefined reference to 
`v8::internal::<something>..." except for the following (if this helps 
narrow it down any):

...
/home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a(deoptimizer.o):
 
In function 
`v8::internal::Deoptimizer::DoOsrTranslateCommand(v8::internal::TranslationIterator*,
 
int*)':
deoptimizer.cc:(.text._ZN2v88internal11Deoptimizer21DoOsrTranslateCommandEPNS0_19TranslationIteratorEPi+0x764):
 
undefined reference to `disasm::NameConverter::NameOfCPURegister(int) const'
deoptimizer.cc:(.text._ZN2v88internal11Deoptimizer21DoOsrTranslateCommandEPNS0_19TranslationIteratorEPi+0x870):
 
undefined reference to `disasm::NameConverter::NameOfCPURegister(int) const'
deoptimizer.cc:(.text._ZN2v88internal11Deoptimizer21DoOsrTranslateCommandEPNS0_19TranslationIteratorEPi+0xa4c):
 
undefined reference to `vtable for disasm::NameConverter'
/home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a(deoptimizer.o):
 
In function 
`v8::internal::Deoptimizer::DoTranslateCommand(v8::internal::TranslationIterator*,
 
int, unsigned int)':
deoptimizer.cc:(.text._ZN2v88internal11Deoptimizer18DoTranslateCommandEPNS0_19TranslationIteratorEij+0x8b0):
 
undefined reference to `disasm::NameConverter::NameOfCPURegister(int) const'
deoptimizer.cc:(.text._ZN2v88internal11Deoptimizer18DoTranslateCommandEPNS0_19TranslationIteratorEij+0x944):
 
undefined reference to `disasm::NameConverter::NameOfCPURegister(int) const'
deoptimizer.cc:(.text._ZN2v88internal11Deoptimizer18DoTranslateCommandEPNS0_19TranslationIteratorEij+0xb24):
 
undefined reference to `vtable for disasm::NameConverter'
...
/home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a(safepoint-table.o):
 
In function `v8::internal::SafepointTable::PrintEntry(unsigned int) const':
safepoint-table.cc:(.text._ZNK2v88internal14SafepointTable10PrintEntryEj+0x190):
 
undefined reference to `disasm::NameConverter::NameOfCPURegister(int) const'
safepoint-table.cc:(.text._ZNK2v88internal14SafepointTable10PrintEntryEj+0x1a4):
 
undefined reference to `vtable for disasm::NameConverter'
...

I've also tried adding "CXXFLAGS+=-fno-rtti CXXFLAGS+=-fno-exceptions" to 
the make call per this thread I found online ( 
http://comments.gmane.org/gmane.comp.lang.javascript.v8.general/3987 ), but 
that didn't have any effect either.

Thanks :-)

On Wednesday, July 11, 2012 4:37:13 PM UTC-4, Ben Noordhuis wrote:
>
> On Wed, Jul 11, 2012 at 5:46 PM, Jason Schmidt wrote: 
> > An additional bit of information: I hunted down and captured the exact 
> > command being run which is producing the errors. Maybe something is 
> missing 
> > from it? 
> > 
> > flock /home/zannalov/code/node-v0.8.2/out/Release/linker.lock 
> > /usr/local/arm-2007q1/bin/arm-none-linux-gnueabi-g++ -pthread -rdynamic 
>  -o 
> > /home/zannalov/code/node-v0.8.2/out/Release/node -Wl,--start-group 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/fs_event_wrap.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/cares_wrap.o 
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/handle_wrap.o 
>
> > /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_buffer.o 
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_constants.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_extensions.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_file.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_http_parser.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_javascript.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_main.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_os.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_script.o 
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_stat_watcher.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_string.o 
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_zlib.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/pipe_wrap.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/stream_wrap.o 
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/slab_allocator.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/tcp_wrap.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/timer_wrap.o 
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/tty_wrap.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/process_wrap.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/v8_typed_array.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/udp_wrap.o 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_crypto.o 
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_signal_watcher.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/node/src/node_io_watcher.o
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/http_parser/libhttp_parser.a
>  
>
> > /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/uv/libuv.a 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/openssl/libopenssl.a
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/zlib/libchrome_zlib.a
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a
>  
>
> > -Wl,--end-group -lrt -ldl 
> > 
> > And here are the beginning and end of the errors spat out by the linker: 
> > 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a(builtins.o):
>  
>
> > In function 
> > 
> `v8::internal::Generate_FrameDropper_LiveEdit(v8::internal::MacroAssembler*)':
>  
>
> > 
> builtins.cc:(.text._ZN2v88internal30Generate_FrameDropper_LiveEditEPNS0_14MacroAssemblerE+0x0):
>  
>
> > undefined reference to 
> > 
> `v8::internal::Debug::GenerateFrameDropperLiveEdit(v8::internal::MacroAssembler*)'
>  
>
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a(builtins.o):
>  
>
> > In function 
> > 
> `v8::internal::Generate_PlainReturn_LiveEdit(v8::internal::MacroAssembler*)': 
>
> > 
> builtins.cc:(.text._ZN2v88internal29Generate_PlainReturn_LiveEditEPNS0_14MacroAssemblerE+0x0):
>  
>
> > undefined reference to 
> > 
> `v8::internal::Debug::GeneratePlainReturnLiveEdit(v8::internal::MacroAssembler*)'
>  
>
> > ... 
> > 
> /home/zannalov/code/node-v0.8.2/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a(ic.o):
>  
>
> > In function `v8::internal::IC::Clear(unsigned char*)': 
> > ic.cc:(.text._ZN2v88internal2IC5ClearEPh+0x1bc): undefined reference to 
> > `v8::internal::PatchInlinedSmiCode(unsigned char*, 
> > v8::internal::InlinedSmiCheck)' 
> > ic.cc:(.text._ZN2v88internal2IC5ClearEPh+0x41c): undefined reference to 
> > `v8::internal::kBlxRegMask' 
> > ic.cc:(.text._ZN2v88internal2IC5ClearEPh+0x420): undefined reference to 
> > `v8::internal::kBlxRegPattern' 
> > collect2: ld returned 1 exit status 
>
> Check that the target_arch field in your config.gypi says 'arm', I bet 
> it's 'x64' now. 
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to