kou opened a new issue, #45356:
URL: https://github.com/apache/arrow/issues/45356

   ### Describe the enhancement requested
   
   I'm working on updating bundled AWS SDK for C++: #45306
   
   It's for bumping minimum CMake version to 3.25: #44989
   
   It seems that the latest AWS SDK for C++ requires macOS 10.15 or later: 
https://github.com/ursacomputing/crossbow/actions/runs/12983964025/job/36206123040#step:5:1166
   
   ```text
   
/Users/runner/work/crossbow/crossbow/arrow/r/libarrow/dist/_deps/aws-sdk-cpp-src/src/aws-cpp-sdk-core/source/utils/memory/AWSMemory.cpp:98:19:
 error: 'aligned_alloc' is only available on macOS 10.15 or newer 
[-Werror,-Wunguarded-availability-new]
               ret = aligned_alloc(alignment, blockSize);
                     ^~~~~~~~~~~~~
   
/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/malloc/_malloc.h:65:7:
 note: 'aligned_alloc' has been marked as being introduced in macOS 10.15 here, 
but the deployment target is macOS 10.13.0
   void *aligned_alloc(size_t __alignment, size_t __size) __result_use_check 
__alloc_align(1) __alloc_size(2) _MALLOC_TYPED(malloc_type_aligned_alloc, 2) 
__OSX_AVAILABLE(10.15) __IOS_AVAILABLE(13.0) __TVOS_AVAILABLE(13.0) 
__WATCHOS_AVAILABLE(6.0);
         ^
   
/Users/runner/work/crossbow/crossbow/arrow/r/libarrow/dist/_deps/aws-sdk-cpp-src/src/aws-cpp-sdk-core/source/utils/memory/AWSMemory.cpp:98:19:
 note: enclose 'aligned_alloc' in a __builtin_available check to silence this 
warning
               ret = aligned_alloc(alignment, blockSize);
                     ^~~~~~~~~~~~~
   ```
   
   Can we bump 
https://github.com/apache/arrow/blob/4408e2b053240766ce81e5acee6520427623f1e5/dev/tasks/r/github.packages.yml#L84
 to at least "10.15"?
   
   FYI: Wheels use "12.0": https://github.com/apache/arrow/pull/43137
   
   ### Component(s)
   
   R


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to