from the build.log: gn gen --args= is_clang=false custom_toolchain="//build/toolchain/linux/unbundle:default" host_toolchain="//build/toolchain/linux/unbundle:host" v8_snapshot_toolchain="//build/toolchain/linux/unbundle:host" is_debug=false is_component_build=false use_jumbo_build=false use_allocator="none" enable_nacl=false use_system_harfbuzz=true closure_compile=false enable_hangout_services_extension=false enable_widevine=false use_cups=false use_gnome_keyring=false use_kerberos=false use_pulseaudio=false fieldtrial_testing_like_official_build=true use_gold=false use_sysroot=false linux_use_bundled_binutils=false use_custom_libcxx=false use_lld=false proprietary_codecs=false ffmpeg_branding="Chromium" google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" google_default_client_id="329227923882.apps.googleusercontent.com" google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" target_cpu="arm" treat_warnings_as_errors=false fatal_linker_warnings=false out/Release x86_64-pc-linux-gnu-g++ -MMD -MF host/obj/v8/torque_base/csa-generator.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_MINOR_MC -DV8_DEPRECATION_WARNINGS -DV8_INTL_SUPPORT -DV8_USE_SNAPSHOT -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_CONCURRENT_MARKING -DV8_EMBEDDED_BUILTINS -DV8_TARGET_ARCH_ARM -DCAN_USE_ARMV7_INSTRUCTIONS -DCAN_USE_VFP3_INSTRUCTIONS -DCAN_USE_VFP32DREGS -DCAN_USE_NEON -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -I../.. -Ihost/gen -I../../v8 -Ihost/gen/v8 -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -mfpu=neon -mthumb -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -Wno-strict-overflow -Wno-return-type -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -march=znver1 -pipe -c ../../v8/src/torque/csa-generator.cc -o host/obj/v8/torque_base/csa-generator.o x86_64-pc-linux-gnu-g++: error: unrecognized command line option ‘-mfpu=neon’
Created attachment 569734 [details] build log of chromium
Created attachment 569736 [details] output of emerge --info for armv7a-unknown-linux-gnueabihf
the document I linked says: use a custom toolchain if you're a distro by adding custom_toolchain="//build/toolchain/linux/unbundle:default" and also to add this in case of cross-compile: host_toolchain="//build/toolchain/linux/unbundle:host" v8_snapshot_toolchain="//build/toolchain/linux/unbundle:host" which to my reading of the ebuild and the build.log is the case here. I don't know where to even start to look at, can you give a bit of direction what could be the cause for this?
file of interest might be BUILD.gn and build/toolchain/gcc_toolchain.gni
the non-working part of the ebuild is here: tc-export BUILD_{AR,CC,CXX,NM} if setting the BUILD_* variables manually, it works in the sense of using the cross-compiler instead of the hosts. < tc-export BUILD_{AR,CC,CXX,NM} --- > > export BUILD_AR=armv7a-unknown-linux-gnueabihf-ar > export BUILD_CC=armv7a-unknown-linux-gnueabihf-gcc > export BUILD_CXX=armv7a-unknown-linux-gnueabihf-g++ > export BUILD_NM=armv7a-unknown-linux-gnueabihf-nm It still fails for another reason, but that's expected and not part of this bug.
I'm going to close this, the build demands for chromium have only increased since I first tried to compile it, pure 32bit builds are very unlikely to ever succeed as of now or in the future.