Skip to content

Instantly share code, notes, and snippets.

@chrisballinger
Last active December 23, 2015 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisballinger/6566091 to your computer and use it in GitHub Desktop.
Save chrisballinger/6566091 to your computer and use it in GitHub Desktop.
ffmpeg arm64 compilation errors
CC libavformat/aacdec.o
In file included from libavformat/a64.c:23:
In file included from ./libavcodec/bytestream.h:31:
In file included from ./libavutil/intreadwrite.h:25:
In file included from ./libavutil/bswap.h:38:
./libavutil/arm/bswap.h:55:41: error: invalid operand for instruction
__asm__ ("eor %1, %0, %0, ror #16 \n\t"
^
<inline asm>:2:14: note: instantiated into assembly here
bic x9, x9, #0xFF0000
^
In file included from libavformat/a64.c:23:
In file included from ./libavcodec/bytestream.h:31:
In file included from ./libavutil/intreadwrite.h:25:
In file included from ./libavutil/bswap.h:38:
./libavutil/arm/bswap.h:56:41: error: invalid operand for instruction
"bic %1, %1, #0xFF0000 \n\t"
^
<inline asm>:3:14: note: instantiated into assembly here
mov x8, x8, ror #8
^
In file included from libavformat/a64.c:23:
In file included from ./libavcodec/bytestream.h:31:
In file included from ./libavutil/intreadwrite.h:25:
In file included from ./libavutil/bswap.h:38:
./libavutil/arm/bswap.h:55:41: error: invalid operand for instruction
__asm__ ("eor %1, %0, %0, ror #16 \n\t"
^
<inline asm>:2:14: note: instantiated into assembly here
bic x9, x9, #0xFF0000
^
In file included from libavformat/a64.c:23:
In file included from ./libavcodec/bytestream.h:31:
In file included from ./libavutil/intreadwrite.h:25:
In file included from ./libavutil/bswap.h:38:
./libavutil/arm/bswap.h:56:41: error: invalid operand for instruction
"bic %1, %1, #0xFF0000 \n\t"
^
<inline asm>:3:14: note: instantiated into assembly here
mov x8, x8, ror #8
^
4 errors generated.
make: *** [libavformat/a64.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from libavformat/aacdec.c:23:
In file included from ./libavutil/intreadwrite.h:25:
In file included from ./libavutil/bswap.h:38:
./libavutil/arm/bswap.h:55:41: error: invalid operand for instruction
__asm__ ("eor %1, %0, %0, ror #16 \n\t"
^
<inline asm>:2:14: note: instantiated into assembly here
bic x0, x0, #0xFF0000
^
In file included from libavformat/aacdec.c:23:
In file included from ./libavutil/intreadwrite.h:25:
In file included from ./libavutil/bswap.h:38:
./libavutil/arm/bswap.h:56:41: error: invalid operand for instruction
"bic %1, %1, #0xFF0000 \n\t"
^
<inline asm>:3:16: note: instantiated into assembly here
mov x17, x17, ror #8
^
2 errors generated.
make: *** [libavformat/aacdec.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment