https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121400
--- Comment #3 from Kirill A. Korinsky <kirill at korins dot ky> ---
Andrew, thanks for pointing to gas. After I've updated it to 2.45, it works.
Just for the records, the right definition of target which allows to build gcc
is:
aarch64-*-openbsd*)
extra_parts="$extra_parts crtfastmath.o"
tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
tmake_file="${tmake_file} ${cpu_type}/t-lse t-slibgcc-libgcc"
tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
tmake_file="${tmake_file} t-dfprules"
md_unwind_def_header=aarch64/aarch64-unwind-def.h
md_unwind_header=aarch64/aarch64-unwind.h
;;
Thanks!