Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64 unrecognized command line option '-mfpu=vfp' and '-marm' #50

Open
dijiang opened this issue Nov 13, 2020 · 0 comments
Open

arm64 unrecognized command line option '-mfpu=vfp' and '-marm' #50

dijiang opened this issue Nov 13, 2020 · 0 comments

Comments

@dijiang
Copy link

dijiang commented Nov 13, 2020

use linux-arm64 to build nodejs 4.8.3 from source, error happened
error like below:

`/usr/xcc/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-g++ '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DENABLE_DISASSEMBLER' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I../deps/v8 -pthread -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -mfpu=vfp -marm -O3 -ffunction-sections -fdata-sections -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /work/out/Release/.deps//work/out/Release/obj.target/v8_base/deps/v8/src/accessors.o.d.raw -c -o /work/out/Release/obj.target/v8_base/deps/v8/src/accessors.o ../deps/v8/src/accessors.cc

aarch64-unknown-linux-gnueabi-g++: error: unrecognized command line option '-mfpu=vfp'; did you mean '-mcpu='?

aarch64-unknown-linux-gnueabi-g++: error: unrecognized command line option '-marm'; did you mean '-fasm'?

deps/v8/tools/gyp/v8_base.target.mk:398: recipe for target '/work/out/Release/obj.target/v8_base/deps/v8/src/accessors.o' failed

make[1]: *** [/work/out/Release/obj.target/v8_base/deps/v8/src/accessors.o] Error 1

make[1]: Leaving directory '/work/out'

Makefile:69: recipe for target 'node' failed

make: *** [node] Error 2`

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

No branches or pull requests

1 participant