Received: from eggs.gnu.org ([2001:4830:134:3::10]:60983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqlza-0002PJ-Qa for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:29:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqlwW-0003NJ-G7 for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:27:50 -0400 Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:33530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqlwW-0003Mj-6h for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:24:40 -0400 Received: by mail-io0-x236.google.com with SMTP id o126so112456484iod.0 for ; Thu, 14 Apr 2016 11:24:39 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: <87k2k8wde7.fsf@dusky.pond.sub.org> Date: Thu, 14 Apr 2016 14:24:35 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <5F790D29-88C8-4491-B8AE-999CC50094A5@gmail.com> References: <56FC0102.9060206@redhat.com> <87k2k8wde7.fsf@dusky.pond.sub.org> Subject: Re: [Qemu-devel] [PATCH] fix missing event_notifier_init_fd() function on Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Paolo Bonzini , qemu-devel qemu-devel , Peter Maydell On Apr 8, 2016, at 7:25 AM, Markus Armbruster wrote: > [Wasn't delivered correctly by eggs.gnu.org, resending] >=20 > Paolo Bonzini writes: >=20 >> On 30/03/2016 18:35, Programmingkid wrote: >>> Remove macro that prevents event_notifier_init_fd() function from = being compiled on Mac OS X. >>>=20 >>> This patch fixes this error: >>>=20 >>> Undefined symbols for architecture x86_64: >>> "_event_notifier_init_fd", referenced from: >>> _process_msg in ivshmem.o >>> ld: symbol(s) not found for architecture x86_64 >>> collect2: error: ld returned 1 exit status >>> make[1]: *** [qemu-system-ppc] Error 1 >>> make: *** [subdir-ppc-softmmu] Error 2 >>>=20 >>>=20 >>> Signed-off-by: John Arbuckle >>=20 >> This is intentional, this feature of ivshmem.o could never work on OS = X. >> I am not sure that failing the build is intentional. Markus, any = clue? >=20 > ivshmem.o should only be linked when CONFIG_EVENTFD is set. pci.mak = has >=20 > CONFIG_IVSHMEM=3D$(CONFIG_EVENTFD) >=20 > The compile error shown above indicates CONFIG_EVENTFD=3Dy for make = (since > ivshmem.o gets linked), but !defined(CONFIG_EVENTFD) for C (or else > event_notifier_init_fd() would exist). Your build tree is messed up, = or > the makefiles are broken. Try starting over with a fresh build tree. I did a fresh clone of the QEMU repository. Then tried building QEMU. = This is the error I saw: CC contrib/ivshmem-client/ivshmem-client.o CC contrib/ivshmem-client/main.o LINK ivshmem-client collect2: error: ld terminated with signal 11 [Segmentation fault] make: *** [ivshmem-client] Error 1 make: *** Deleting file `ivshmem-client' It is different from the last error, but it still involves something = called ivshmem.=