qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [FYI] Need to do a full rebuild if you are on Linux x86


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [FYI] Need to do a full rebuild if you are on Linux x86 host
Date: Tue, 22 Nov 2011 10:41:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111104 Red Hat/3.1.16-2.el6_1 Thunderbird/3.1.16

On 11/22/11 01:25, Anthony Liguori wrote:
> Due to this commit:
> 
> commit 40d6444e91c6ab17e5e8ab01d4eece90cbc4afed
> Author: Avi Kivity <address@hidden>
> Date:   Tue Nov 15 20:12:17 2011 +0200
> 
>     configure: build position independent executables on x86-Linux hosts
> 
> PIE binaries cannot be linked with non-PIE binaries and make is not
> smart enough to rebuild when the CFLAGS have changed.

Breaks build on RHEL-5 and probably also other not-so-recent linux distros.

[ ... ]
  CC    i386-softmmu/exec.o
[ ... ]
  LINK  i386-softmmu/qemu-system-i386
/usr/bin/ld: exec.o: relocation R_X86_64_TPOFF32 against
`tls__cpu_single_env' can not be used when making a shared object;
recompile with -fPIC
exec.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-i386] Error 1
make: *** [subdir-i386-softmmu] Error 2

cheers,
  Gerd

PS: for those with ipv6 connectivity the full log is available at
http://spunk.home.kraxel.org/bb/builders/rhel5-default/builds/98/steps/compile/logs/stdio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]