Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on FreeBSD related to libvpx #30333

Closed
Tracked by #39196
Calinou opened this issue Jul 5, 2019 · 1 comment · Fixed by #53833
Closed
Tracked by #39196

Build error on FreeBSD related to libvpx #30333

Calinou opened this issue Jul 5, 2019 · 1 comment · Fixed by #53833

Comments

@Calinou
Copy link
Member

Calinou commented Jul 5, 2019

Godot version: Git 550f436

OS/device including version: FreeBSD cirrus-task-6329169808457728 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 on Cirrus CI

Issue description:

Building fails on FreeBSD due to libvpx:

thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:92:18: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt1= _mm_shuffle_epi8(srcReg, shuffle1);
                 ^
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:93:18: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt2= _mm_shuffle_epi8(srcReg, shuffle2);
                 ^
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:96:19: error: always_inline function '_mm_maddubs_epi16' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt1 = _mm_maddubs_epi16(srcRegFilt1, firstFilters);
                  ^
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c:97:19: error: always_inline function '_mm_maddubs_epi16' requires target feature 'ssse3', but would be inlined into function 'vpx_filter_block1d4_h8_intrin_ssse3' that is compiled without support for 'ssse3'
    srcRegFilt2 = _mm_maddubs_epi16(srcRegFilt2, secondFilters);

This can be worked around by passing module_webm_enabled=no to the SCons command line.

Steps to reproduce: Build an editor or export template for the x11 platform with the WebM module enabled.

@kb173
Copy link

kb173 commented Mar 5, 2020

I'm getting this error when building Godot on the current da502f7 with Ubuntu 19 too. With module_webm_enabled=no it works, as you said.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants