https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103016
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|UNCONFIRMED |RESOLVED --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I looked and I see openbsd has a patch which adds fname_as_string to one of the generic parts of GCC which is causing this. apinski@xeond:~/src/openbsd-ports/lang/gcc/11/patches$ git grep fname_as_string patch-gcc_ada_adaint_c:+fname_as_string(int pretty_p __attribute__((__unused__))) patch-gcc_d_d-lang_cc:+fname_as_string(int pretty_p __attribute__((__unused__))) patch-gcc_fortran_f95-lang_c:+fname_as_string(int pretty_p __attribute__((__unused__))) patch-gcc_go_go-lang_c:+fname_as_string(int pretty_p __attribute__((__unused__))) patch-gcc_lto_lto-common_c:+fname_as_string(int pretty_p __attribute__((__unused__))) patch-gcc_targhooks_c:+ if (NULL == (tmp_name = fname_as_string (0))) {