[Gimp-user] Gimp 2.10.10 does not compiled without sse2 support



Hi Devs and Users!

I have a problem with building gimp 2.10.10 on a old machine based on Pentium 3, host OS are FreeBSD 12 i386. 
It throws an error that w/o sse2 support it can't be compiled.
Tell me please, can this be fixed somehow?

cc -DHAVE_CONFIG_H -I. -I../../..  -DG_LOG_DOMAIN=\"Gimp-Layer-Modes\" -I../../.. -I../../.. -I../../../app 
-I../../../app -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include/libpng16 -I/usr/local/include/libdrm -D_THREAD_SAFE -pthread  
-I/usr/local/include/gegl-0.4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include -I/usr/local/include/json-glib-1.0 -I/usr/local/include/gio-unix-2.0/ -pthread 
-I/usr/local/include/babl-0.1  -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread  -I/usr/local/include -isystem 
/usr/local/include -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE 
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O2 -pipe 
-mtune=pentium3 -march=pentium3 -mmmx -msse -mno-sse2 -mno-sse3 -mno-sse4 -mno-avx -mno-avx2 -march=pentium3  
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wall 
-Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute 
-Wformat-security  -Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type   -MT 
gimpoperationsplit.o -MD -MP -MF .deps/gimpoperationsplit.Tpo -c -o gimpoperationsplit.o gimpoperationsplit.c
mv -f .deps/gimpoperationsplit.Tpo .deps/gimpoperationsplit.Po
rm -f libapplayermodes-generic.a
ar cru libapplayermodes-generic.a gimp-layer-modes.o gimpoperationlayermode.o gimpoperationlayermode-blend.o 
gimpoperationlayermode-composite.o gimpoperationantierase.o gimpoperationbehind.o gimpoperationdissolve.o 
gimpoperationerase.o gimpoperationmerge.o gimpoperationnormal.o gimpoperationpassthrough.o 
gimpoperationreplace.o gimpoperationsplit.o 
ranlib libapplayermodes-generic.a
cc -DHAVE_CONFIG_H -I. -I../../..  -DG_LOG_DOMAIN=\"Gimp-Layer-Modes\" -I../../.. -I../../.. -I../../../app 
-I../../../app -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include/libpng16 -I/usr/local/include/libdrm -D_THREAD_SAFE -pthread  
-I/usr/local/include/gegl-0.4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include -I/usr/local/include/json-glib-1.0 -I/usr/local/include/gio-unix-2.0/ -pthread 
-I/usr/local/include/babl-0.1  -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread  -I/usr/local/include -isystem 
/usr/local/include -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE 
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -mfpmath=sse 
-msse2 -O2 -pipe -mtune=pentium3 -march=pentium3 -mmmx -msse -mno-sse2 -mno-sse3 -mno-sse4 -mno-avx -mno-avx2 
-march=pentium3  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -Wall 
-Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute 
-Wformat-security  -Wtype-limits -fno-common -fdiagnostics-show-option -Wreturn-type   -MT 
libapplayermodes_sse2_a-gimpoperationlayermode-composite-sse2.o -MD -MP -MF 
.deps/libapplayermodes_sse2_a-gimpoperationlayermode-composite-sse2.Tpo -c -o 
libapplayermodes_sse2_a-gimpoperationlayermode-composite-sse2.o `test -f 
'gimpoperationlayermode-composite-sse2.c' || echo './'`gimpoperationlayermode-composite-sse2.c
gimpoperationlayermode-composite-sse2.c:79:27: error: '__builtin_ia32_pshufd' needs target feature sse2
          alpha = (__v4sf)_mm_shuffle_epi32((__m128i)rgba_comp,_MM_SHUFFLE(3,3,3,3)) * v_opacity;
                          ^
/usr/lib/clang/8.0.0/include/emmintrin.h:4452:12: note: expanded from macro '_mm_shuffle_epi32'
  (__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm))
           ^
gimpoperationlayermode-composite-sse2.c:90:40: error: '__builtin_ia32_pshufd' needs target feature sse2
              out_alpha      = (__v4sf)_mm_shuffle_epi32((__m128i)rgba_in,_MM_SHUFFLE(3,3,3,3));
                                       ^
/usr/lib/clang/8.0.0/include/emmintrin.h:4452:12: note: expanded from macro '_mm_shuffle_epi32'
  (__m128i)__builtin_ia32_pshufd((__v4si)(__m128i)(a), (int)(imm))
           ^
2 errors generated.
gmake[6]: *** [Makefile:810: libapplayermodes_sse2_a-gimpoperationlayermode-composite-sse2.o] Error 1
gmake[6]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.10/app/operations/layer-modes'
gmake[5]: *** [Makefile:979: all-recursive] Error 1
gmake[5]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.10/app/operations'
gmake[4]: *** [Makefile:1253: all-recursive] Error 1
gmake[4]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.10/app'
gmake[3]: *** [Makefile:846: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.10'
gmake[2]: *** [Makefile:747: all] Error 2
gmake[2]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.10'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]