On 29/06/2018 13:02, Peter Maydell wrote:
>>> This still fails in the same way:
>>>   LINK    i386-linux-user/qemu-i386
>>> target/i386/cpu.o: In function `x86_cpu_realizefn':
>>> /home/petmay01/linaro/qemu-for-merges/target/i386/cpu.c:4815:
>>> undefined reference to `enable_cpu_pm
>>> '
>>> collect2: error: ld returned 1 exit status
>> Uhm, it worked for me.  I'll just add a stub.
> Maybe you forgot to push something? I can't see anything
> in commit 6f131f13e68d648a8e4 in that merge branch which
> looks like it's trying to work around the undefined reference.

The problematic patch is the next one.  The change was to put the new
code under "if (!kvm_enabled()) goto out;" so that it becomes dead under
linux-user, but it still depends on how much dead code removal the
compiler is allowed to do at -O0.

Paolo

Reply via email to