ImageMagic + Webp
Matthias Andree
mandree at FreeBSD.org
Wed Aug 13 21:06:35 UTC 2014
Am 13.08.2014 um 20:20 schrieb Sunpoet Po-Chuan Hsieh:
> On Thu, Aug 14, 2014 at 12:53 AM, Dimitry Andric <dim at freebsd.org> wrote:
>
>> On 12 Aug 2014, at 07:44, Robert Backhaus <robbak at robbak.com> wrote:
>>>
>>> On 11 August 2014 18:45, Jos Chrispijn <ports at webrz.net> wrote:
>>>> After I installed ImageMagic port, I got stuck at the installation of
>>>> Webp:
>>>>
>>>> ===> Building for webp-0.4.1
>>>> Making all in src
>>>> Making all in dec
>>>> Making all in enc
>>>> Making all in dsp
>>>> 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
>> [...]
>>> I have the same issue here. Sunpoet, do you have this? I have attached a
>>> script of my failure.
>>>
>>> FreeBSD boffin 9.3-STABLE FreeBSD 9.3-STABLE #1 r268979: Tue Jul 22
>>> 22:42:39 EST 2014 root at boffin:/usr/obj/home/src/sys/GENERIC amd64
>>
>>
>> This is a bug in gcc's emmintrin.h header. I have committed a fix to
>> head in r269948, and I will merge it to stable/10 and stable/9 in three
>> days. Meanwhile, please apply the attached diff to emmintrin.h in
>> /usr/include/gcc/4.2 manually.
>>
>> -Dimitry
>>
>>
>>
>>
> Hi dim,
>
> Thanks for your explanation.
> I've posted the information to ports/192600 and ports/192637.
I have proposed in the latter that you switch the port to using a newer
GCC version or clang on the affected systems, to sidestep the issue.
I am unsure if we will have an erratum, so for the benefit of users who
use the releases rather than STABLE/, it would be beneficial to have the
port compilable on systems that installed a broken/unpatched gcc 4.2.
Dimitry, any plans for an erratum?
Thank you.
More information about the freebsd-ports
mailing list