Ubuntu 25.10 is compiled for rva23u64. This includes many other extensions besides vector that could add up to speed-ups. Therefore it does not make sense to enforce -march rv64gcv1p0 in file BUILD (cf. #1740).
Building with different parts of highway using different settings of -march currently leads to errors in link time optimization (LTO) on GCC 15.2. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812. Unfortunately the GCC patch a7fe8f83bf89 ("RISC-V: Always register vector built-in functions during LTO [PR110812]".
Please, provide a solution to compile all of highway using the default GCC profile.