Hi,
I'm not sure if the __VFP_FP__ section below was still useful for gcc
builds, at lead it doesn't build and doesn't look needed with clang
(the functions are all provied by libcompiler_rt, which is included).
ok ?
Index: hw/xfree86/os-support/bsd/arm_video.c
===================================================================
RCS file: /cvs/OpenBSD/xenocara/xserver/hw/xfree86/os-support/bsd/arm_video.c,v
retrieving revision 1.14
diff -u -p -u -r1.14 arm_video.c
--- hw/xfree86/os-support/bsd/arm_video.c 28 Sep 2015 07:14:00 -0000
1.14
+++ hw/xfree86/os-support/bsd/arm_video.c 20 Jan 2018 10:17:09 -0000
@@ -88,7 +88,8 @@ xf86PrivilegedInit(void)
xf86OpenConsole();
}
-#ifdef __VFP_FP__
+
+#if defined(__VFP_FP__) && !defined(__clang__)
/*
* force softfloat functions into binary,
* yes the protos/ret are all bogus.
@@ -149,4 +150,5 @@ __subdf3();
__subsf3();
__truncdfsf2();
}
-#endif /* __VFP_FP__ */
+#endif /* __VFP_FP__ && !__clang__ */
+
--
Matthieu Herrb