From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIcvr-0002uY-Pb for qemu-devel@nongnu.org; Mon, 11 Jan 2016 08:54:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIcvo-0004QO-JA for qemu-devel@nongnu.org; Mon, 11 Jan 2016 08:54:51 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:59208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIcvo-0004QJ-AC for qemu-devel@nongnu.org; Mon, 11 Jan 2016 08:54:48 -0500 References: <1450983599-6060-1-git-send-email-glaubitz@physik.fu-berlin.de> <567C41C6.6030500@physik.fu-berlin.de> From: Laurent Vivier Message-ID: <5693B41B.1040907@vivier.eu> Date: Mon, 11 Jan 2016 14:54:35 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riku Voipio , John Paul Adrian Glaubitz Cc: qemu-devel@nongnu.org Le 11/01/2016 14:46, Riku Voipio a écrit : > Hi, > > On torstaina 24. joulukuuta 2015 21.04.38 EET, John Paul Adrian Glaubitz > wrote: >> Here are, as discussed previously, my proposed patches which change the >> following: >> >> PATCH 1/2 updates the syscall table for m68k to match Linux 4.4. This >> one should be very obvious. >> >> PATCH 2/2 adds the definitions for the socket calls SOCKOP_sendmmsg and >> SOCKOP_recvmmsg and wires them up with the rest of the code. The >> necessary function do_sendrecvmmsg() is already present in >> linux-user/syscall.c. After adding these two definitions and wiring them >> up, I no longer receive an error message about the unimplemented socket >> calls when running "apt-get update" on Debian unstable running on qemu >> with glibc_2.21 on m68k. > > I've applied these changing the commit messages using the text above. > However, a static busybox from debian/unstable doesn't work for me. With > or without these patches I just get a target segfault. > > Since debian-m68k list is talking about using qemu for builds, I take > I'm missing something obvious here. Not obvious. Adrian is working with my m68k branch of qemu (qemu-m68k). Pure qemu supports only coldfire, if you want to test it, you can't use debian. There is a coldfire image at http://wiki.qemu.org/Testing, but of course, it doesn't use the syscalls added by these patches. I'm currently working to be able to merge my m68k branch into mainstream qemu. A first series of patch will be available in the few coming days. Laurent