From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIYv5-0002qH-2a for qemu-devel@nongnu.org; Tue, 03 Feb 2015 03:33:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIYv2-0002Et-DB for qemu-devel@nongnu.org; Tue, 03 Feb 2015 03:33:15 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:52481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIYv2-0002Ej-6n for qemu-devel@nongnu.org; Tue, 03 Feb 2015 03:33:12 -0500 Received: by mail-wg0-f52.google.com with SMTP id y19so43130599wgg.11 for ; Tue, 03 Feb 2015 00:33:10 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54D087C1.20309@redhat.com> Date: Tue, 03 Feb 2015 09:33:05 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1421139239-13968-1-git-send-email-famz@redhat.com> <1421139239-13968-2-git-send-email-famz@redhat.com> <54CFD146.6040602@redhat.com> <20150203012957.GA21449@ad.nay.redhat.com> In-Reply-To: <20150203012957.GA21449@ad.nay.redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/2] configure: Default to enable module build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , Peter Maydell Cc: Brian Jackson , Michael Tokarev , qemu-devel@nongnu.org, Stefan Hajnoczi , Bharata B Rao , =?windows-1252?Q?Andreas_F=E4rber?= , Richard Henderson On 03/02/2015 02:29, Fam Zheng wrote: > > Peter reported that module linking fails on ARM host: > > LINK block/curl.so > > /usr/bin/ld: block/curl.o: relocation R_ARM_THM_MOVW_ABS_NC against > > `__stack_chk_guard' can not be used when making a shared object; > > recompile with -fPIC > > block/curl.o: could not read symbols: Bad value > > collect2: error: ld returned 1 exit status > > I don't see how -fPIC is missed in ARM host :( Does the below patch fix this? I haven't yet tested on ARM host, hope to do so some time this week. Paolo