[MacPorts] #59637: babl @0.1.72+universal: error: initializing '__m128i' (vector of 2 'long long' values) with an expression of incompatible type 'int'

MacPorts noreply at macports.org
Fri Nov 8 05:34:00 UTC 2019


#59637: babl @0.1.72+universal: error: initializing '__m128i' (vector of 2 'long
long' values) with an expression of incompatible type 'int'
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  dbevans
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  babl
------------------------+----------------------
 babl failed to build the i386 part of the +universal variant:

 {{{
 [131/184] Compiling C object 'extensions/20ef773@@sse-half at sha/sse-
 half.c.o'.
 FAILED: extensions/20ef773@@sse-half at sha/sse-half.c.o
 ccache /usr/bin/clang -Iextensions/20ef773@@sse-half at sha -Iextensions
 -I../babl-0.1.72-i386/extensions -I. -I../babl-0.1.72-i386/ -Ibabl
 -I../babl-0.1.72-i386/babl -I/opt/local/include -Xclang -fcolor-
 diagnostics -pipe -Wall -Winvalid-pch -g -Ofast -Wdeclaration-after-
 statement -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-
 style-definition -Wpointer-arith -mmmx -msse -mfpmath=sse -Os -arch i386
 -msse4.1 -mf16c -MD -MQ 'extensions/20ef773@@sse-half at sha/sse-half.c.o'
 -MF 'extensions/20ef773@@sse-half at sha/sse-half.c.o.d' -o
 'extensions/20ef773@@sse-half at sha/sse-half.c.o' -c
 ../babl-0.1.72-i386/extensions/sse-half.c
 ../babl-0.1.72-i386/extensions/sse-half.c:48:24: warning: implicit
 declaration of function '_mm_insert_epi64' is invalid in C99 [-Wimplicit-
 function-declaration]
       __m128i in_val = _mm_insert_epi64((__m128i)_mm_setzero_ps(),
 *s_vec++, 0);
                        ^
 ../babl-0.1.72-i386/extensions/sse-half.c:48:15: error: initializing
 '__m128i' (vector of 2 'long long' values) with an expression of
 incompatible type 'int'
       __m128i in_val = _mm_insert_epi64((__m128i)_mm_setzero_ps(),
 *s_vec++, 0);
               ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1 warning and 1 error generated.
 }}}

 This wasn't a problem with babl @0.1.68.

-- 
Ticket URL: <https://trac.macports.org/ticket/59637>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list