6 Replies Latest reply: Nov 26, 2013 7:42 AM by RaiderOfTheLostSparc RSS

    Solaris Studio 12.3 i386 + patches; Assertion Failed when compiling x264




      what could this be? This happens all the way down to -xarch=sse4_2; but works fine when using -xarch=ssse3.


      cc -m64 -O -xarch=avx_i -I. -I. -xc99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE   -c -o common/dct.o common/dct.c


      assertion failed in function fwBinaryOp() @ iexp.c:1366

      assert((ty_is_numeric_(typ1) & ty_is_numeric_(typ2)) || (ty_is_interval_(typ1) & ty_is_interval_(typ2)))


      cc: Fatal error in /opt/solarisstudio12.3/prod/bin/ir2hf

      cc: Status 139

      gmake: *** [common/dct.o] Error 139

      me@solaris11.1:/tmp/x264-snapshot-20130724-2245 $ file core

      core: ELF 32-bit LSB core file 80386 Version 1, from 'ir2hf'

      me@solaris11.1:/tmp/x264-snapshot-20130724-2245 $ pstack core

      core 'core' of 8226:    /opt/solarisstudio12.3/prod/bin/ir2hf -Qy -O3 -xbuiltin=%default -m64

      087fba5d ???????? (5f72, 0, 72617066, 203a6d61, 0, 6576656c)

      74705f73 ???????? ()


      You can use the following patch to make x264's configure work https://dpaste.de/msh7j/raw/


      PATH="$PATH:." CC=cc CFLAGS="-m64 -O -xarch=avx_i" ./configure


      You might need to compile yasm as well (should compile out of the box). Just copy the yasm binary to the x264 directory and set your PATH to .