[x264-devel] arm64 build error

Krzysztof Hebel nivellen at gmail.com
Fri Oct 9 02:51:51 CEST 2015


Hello,

I have been trying to build x264 for the arm64 architecture and I kept
seeing these errors:

<stdin>:952:27: error: expected integer shift amount
    subs w4, w4, w3, lsr #shiftw
                          ^
<stdin>:966:27: error: expected integer shift amount
    subs w4, w4, w3, lsr #shiftw
                          ^
<stdin>:999:27: error: expected integer shift amount
    subs w4, w4, w3, lsr #shiftw
                          ^
<stdin>:1013:27: error: expected integer shift amount
    subs w4, w4, w3, lsr #shiftw
                          ^
<stdin>:1044:27: error: expected integer shift amount
    subs w4, w4, w3, lsr #shiftw
                          ^
<stdin>:1058:27: error: expected integer shift amount
    subs w4, w4, w3, lsr #shiftw
                          ^
make[3]: *** [common/aarch64/quant-a.o] Error 1

The problem seems to affect versions from now going back to late 2014.
>From analyzing the code it appears that somehow the "coeff_level_run
shift" macro is not expanded properly. Is it possible that there is a
bug in this section of the code?

Best regards,
Krzysztof


More information about the x264-devel mailing list