Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EjyHQ-0000vk-K4 for qemu-devel@nongnu.org; Wed, 07 Dec 2005 07:20:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EjyGJ-0000kl-JG for qemu-devel@nongnu.org; Wed, 07 Dec 2005 07:19:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejy4I-00078k-RV for qemu-devel@nongnu.org; Wed, 07 Dec 2005 07:06:44 -0500 Received: from [83.241.133.2] (helo=filer.marasystems.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ejy58-00011c-GC for qemu-devel@nongnu.org; Wed, 07 Dec 2005 07:07:35 -0500 Received: from localhost (henrik@localhost) by filer.marasystems.com (8.11.6/8.11.6) with ESMTP id jB7C6Ev23438 for ; Wed, 7 Dec 2005 13:06:14 +0100 Date: Wed, 7 Dec 2005 13:06:14 +0100 (CET) From: Henrik Nordstrom Subject: Re: [Qemu-devel] Building qemu on ARM host In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers On Mon, 5 Dec 2005, Steve Magoun wrote: > libqemu.a(op.o)(.text+0x27e0): In function `op_jb_subb': > /root/qemu/target-i386/ops_template.h:278: relocation truncated to fit: > R_ARM_PC24 __op_gen_label1 > libqemu.a(op.o)(.text+0x2800): In function `op_jz_subb': My limited experience of this kind of things indicates that the resulting binary got too big for the memory model used in the link unit, but the error indicates the relocation is a 24-bit relocation (8MB signed) so I am not sure this is the case as I doubt your qemu binary is larger than 8MB. Maybe you could try compiling op.o with -mlong-jump to solve this, but probably not given that this error is from an inline assembly instruction. The assembly instruction in question is the _arm_ GOTO_LABEL_PARAM define in dyngen-exec.h. It may also help simply rearranging the link order or code slightly moving the relocation within reach. Regards Henrik