kou commented on PR #50469:
URL: https://github.com/apache/arrow/pull/50469#issuecomment-4953912795

   > * AMD64 Windows MSVC GLib: link failure with
   >    `unresolved external symbol simdjson::internal::error_codes`
   
   FetchContent will fix it.
   
   > * AMD64 Windows C++ RTools 40 ucrt64: failure while building the bundled 
`simdjson` dependency with
   >    `fatal error: had to relocate PCH`
   
   We may need to disable PCH (pre-compiled headers) with old MinGW.
   
   Could you try this?
   
   ```diff
   diff --git a/ci/scripts/PKGBUILD b/ci/scripts/PKGBUILD
   index 6a66d86867..4737a7b1d8 100644
   --- a/ci/scripts/PKGBUILD
   +++ b/ci/scripts/PKGBUILD
   @@ -137,6 +137,7 @@ build() {
        -DARROW_CXXFLAGS="${CPPFLAGS}" \
        -DAWSSDK_SOURCE=BUNDLED \
        -DCMAKE_BUILD_TYPE="release" \
   +    -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON \
        -DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \
        -DCMAKE_UNITY_BUILD=OFF \
        -DCMAKE_VERBOSE_MAKEFILE=ON \
   ```
   
   See also: 
https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_PRECOMPILE_HEADERS.html
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to