x265 cannot compile on ARM server

Issue #519 new
Former user created an issue

Hi, Recently, I'm evaluating x264/265 on ARM server. x264 works well, but x265 cannot compile when set ASSEMBLY=ON. I tried on 2 versions which are 2.8 and 3.2, all failed but error log different. On 2.8, error log is: libx265.so.160: undefined reference to x265::setupAssemblyPrimitives(x265::EncoderPrimitives&, int)' On 3.2, error log is: /usr/bin/ld: encoder/CMakeFiles/encoder.dir/api.cpp.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbolstderr@@GLIBC_2.17' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: encoder/CMakeFiles/encoder.dir/api.cpp.o(.text+0x570): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status If I set ASSEMBLY=OFF,x265 can compile successfully. Does that mean x265 cannot support ASSEMBLY on ARM? Thanks! BTW, I tested on Huawei Kunpeng 920.

Comments (2)

  1. Log in to comment