Hello all, Short story :
Haproxy does not compile on NetBSD because conflicting popcount. Long story : I was trying to compile Haproxy as unikernel image via rump kernel tools on Linux for Xen. The patch series add NetBSD TARGET and checks if we re dealing with NetBSD which carry popcount* functions. It might have an historical and / or technical reason why NetBSD is not included in the supported platform which I ignore. Also, for the sake of "simplicity", I may have just used popcount but I find popcountl more appropriate for NetBSD's case. I the third patch looks too "invasive" it can be safely ignored. Hope it has any use. Thanks. Kind regards.
0001-Add-netbsd-TARGET.patch
Description: Binary data
0002-Checks-if-it-s-NETBSD-6.0-release.patch
Description: Binary data
0003-Uses-popcountl-for-NetBSD-case.patch
Description: Binary data

