{"action":"opened","issue":{"url":"https://api.github.com/repos/sekrit-twc/zimg/issues/96","repository_url":"https://api.github.com/repos/sekrit-twc/zimg","labels_url":"https://api.github.com/repos/sekrit-twc/zimg/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/sekrit-twc/zimg/issues/96/comments","events_url":"https://api.github.com/repos/sekrit-twc/zimg/issues/96/events","html_url":"https://github.com/sekrit-twc/zimg/issues/96","id":339486507,"node_id":"MDU6SXNzdWUzMzk0ODY1MDc=","number":96,"title":"Build fails with --enable-debug","user":{"login":"justinruggles","id":108822,"node_id":"MDQ6VXNlcjEwODgyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/108822?v=4","gravatar_id":"","url":"https://api.github.com/users/justinruggles","html_url":"https://github.com/justinruggles","followers_url":"https://api.github.com/users/justinruggles/followers","following_url":"https://api.github.com/users/justinruggles/following{/other_user}","gists_url":"https://api.github.com/users/justinruggles/gists{/gist_id}","starred_url":"https://api.github.com/users/justinruggles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinruggles/subscriptions","organizations_url":"https://api.github.com/users/justinruggles/orgs","repos_url":"https://api.github.com/users/justinruggles/repos","events_url":"https://api.github.com/users/justinruggles/events{/privacy}","received_events_url":"https://api.github.com/users/justinruggles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-09T14:59:49Z","updated_at":"2018-07-09T14:59:49Z","closed_at":null,"author_association":"NONE","body":"When specifying `--enable-debug` in `configure`, the build fails with:\r\n```\r\n  CXX      src/zimg/colorspace/x86/libavx2_la-operation_impl_avx2.lo\r\nsrc/zimg/colorspace/x86/operation_impl_avx2.cpp: In function 'void zimg::colorspace::{anonymous}::to_linear_lut_filter_line(const float*, unsigned int, const float*, float*, unsigned int, unsigned int)':\r\nsrc/zimg/colorspace/x86/operation_impl_avx2.cpp:47:50: error: last argument must be scale 1, 2, 4, 8\r\n   x = _mm256_i32gather_ps(lut, xi, sizeof(float));\r\n                                                  ^\r\nsrc/zimg/colorspace/x86/operation_impl_avx2.cpp: In function 'void zimg::colorspace::{anonymous}::to_gamma_lut_filter_line(const float*, const float*, float*, unsigned int, unsigned int)':\r\nsrc/zimg/colorspace/x86/operation_impl_avx2.cpp:73:50: error: last argument must be scale 1, 2, 4, 8\r\n   x = _mm256_i32gather_ps(lut, xi, sizeof(float));\r\n                                                  ^\r\nmake[1]: *** [src/zimg/colorspace/x86/libavx2_la-operation_impl_avx2.lo] Error 1\r\nmake[1]: Leaving directory `/home/vimeo/build/zimg'\r\nmake: *** [all-recursive] Error 1\r\n```\r\n\r\n```\r\n$ c++ --version\r\nc++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)\r\nCopyright (C) 2015 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n\r\n$ uname -a\r\nLinux 01b6ec3d1856 4.9.87-linuxkit-aufs #1 SMP Wed Mar 14 15:12:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n```"}}
{"actor":{"display_login":"justinruggles"}}