Function FLAC__cpu_xgetbv_x86() is declared and defined only if FLAC__HAS_X86INTRIN is defined. But now FLAC__cpu_info() tries to call it even if FLAC__HAS_X86INTRIN is undefined, which results in link error. This patch fixes the bug. -------------- next part -------------- A non-text attachment was scrubbed... Name: cpu_xgetbv.patch Type: application/octet-stream Size: 653 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20151106/b9732e7f/attachment.obj
Erik de Castro Lopo
2015-Nov-06 23:59 UTC
[flac-dev] [PATCH] for FLAC__cpu_info() in cpu.c
lvqcl wrote:> > Function FLAC__cpu_xgetbv_x86() is declared and defined only > if FLAC__HAS_X86INTRIN is defined. But now FLAC__cpu_info() > tries to call it even if FLAC__HAS_X86INTRIN is undefined, > which results in link error. This patch fixes the bug.Applied. Thanks. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/