Warning: unpredictable: identical transfer and status registers --`stxr w4,x5,[x4] using aarch64 poky gcc 8.3
Nick Clifton
nickc@redhat.com
Tue Feb 19 15:41:00 GMT 2019
Hi Peng,
> Not sure this is bug or not, is my patch the correct fix?
> please help.
I think that you have reported this problem to the wrong mailing list...
> I did a fix to the code as below:
> --- a/hypervisor/arch/arm64/include/asm/bitops.h
> +++ b/hypervisor/arch/arm64/include/asm/bitops.h
This is not part of the binutils sources. :-)
For what it is worth, I think that your analysis is correct,
and that the warning message from the assembler is valid. So
patching the hypervisor code would be in order. I cannot say
whether the patch itself is correct however.
Cheers
Nick
More information about the Binutils
mailing list