-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
What is the bug?
Test build of 3.11.0beta in vcpkg fails for the arm-neon-android triplet with:
FAILED: gcore/CMakeFiles/gcore.dir/overview.cpp.o
/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=armv7-none-linux-androideabi28 --sysroot=/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DDEBUG -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION -DGDAL_DEBUG -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_TIFF -DPAM_ENABLED -DPROJ_DLL="" -DUSE_NEON_OPTIMIZATIONS -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/apps -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/alg -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/gcore -I/mnt/vcpkg-ci/b/gdal/arm-neon-android-dbg/gcore -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/port -I/mnt/vcpkg-ci/b/gdal/arm-neon-android-dbg/port -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/ogr -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/ogr/ogrsf_frmts -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/frmts -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/frmts/mem -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/ogr/ogrsf_frmts/generic -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/frmts/vrt -I/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/frmts/gtiff -I/mnt/vcpkg-ci/installed/arm-neon-android/include/json-c -isystem /mnt/vcpkg-ci/installed/arm-neon-android/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -frtti -fexceptions -fPIC -fvisibility=hidden -fno-limit-debug-info -std=gnu++17 -fno-finite-math-only -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wshorten-64-to-32 -Wshadow -Wshadow-field -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wdate-time -Wnull-dereference -Wextra-semi -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -Wstring-conversion -fno-operator-names -Wzero-as-null-pointer-constant -ftrapv -Wold-style-cast -Weffc++ -MD -MT gcore/CMakeFiles/gcore.dir/overview.cpp.o -MF gcore/CMakeFiles/gcore.dir/overview.cpp.o.d -o gcore/CMakeFiles/gcore.dir/overview.cpp.o -c /mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/gcore/overview.cpp
/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/gcore/overview.cpp:977:15: error: redefinition of 'SQUARE'
977 | inline __m128 SQUARE(__m128 x)
| ^
/mnt/vcpkg-ci/b/gdal/src/.11.0beta1-8727599f69.clean/gcore/overview.cpp:613:16: note: previous definition is here
613 | inline __m128d SQUARE(__m128d x)
| ^
1 error generated.
Steps to reproduce the issue
vcpkg install gdal[core]:arm-neon-android with microsoft/vcpkg#41293
Versions and provenance
GDAL beta 3.11.0, microsoft/vcpkg#41293
Additional context
__m128d == __m128 ?
The code spots are unchanged for years, so probably they are engaged differently now. I'm currently unable to answer what has changed, gdal or vcpkg.
Metadata
Metadata
Assignees
Labels
No labels