The problem is the GNAT.Sockets thin binding on kfreebsd (GNAT.Sockets.Thin.C_Bind() in this case). See Bug #561156, Message #24 for more info and a thin binding reproducer.