$OpenBSD: patch-gcc_lto_lto_c,v 1.1.1.1 2019/01/04 15:50:39 pascal Exp $
Index: gcc/lto/lto.c
--- gcc/lto/lto.c.orig
+++ gcc/lto/lto.c
@@ -3007,6 +3007,12 @@ read_cgraph_and_symbols (unsigned nfiles, const char *
   all_file_decl_data = NULL;
 }
 
+const char *
+fname_as_string(int pretty_p __attribute__((__unused__)))
+{
+	return NULL;
+}
+
 
 /* Materialize all the bodies for all the nodes in the callgraph.  */
 
