Summary: | =media-libs/libvpx-1.4.0 on x32 - vp9_encodemb.c:(.text+0x105): undefined reference to `vp9_subtract_block_sse2' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
Component: | [OLD] Library | Assignee: | Gentoo Media-video project <media-video> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bertrand, calchan, chromium, pastas4, pud, sam, thican |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 393673 | ||
Attachments: |
build.log
emerge --info Second build.log Fix x32 build support |
Description
Bertrand Jacquin
2014-01-26 11:18:50 UTC
Created attachment 368760 [details]
build.log
Created attachment 368762 [details]
emerge --info
http://code.google.com/p/webm/issues/detail?id=666 it's impossible to build with sse2 disabled (and sseN enabled), because of these shared macros (In reply to nort obor from comment #3) > http://code.google.com/p/webm/issues/detail?id=666 > > it's impossible to build with sse2 disabled (and sseN enabled), because of > these shared macros As I read it from the URL you posted, the build fail if ssse3 in enabled, and sse2 disable. In the current case, ssse3 is disabled and sse2 is enable. Sorry, Bertrand, i overread that you actually had sse2 enabled m( I was looking for a bug like the one i hit, and it looked familiar on the first glance Hello, Any update about those errors, please? I wonder, why are VP8 and VP9 in the same package/code? Is there anyway to disable VP9 meanwhile the bug is fixed? Thanks for support. Current git HEAD also does not compile with the same errors. This is intriguing because 3 weeks ago there was a commit for an x32-related fix in build/make.configure.sh, and I assume they at least built it to verify. As a test I tried to build libvpx with no CPU flags or just mmx to get rid of the sse2/sse3. In this case it fails with "not a valid base/index expression" assembly errors while building third_party/libyuv/source/scale.c. Then enabling sse requires sse2 so you get the errors mentioned by posters above. The funny thing, and maybe a clue, is that even with ssse3 disabled it still complains it can't find some ssse3 references. This is annoying because libvpx is a hard dependency of any recent firefox, and chromium isn't supported on x32. Denis. I was able to build libvpx-9999 with USE="threads" and without the assembly optimisation flags... so it can built no reason to set it as a blocker for firefox etc... It would be nice to have those optimisations though. Created attachment 426398 [details]
Second build.log
I am getting a slightly different error (yasm not found), but I guess the idea is the same.
After manually emerging yasm (this should really be required in the ebuild), I got the same errors as in the OP. The workaround in Comment #8 works for 1.4.0 too: as long as ssse3, sse2, sse and mmx are turned off, emerging libvpx succeeds. I didn't need to disable sse3 (but maybe because it's not actually used). (In reply to Dainius Masiliūnas from comment #9) That's a much different error. Report a new bug for that. (In reply to Mike Gilbert from comment #11) > That's a much different error. Report a new bug for that. All right then, reported as bug #575588. Created attachment 466184 [details, diff]
Fix x32 build support
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bb5c035a58480d2a455619a02f4097b1e58a10 commit 73bb5c035a58480d2a455619a02f4097b1e58a10 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-30 04:20:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-30 04:21:14 +0000 media-libs/libvpx: add 1.11.0 Notably now forcing specific targets only where we know libvpx works well and otherwise using the generic implementation due to runtime breakage (and extensive test failures). Closes: https://bugs.gentoo.org/830254 Bug: https://bugs.gentoo.org/814668 Bug: https://bugs.gentoo.org/700902 Bug: https://bugs.gentoo.org/746173 Bug: https://bugs.gentoo.org/499336 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libvpx/Manifest | 2 + media-libs/libvpx/libvpx-1.11.0.ebuild | 136 +++++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+) (In reply to Steven Newbury from comment #13) > Created attachment 466184 [details, diff] [details, diff] > Fix x32 build support Still needed? |