Received: from eggs.gnu.org ([140.186.70.92]:53752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3wal-0003hy-0r for qemu-devel@nongnu.org; Wed, 14 Sep 2011 17:01:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3waj-0006rJ-UQ for qemu-devel@nongnu.org; Wed, 14 Sep 2011 17:01:58 -0400 Received: from gw.ac.upc.edu ([147.83.30.3]:50783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3waj-0006qe-Ot for qemu-devel@nongnu.org; Wed, 14 Sep 2011 17:01:57 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <4E710D7F.6010907@twiddle.net> Date: Wed, 14 Sep 2011 23:00:49 +0200 In-Reply-To: <4E710D7F.6010907@twiddle.net> (Richard Henderson's message of "Wed, 14 Sep 2011 13:24:31 -0700") Message-ID: <871uviyh32.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] trace build breakage with --enable-user-pie List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel Richard Henderson writes: > 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. Strange, I tried with vanilla 44520db1 and it's compiling fine... $ ./configure --target-list="x86_64-linux-user i386-linux-user" A call to 'uname -a' lists my system is an amd64 (x86_64), and tried with both gcc-4.6.1 and gcc-4.4.6 (from Debian). Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth