From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmTm-0008N9-RO for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqmTm-0007ZV-4N for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:59:02 -0400 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:34091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmTl-0007ZP-Jm for qemu-devel@nongnu.org; Thu, 14 Apr 2016 14:59:02 -0400 Received: by mail-vk0-x22b.google.com with SMTP id e185so120934568vkb.1 for ; Thu, 14 Apr 2016 11:59:01 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <56FC0102.9060206@redhat.com> <87k2k8wde7.fsf@dusky.pond.sub.org> <5F790D29-88C8-4491-B8AE-999CC50094A5@gmail.com> From: Peter Maydell Date: Thu, 14 Apr 2016 19:58:41 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 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: Programmingkid Cc: Markus Armbruster , Paolo Bonzini , qemu-devel qemu-devel On 14 April 2016 at 19:47, Programmingkid wrote: > > On Apr 14, 2016, at 2:39 PM, Peter Maydell wrote: > >> On 14 April 2016 at 19:24, Programmingkid wrote: >>> 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. >> >> If ld is segfaulting then either: >> * your hardware is bad (dodgy memory is infamous for causing random segvs) >> * your toolchain is buggy (the linker should never segv regardless of input) > Maybe I should try to update my ld command. > > Are you able to build QEMU on Mac OS X using the most recent commit? Yes. I test build every merge on OSX before pushing it to master. In my config ivshmem-client is built, links ok and I've just tested and it runs (at least enough to print out a usage message). thanks -- PMM