Index: compiler-rt/lib/profile/InstrProfilingPlatformOther.c
--- compiler-rt/lib/profile/InstrProfilingPlatformOther.c.orig
+++ compiler-rt/lib/profile/InstrProfilingPlatformOther.c
@@ -111,10 +111,12 @@ COMPILER_RT_VISIBILITY
 char *__llvm_profile_begin_counters(void) { return CountersFirst; }
 COMPILER_RT_VISIBILITY
 char *__llvm_profile_end_counters(void) { return CountersLast; }
+#if !defined(__OpenBSD__)
 COMPILER_RT_VISIBILITY
 char *__llvm_profile_begin_bitmap(void) { return BitmapFirst; }
 COMPILER_RT_VISIBILITY
 char *__llvm_profile_end_bitmap(void) { return BitmapLast; }
+#endif
 
 COMPILER_RT_VISIBILITY
 ValueProfNode *__llvm_profile_begin_vnodes(void) {
