Version is null? Issue with cross compiling for Windows.

Issue #392 closed
DeadSix27 created an issue

Recently rebuild x265 from the latest commit in my mingw toolchain (GCC7.3.0/mingw git master) and the resulting x265 binary has no version assigned?:

>x265.exe --version
x265 [info]: HEVC encoder version (null)
x265 [info]: build info (null)

I thought maybe the cmake script didn't properly retrieve the version, but it did:

... -DX265_VERSION=2.6+24-69cfe46e8a3b -DLINKED_10BIT=1 -DLINKED_12BIT=1 -DENABLE_ASSEMBLY=1 -o CMakeFiles/common.dir/version.cpp.obj -c /xc/gcc7/workdir/x86_64_products/x265_multibit/source/common/version.cpp

Here's full stdout and cmakeoutput:

x265_compile_stdout: https://gist.github.com/DeadSix27/2ac27e89444e484708d7504e11f4afb0

x265_CMakeOutput.log: https://gist.github.com/DeadSix27/92f33fe55dc23be8ae26247595593d27

EDIT: It seems like this issue is caused by binutils 2.30, reverting to 2.29.1 solved it temporary.

EDIT2: This has been fixed upstream in binutils, see: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=b0daac83d78c82f7998287bb717063c4d01d4f97

Comments (4)

  1. Log in to comment