Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656726 - media-libs/opencv-3.4.1 does'nt use cpu_flags_x86_ssse3 flag
Summary: media-libs/opencv-3.4.1 does'nt use cpu_flags_x86_ssse3 flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-28 04:03 UTC by Michael Uleysky
Modified: 2018-05-28 12:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add cpu_flags_x86_ssse3 flag to opencv ebuild (opencv-3.4.1-ssse3.patch,1.94 KB, patch)
2018-05-28 04:03 UTC, Michael Uleysky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Uleysky 2018-05-28 04:03:10 UTC
Created attachment 533604 [details, diff]
Add cpu_flags_x86_ssse3 flag to opencv ebuild

Since the flag cpu_flags_x86_ssse3 is not used, opencv is compiled with -mssse3 even if the processor does not support this set of commands. As a result, applications linked with opencv crash with an error. The fix is trivial, the patch is attached.
Comment 1 Larry the Git Cow gentoo-dev 2018-05-28 12:56:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6c94485e1ce52cb73370702d845a4326f4f97a

commit 2b6c94485e1ce52cb73370702d845a4326f4f97a
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-05-28 12:53:49 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-05-28 12:55:43 +0000

    media-libs/opencv: add missing cpu_flags_x86_ssse3
    
    Subitted-by: Michael Uleysky <uleysky@gmail.com>
    Closes: https://bugs.gentoo.org/656726
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/opencv/{opencv-3.4.1.ebuild => opencv-3.4.1-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)