Nevermind with:

host_cpu="x64" 
target_cpu="arm" 
v8_target_cpu="arm" 
v8_use_snapshot=true 
v8_use_external_startup_data=true 
v8_enable_i18n_support=false 
v8_static_library=false 
is_component_build=true 
is_clang=false 
is_asan=false 
is_cfi=false 
clang_use_chrome_plugins=false 
treat_warnings_as_errors=false 
v8_extra_library_files=[] 
v8_enable_gdbjit=false 
v8_enable_disassembler=false 
use_cxx11=true 
use_goma=false 
use_aura=false 
use_dbus=false 
use_gio=false
use_icf=false 
use_udev=false 
use_gold=false 
use_lld=false 
use_libfuzzer=false 
use_custom_libcxx=false 
use_thin_lto=false 
thin_lto_enable_optimizations=false
v8_enable_test_features= ""  
v8_experimental_extra_library_files=[] 
fatal_linker_warnings=false 
generate_linker_map=false 
enable_iterator_debugging=true 
is_debug=true 
v8_optimized_debug=true
symbol_level=1
enable_iterator_debugging=false 
use_sysroot=false
is_desktop_linux=true
linux_use_bundled_binutils=false

it worked!

Am Freitag, 5. April 2019 11:49:47 UTC+2 schrieb Roland E:
>
> Hi,
>
> I'm currently trying to build v8 armv7 binaries with my x64 ubuntu system 
> and gcc.
>
> *v8 version: 7.3.492-25*
> v8 Buildsystem: gn
> OS Arch: x64 (Ubuntu 18.04.1 LTS 4.15.0-46-generic #49-Ubuntu SMP x86_64 
> GNU/Linux)
> gcc version: 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
>
> *Environment vars:*
> target_host=arm-linux-gnueabihf
> cc_compiler=gcc-7
> cxx_compiler=g++-7
>
> HOST=armhf
> CHOST=$target_host
> AR=$target_host-ar
> AS=$target_host-as
> RANLIB=$target_host-ranlib
> CC=$target_host-$cc_compiler
> CXX=$target_host-$cxx_compiler
> LD=$target_host-ld
> NM=$target_host-nm
> STRIP=$target_host-strip
> LDFLAGS=
> CC_host=cc
> CXX_host=c++
>
> *v8 Args:*
> host_cpu="x86"
> target_cpu="arm"
> v8_target_cpu="arm" 
> target_os="linux"
> custom_toolchain="//build/toolchain/linux/unbundle:default" 
> host_toolchain="//build/toolchain/linux/unbundle:default" 
> v8_snapshot_toolchain="//build/toolchain/linux:x86"  
> v8_use_snapshot=true 
> v8_use_external_startup_data=true 
> v8_enable_i18n_support=false 
> v8_static_library=false
> is_component_build=true
> is_clang=false 
> is_asan=false 
> is_cfi=false 
> clang_use_chrome_plugins=false 
> treat_warnings_as_errors=false 
> v8_extra_library_files=[] 
> v8_enable_gdbjit=false 
> v8_enable_disassembler=false 
> use_cxx11=true 
> use_goma=false 
> use_aura=false 
> use_dbus=false 
> use_gio=false 
> use_icf=false 
> use_udev=false 
> use_gold=false 
> use_lld=false
> use_libfuzzer=false 
> use_custom_libcxx=false
> use_thin_lto=false
> thin_lto_enable_optimizations=false 
> v8_enable_test_features= ""  
> fatal_linker_warnings=false 
> generate_linker_map=false 
> enable_iterator_debugging=true 
> is_debug=true 
> v8_optimized_debug=true
> symbol_level=1
> enable_iterator_debugging=false
> use_sysroot=false
> is_desktop_linux=true
> linux_use_bundled_binutils=false
>
> *Installed gcc libraries:*
> sudo apt-get install gcc-arm-linux-gnueabihf
> sudo apt-get install g++-arm-linux-gnueabihf
> sudo apt-get install binutils-arm-linux-gnueabihf
> sudo apt-get install gcc-multilib-arm-linux-gnueabihf
> sudo apt-get install g++-multilib-arm-linux-gnueabihf 
> sudo apt-get install gcc-7-multilib
> sudo apt-get install g++-7-multilib
>
> Fix for missing asm/.. files: 
> https://stackoverflow.com/questions/14795608/asm-errno-h-no-such-file-or-directory
> sudo ln -s /usr/include/asm-generic /usr/include/asm
>
> *Error messages:*
> FAILED: obj/v8_external_snapshot/embedded.o
> arm-linux-gnueabihf-gcc-7 -MMD -MF obj/v8_external_snapshot/embedded.o.d 
> -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING 
> -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -D_DEBUG 
> -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 
> -DBUILDING_V8_SHARED -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC 
> -DOBJECT_PRINT -DVERIFY_HEAP -DV8_TRACE_MAPS -DV8_ENABLE_ALLOCATION_TIMEOUT 
> -DV8_ENABLE_FORCE_SLOW_PATH -DV8_ENABLE_CHECKS -DV8_DEPRECATION_WARNINGS 
> -DV8_IMMINENT_DEPRECATION_WARNINGS -DENABLE_HANDLE_ZAPPING 
> -DV8_USE_SNAPSHOT -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_CONCURRENT_MARKING 
> -DV8_CHECK_MICROTASKS_SCOPES_CONSISTENCY -DV8_EMBEDDED_BUILTINS 
> -DV8_TARGET_ARCH_ARM -DCAN_USE_ARMV7_INSTRUCTIONS 
> -DCAN_USE_VFP3_INSTRUCTIONS -DCAN_USE_VFP32DREGS -DCAN_USE_NEON -DDEBUG 
> -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -I../.. -Igen -I../.. -Igen -fPIC 
> -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector 
> -funwind-tables -fPIC -pipe -pthread -std=gnu11 -march=armv7-a 
> -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=neon -gdwarf-3 -g1 -c 
> gen/embedded.S -o obj/v8_external_snapshot/embedded.o
> gen/embedded.S: Assembler messages:
> gen/embedded.S:421: Error: unrecognized symbol type ""
> gen/embedded.S:468: Error: unrecognized symbol type ""
> gen/embedded.S:487: Error: unrecognized symbol type ""
> gen/embedded.S:506: Error: unrecognized symbol type ""
> gen/embedded.S:517: Error: unrecognized symbol type ""
> gen/embedded.S:529: Error: unrecognized symbol type ""
> *...*
>
>
> Are those settings correct, am I missing something or has someone and idea 
> why those errors occur?
>
> I could use any kind of help right now! Thank you very much!
>
> Regards,
> Roland
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to