Created attachment 164827 [details] build fix graphics/gdal build fails on 9.x: gdaldither.cpp: In function 'int FindNearestColor(int, int*, int, int, int)': gdaldither.cpp:534: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts gdaldither.cpp:534: error: cannot convert 'int __vector__' to 'long long int __vector__' for argument '1' to 'long long int __vector__ __builtin_ia32_psrlqi128(long long int __vector__, int)' gdaldither.cpp:539: error: cannot convert 'int __vector__' to 'long long int __vector__' for argument '1' to 'long long int __vector__ __builtin_ia32_psrlqi128(long long int __vector__, int)' ../GDALmake.opt:582: recipe for target 'gdaldither.o' failed gmake[1]: *** [gdaldither.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/gdal/work/gdal-2.0.1/alg' GNUmakefile:57: recipe for target 'core-target' failed gmake: *** [core-target] Error 2 *** [do-build] Error code
A commit references this bug: Author: pawel Date: Wed Jan 13 15:52:17 UTC 2016 New revision: 406052 URL: https://svnweb.freebsd.org/changeset/ports/406052 Log: Fix build on FreeBSD 9.x gdaldither.cpp: In function 'int FindNearestColor(int, int*, int, int, int)': gdaldither.cpp:534: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts gdaldither.cpp:534: error: cannot convert 'int __vector__' to 'long long int __vector__' for argument '1' to 'long long int __vector__ __builtin_ia32_psrlqi128(long long int __vector__, int)' gdaldither.cpp:539: error: cannot convert 'int __vector__' to 'long long int __vector__' for argument '1' to 'long long int __vector__ __builtin_ia32_psrlqi128(long long int __vector__, int)' ../GDALmake.opt:582: recipe for target 'gdaldither.o' failed gmake[1]: *** [gdaldither.o] Error 1 PR: 205701 Submitted by: myself Approved by: maintainer timeout Changes: head/graphics/gdal/Makefile
A commit references this bug: Author: pawel Date: Wed Jan 13 23:59:55 UTC 2016 New revision: 406082 URL: https://svnweb.freebsd.org/changeset/ports/406082 Log: MFH: r406052 Fix build on FreeBSD 9.x gdaldither.cpp: In function 'int FindNearestColor(int, int*, int, int, int)': gdaldither.cpp:534: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts gdaldither.cpp:534: error: cannot convert 'int __vector__' to 'long long int __vector__' for argument '1' to 'long long int __vector__ __builtin_ia32_psrlqi128(long long int __vector__, int)' gdaldither.cpp:539: error: cannot convert 'int __vector__' to 'long long int __vector__' for argument '1' to 'long long int __vector__ __builtin_ia32_psrlqi128(long long int __vector__, int)' ../GDALmake.opt:582: recipe for target 'gdaldither.o' failed gmake[1]: *** [gdaldither.o] Error 1 PR: 205701 Submitted by: myself Approved by: maintainer timeout Approved by: ports-secteam (miwi) Changes: _U branches/2016Q1/ branches/2016Q1/graphics/gdal/Makefile