[omniORB] posix.cc: pthread build failure with FreeBSD 16

Marcin Cieslak saper at saper.info
Thu Jan 22 18:00:14 UTC 2026


> On Wed, 29 Nov 2023, Duncan Grisby wrote:

>> The mk/beforeauto.mk generated by the configure script file should set
>> the compiler flags to have the right PthreadDraftVersion. It should be
>> 10.

Looks like we need another version bump since FreeBSD-CURRENT
is now at the version 16. Similar to r6673.

Assuming PthreadDraftVersion 10 does not really work,
since we also need to have PLATFORM_NAME set to FreeBSD while
processing mk/beforeauto.mk, otherwise the following wil not set

OMNITHREAD_LIB += -pthread

Thank you,
Marcin

Index: configure.ac
===================================================================
--- configure.ac	(revision 6808)
+++ configure.ac	(working copy)
@@ -233,6 +233,7 @@
    *-*-freebsd13.*) plat_name="FreeBSD";  plat_def="__freebsd__";  os_v="13";;
    *-*-freebsd14.*) plat_name="FreeBSD";  plat_def="__freebsd__";  os_v="14";;
    *-*-freebsd15.*) plat_name="FreeBSD";  plat_def="__freebsd__";  os_v="15";;
+  *-*-freebsd16.*) plat_name="FreeBSD";  plat_def="__freebsd__";  os_v="16";;
    *-*-kfreebsd*)   plat_name="kFreeBSD"; plat_def="__FreeBSD_kernel__"; os_v="6";;
    *-*-netbsd*)     plat_name="NetBSD";   plat_def="__netbsd__";   os_v="1";;
    *-*-openbsd*)    plat_name="OpenBSD";  plat_def="__openbsd__";  os_v="3";;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3706 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20260122/0917b9c0/attachment.p7s>


More information about the omniORB-list mailing list