Bug 192600 - webp fails to install, SSE-related errors
Summary: webp fails to install, SSE-related errors
Status: Closed DUPLICATE of bug 192637
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 23:34 UTC by Matthias Andree
Modified: 2014-08-13 21:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2014-08-11 23:34:31 UTC
Trying to build webp 0.4.1 on a FreeBSD 9.3-RELEASE with portmaster into a live system (traditional pkg_add) fails during build:

===>  Building for webp-0.4.1
Making all in src
Making all in dec
Making all in enc
Making all in dsp
  CCLD   libwebpdsp_avx2.la
  CC     libwebpdspdecode_sse2_la-lossless_sse2.lo
lossless_sse2.c: In function 'ConvertBGRAToBGR':
lossless_sse2.c:403: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
lossless_sse2.c:403: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128'
lossless_sse2.c:404: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128'
*** [libwebpdspdecode_sse2_la-lossless_sse2.lo] Error code 1

Stop in /var/tmp/usr/ports.svn/graphics/webp/work/libwebp-0.4.1/src/dsp.
*** [all-recursive] Error code 1

Stop in /var/tmp/usr/ports.svn/graphics/webp/work/libwebp-0.4.1/src.
*** [all-recursive] Error code 1

Stop in /var/tmp/usr/ports.svn/graphics/webp/work/libwebp-0.4.1.
*** [do-build] Error code 1
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-08-13 18:19:28 UTC
It was caused by a bug in gcc's emmintrin.h. Please read ports/192637 for detailed information. Thanks!
Comment 2 Matthias Andree freebsd_committer freebsd_triage 2014-08-13 21:02:12 UTC
actually the duplicate is the one with higher number because it was failed later, but since the other has more information and is still open, let's turn things downside up.

*** This bug has been marked as a duplicate of bug 192637 ***