I found a solution, de args.gn parameters for x64 compatible with g++ o gcc are:
target_os="linux" target_cpu="x64" v8_target_cpu="x64" is_debug=false dcheck_always_on=false is_clang=false is_component_build=false strip_debug_info=true symbol_level=0 treat_warnings_as_errors=false use_custom_libcxx=false v8_enable_gdbjit=false v8_enable_i18n_support=false v8_enable_pointer_compression=false v8_enable_test_features=false v8_monolithic=true v8_use_external_startup_data=false clang_use_chrome_plugins=false enable_rust=false target_sysroot_dir="" use_rtti=false use_sysroot=false v8_deprecation_warnings=false v8_enable_builtins_optimization=true v8_enable_sandbox=false v8_enable_snapshot_compression=false v8_enable_temporal_support=false v8_imminent_deprecation_warnings=false I think these parameters make the magic "is_clang=false enable_rust=false use_sysroot=false target_sysroot_dir="" " but use all of them. I found this great page with the solution here: https://github.com/just-js/v8/blob/main/args.linux.x64.gn There are all the "args.gn" configuration for different platforms. When I did the compilation only found one warning, nothing important. Juan dos Santos El lunes, 25 de agosto de 2025 a las 8:03:43 UTC-3, Juan dos Santos escribió: > > on ubuntu 24.04 > > std::bit_cast not found in src/base/numbers/global.h > > Maybe is related to libstdc++ library ?? > > -std=c++20 exist in clang++ > > Can you help me ? > > thanks > > > > > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/v8-dev/c8c459e4-fe8f-4136-8151-fd11866ef24an%40googlegroups.com.
