[flac-dev] Link errors on IA32

Erik de Castro Lopo mle+la at mega-nerd.com
Sat Mar 19 23:53:24 PDT 2016


Landberg, Joakim wrote:

> Has anyone tried to build flac with the INTEGER_ONLY_LIBRARY flag set lately?

Well:

   ./configure
   echo "#define FLAC__INTEGER_ONLY_LIBRARY" >> config.h

seems to do the trick.

> I'm getting link errors on IA32 for the SSE optimizations lpc_restore_signal_16_intrin_sse2
> and lpc_restore_signal_wide_intrin_sse41. Looks like a define check is missing since the
> implementation of these functions is only included when not building for integer. I had to
> exclude them at libFLAC/stream_decoder.c:408 by adding a check for !FLAC__INTEGER_ONLY_LIBRARY.

Fixed in:

    commit eae85ee7665d4d8604617d7bfb6529d112e7db91
    Author: Erik de Castro Lopo <erikd at mega-nerd.com>
    Date:   Sun Mar 20 17:49:39 2016 +1100

    libFLAC/stream_decoder.c: Fix compiling with integer only
    
    Was failing to compile on IA32 with FLAC__INTEGER_ONLY_LIBRARY
    defined.

    Reported-by: "Joakim Landberg" <joakim.landberg at intel.com>

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list