* [Qemu-devel] trace build breakage with --enable-user-pie
@ 2011-09-14 20:24 Richard Henderson
2011-09-14 21:00 ` Lluís Vilanova
0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 2011-09-14 20:24 UTC (permalink / raw)
To: Lluís Vilanova, 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~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] trace build breakage with --enable-user-pie
2011-09-14 20:24 [Qemu-devel] trace build breakage with --enable-user-pie Richard Henderson
@ 2011-09-14 21:00 ` Lluís Vilanova
2011-09-14 21:32 ` Richard Henderson
0 siblings, 1 reply; 4+ messages in thread
From: Lluís Vilanova @ 2011-09-14 21:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] trace build breakage with --enable-user-pie
2011-09-14 21:00 ` Lluís Vilanova
@ 2011-09-14 21:32 ` Richard Henderson
2011-09-14 21:47 ` Lluís Vilanova
0 siblings, 1 reply; 4+ messages in thread
From: Richard Henderson @ 2011-09-14 21:32 UTC (permalink / raw)
To: Lluís Vilanova; +Cc: qemu-devel
On 09/14/2011 02:00 PM, Lluís Vilanova wrote:
> Strange, I tried with vanilla 44520db1 and it's compiling fine...
>
> $ ./configure --target-list="x86_64-linux-user i386-linux-user"
See $SUBJECT and add that configure option.
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] trace build breakage with --enable-user-pie
2011-09-14 21:32 ` Richard Henderson
@ 2011-09-14 21:47 ` Lluís Vilanova
0 siblings, 0 replies; 4+ messages in thread
From: Lluís Vilanova @ 2011-09-14 21:47 UTC (permalink / raw)
To: Richard Henderson; +Cc: qemu-devel
Richard Henderson writes:
> On 09/14/2011 02:00 PM, Lluís Vilanova wrote:
>> Strange, I tried with vanilla 44520db1 and it's compiling fine...
>>
>> $ ./configure --target-list="x86_64-linux-user i386-linux-user"
> See $SUBJECT and add that configure option.
Ugh... I'm sorry. I'll look at it tomorrow.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-14 21:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14 20:24 [Qemu-devel] trace build breakage with --enable-user-pie Richard Henderson
2011-09-14 21:00 ` Lluís Vilanova
2011-09-14 21:32 ` Richard Henderson
2011-09-14 21:47 ` Lluís Vilanova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).