Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

0.6.14 Build Failed BeagleBone Angstrom #3009

Closed
michaelcdillon opened this issue Mar 25, 2012 · 2 comments
Closed

0.6.14 Build Failed BeagleBone Angstrom #3009

michaelcdillon opened this issue Mar 25, 2012 · 2 comments
Labels

Comments

@michaelcdillon
Copy link

I'm trying to build the 0.6.14 version on a BeagleBone running Angstrom linux v2012.02-core. Here is the end of the make command where the build failed:

/usr/bin/g++ -o obj/release/arm/macro-assembler-arm.o -c -fno-rtti -fno-exceptions -Wall -W -Wno-unused-parameter -Wnon-virtual-dtor -Wno-abi -pedantic -mfloat-abi=softfp -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -fno-strict-aliasing -DCAN_USE_VFP_INSTRUCTIONS -DUSE_EABI_HARDFLOAT=0 -DV8_TARGET_ARCH_ARM -DENABLE_DEBUGGER_SUPPORT -I/home/root/workspace/node-v0.6.14/deps/v8/src      /home/root/workspace/node-v0.6.14/deps/v8/src/arm/macro-assembler-arm.cc
/home/root/workspace/node-v0.6.14/deps/v8/src/arm/macro-assembler-arm.cc:64:3: error: #error "For thumb interworking we require an architecture which supports blx"
scons: *** [obj/release/arm/macro-assembler-arm.o] Error 1
scons: building terminated because of errors.
Waf: Leaving directory `/home/root/workspace/node-v0.6.14/out'
Build failed:  -> task failed (err #2): 
    {task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1
@bnoordhuis
Copy link
Member

V8 fails to detect the architecture it's compiling for. Adding -march=x to the compiler flags lets you work around that (where x is the name of your particular architecture, like armv6 or armv7). #2131 has a comprehensive writeup on how to patch the build system.

@michaelcdillon
Copy link
Author

Thanks so much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants