On 01/07/14 16:14, Peter Maydell wrote: > On 1 July 2014 16:06, Anton Ivanov (antivano) <antiv...@cisco.com> wrote: >> As far as general purpose linuxes, the relevant libc headers are present >> in Ubuntul LTS 12.x and onwards, Debian 7.x, Fedora, and all other major >> distros. I do not have a RHEL handy to check, but looking at release >> notes that the kernel supporting recmmsg is in 6.0 in the first place >> and so are the headers for glibc from certain point onwards. > RHEL5 is still only 2.6.18 though (says wikipedia), so regardless of > details of exactly which version this struct appeared in we still want > to support compiling on a system which doesn't have it. > > (I'm planning to apply this patch to master for rc0; I'll fix up the > commit message to quote a better version number.)
If we will support that far back, we need an emulation via recvmsg. I will provide an incremental which does that. I am not familiar with the way qemu ./configure tests are structured so if you can tell me which DEFINE I should use for the choice I will gladly supply the patch. A. > > thanks > -- PMM