Conversation
|
Tagging subscribers to this area: @karelz, @dotnet/area-system-io-compression |
|
@dotnet-policy-service agree |
|
@sethjackson, could you share the branch which is building on OpenBSD? I'm not sure how you get this far in build without updating build infrastructure in order: |
|
@am11 yeah this branch: Need at least doas pkg_add heimdalTo build: export CLR_AR=/usr/local/bin/llvm-ar-19
export CLR_LINK=/usr/local/bin/llvm-link-19
export CLR_NM=/usr/local/bin/llvm-nm-19
export CLR_RANLIB=/usr/local/bin/llvm-ranlib-19
export CLR_STRINGS=/usr/local/bin/llvm-strings-19
export CMAKE_PREFIX_PATH=/usr/local/heimdal/lib
cd src/coreclr
./build-runtime.sh -cmakeargs "-DHeimdalGssApi=ON -DCMAKE_HAVE_HEIMDAL_HEADERS=true"^^^ Haven't figured out how to get CMake to detect the local LLVM tools or the Heimdal headers properly yet. 😅 OpenBSD will always need to use the |
FYI I updated the tracking issue with a comment that includes these instructions and current status: I'll update that comment as things progress. |
Also FYI |
Define
TARGET_OPENBSDwhenCLR_CMAKE_TARGET_OPENBSDis defined to copy the other BSDs.Skip
DT_WHTon OpenBSD as it does not exist:https://man.openbsd.org/dirent
Use:
getpeereidon OpenBSD vsgetsockoptinSystemNative_GetPeerID.Also
<sys/mount.h>andstatfs.f_fstypenamerequire<sys/types.h>on OpenBSD to work:https://man.openbsd.org/statfs