--- src/VBox/Runtime/Makefile.kmk.orig 2026-10-19 18:50:52 UTC +++ src/VBox/Runtime/Makefile.kmk @@ -233,6 +233,9 @@ $(IPRT_OUT_DIR)/oiddb.h.ts +| $(IPRT_OUT_DIR)/oiddb.h: $(QUIET)$(oiddb2c_1_TARGET) "$@" $(filter %.cfg,$^) $(QUIET)$(CP) --changed -fv "$@" "$(IPRT_OUT_DIR)/oiddb.h" +# Set the defines that utf8-posix.cpp needs. It's used by several targets. +# +r3/posix/utf8-posix.cpp_DEFS.freebsd = $(VBOX_ICONV_DEFS) # # Unicode Specification reader used to regenerate unidata-*.cpp. @@ -1523,6 +1526,7 @@ RuntimeBaseR3_SOURCES.freebsd = \ generic/RTProcDaemonize-generic.cpp \ generic/RTProcIsRunningByName-generic.cpp \ generic/RTThreadGetNativeState-generic.cpp \ + generic/system-page-size-generic.cpp \ r3/freebsd/fileaio-freebsd.cpp \ r3/freebsd/RTFileQuerySectorSize-freebsd.cpp \ r3/freebsd/mp-freebsd.cpp \ @@ -3092,6 +3096,8 @@ VBoxRT_LDFLAGS.win = /MANIFEST \ /delayload:oleaut32.dll \ /delayload:advapi32.dll \ /delayload:mpr.dll +VBoxRT_LDFLAGS.freebsd = \ + -Wl,--allow-multiple-definition # We could alias symbols on linux this way: #ifn1of ($(KBUILD_TARGET), darwin os2 solaris win) # if "$(substr $(VBOX_GCC_std),-2)" >= "17"