From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3w0Z-0006KI-3W for qemu-devel@nongnu.org; Wed, 14 Sep 2011 16:24:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3w0Y-0002Sh-4b for qemu-devel@nongnu.org; Wed, 14 Sep 2011 16:24:35 -0400 Received: from mail-vw0-f51.google.com ([209.85.212.51]:47838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3w0X-0002Rr-TM for qemu-devel@nongnu.org; Wed, 14 Sep 2011 16:24:34 -0400 Received: by vws20 with SMTP id 20so3356013vws.10 for ; Wed, 14 Sep 2011 13:24:33 -0700 (PDT) Sender: Richard Henderson Message-ID: <4E710D7F.6010907@twiddle.net> Date: Wed, 14 Sep 2011 13:24:31 -0700 From: Richard Henderson MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] trace build breakage with --enable-user-pie List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?TGx1w61zIFZpbGFub3Zh?= , qemu-devel The build with --enable-user-pie has recently broken: LINK i386-linux-user/qemu-i386 /usr/bin/ld: ../trace/control.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC ../trace/control.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [qemu-i386] Error 1 make: *** [subdir-i386-linux-user] Error 2 I suspect, but have not proven, that edb47ec498a5c00607e8d428668d5141822a9eac is the cause. I think we ought to be compiling these files into libuser, with all the CFLAGS implied by that. Our baroque configure/makefile setup is currently defeating me, however. r~