From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCkiZ-0003Zt-2c for qemu-devel@nongnu.org; Thu, 09 Nov 2017 06:09:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCkiY-0005TS-2p for qemu-devel@nongnu.org; Thu, 09 Nov 2017 06:09:55 -0500 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:48346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCkiX-0005TJ-S2 for qemu-devel@nongnu.org; Thu, 09 Nov 2017 06:09:54 -0500 Received: by mail-wr0-x242.google.com with SMTP id 15so5232343wrb.5 for ; Thu, 09 Nov 2017 03:09:53 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <14c2a46a082a9e34d6cbd3aba0fb47e353850d0d.1510153659.git.alistair.francis@xilinx.com> References: <14c2a46a082a9e34d6cbd3aba0fb47e353850d0d.1510153659.git.alistair.francis@xilinx.com> From: Peter Maydell Date: Thu, 9 Nov 2017 11:09:32 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v2 1/1] Makefile: Capstone: Add support for cross compile ranlib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: QEMU Developers , Alistair Francis , Gerd Hoffmann , "Dr. David Alan Gilbert" , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= On 8 November 2017 at 15:10, Alistair Francis wrote: > When cross compiling QEMU for Windows we need to specify the cross > version of ranlib to avoid build errors when building capstone. This > patch ensures we use the same cross prefix on ranlib as other toolchain > components. > > This patch fixes this build error when building on RHEL (or Fedora) with > MinGW: > /scratch/jenkins_tmp/workspace/QEMU-BuildAll/label/ssw_rhel7/target/windows/build-windows/capstone/capstone.lib: > error adding symbols: Archive has no index; run ranlib to add one > collect2: error: ld returned 1 exit status > make: *** [qemu-io.exe] Error 1 > > Signed-off-by: Alistair Francis > Suggested-by: Peter Maydell > Reviewed-by: Philippe Mathieu-Daud > Tested-by: Philippe Mathieu-Daud Something in your patch handling workflow seems to be breaking non-ASCII characters, and it has dropped the last character in Philippe's surname. It would be good if you could look into fixing this -- we have quite a few contributors whose names are not representable purely in ASCII. thanks -- PMM