The error was:
--8<--
ffs.S:57:2: error: unsupported relocation on symbol
adrne r2, .L_ffs_table
^
-->8--
Minimal workaround suggested by deraadt@, ok guenther@ kettenis@
-/* $OpenBSD: ffs.S,v 1.7 2018/01/18 08:23:44 guenther Exp $ */
+/* $OpenBSD: ffs.S,v 1.8 2018/01/19 11:10:43 jca Exp $ */
/* $NetBSD: ffs.S,v 1.5 2003/04/05 23:08:52 bjh21 Exp $ */
/*
* Copyright (c) 2001 Christopher Gilbert
END(ffs)
.protected ffs
- .section .rodata
.type .L_ffs_table, _ASM_TYPE_OBJECT;
.L_ffs_table:
/* 0 1 2 3 4 5 6 7 */