Anakin100100 commented on PR #49391:
URL: https://github.com/apache/arrow/pull/49391#issuecomment-3961637334

   #### Notes
   
   The compiler used on the failed macOS build is AppleClang 17.0.0.17000013, 
as per the C++ 
[docs](https://en.cppreference.com/w/cpp/compiler_support/20.html) the bit 
operations in stdlib should be fully supported since Xcode 13.0.0 which was 
released in September 2021. On the other hand The [Xcode 
docs](https://developer.apple.com/xcode/cpp/) don't mention any specific 
verions of Xcode for the two  ISO C++ committee designs for this utility set 
[P0556R3](https://wg21.link/P0556R3) [P1956R1](https://wg21.link/P1956R1). I'm 
not sure if the empty field on the right side means that a feature is supported 
in all supported Xcode versions or that it means that it isn't supported in any 
versions. 
   
   I think I'd lean towards the interpretation that this isn't supported at 
all. As an example [C++17 compatibility docs] 
(https://en.cppreference.com/w/cpp/compiler_support/17.html) mention that Apple 
Clang doesn't support [P0040R3](https://wg21.link/P0040R3) and this field is 
empty inside of the Apple Clang docs.
   
   When we look at the clean run it was "using C++ compiler: ‘Apple clang 
version 17.0.0 (clang-1700.0.13.5)’" so the version is almost identical. 
Unfortunately Apple doesn't publish specific version releases outside of XCode 
so I can't find when either of them were released on their own. 
   
   What is interesting is that the one that failed uses MacOSX11.3.sdk from 
April 2021 while the one that succeeded uses MacOSX15.5.sdk from May of 2025. 
Macos 11.3 has reached end of life in September of 2023. It looks like inside 
the successful job the M1 build that uses the 15.5 sdk 
[succeeds](https://github.com/ursacomputing/crossbow/actions/runs/22410562791/job/64882576464).
 
   
   #### Conclusion
   I'd recommend updating macOS version to 15.5 and for both the M1 and X86 
cran jobs. I don't think that the Cran compatibility with MacOS version that 
was released 5 years ago is reasonable and will cause more similar issues in 
the future. 
   
   Alternatively if it's not feasible to update the macOS version that far we 
could still maintain compatibility with the lowest supported [R for 
macos](https://cran.r-project.org/bin/macosx/) version 11.4 while  updating to 
Xcode as did the R project "This release uses Xcode 16.2(arm64)/14.2(x86_64) 
and GNU Fortran 14.2...." to version 14.2 which was released in December of 
2022 which would also probably resolve this issue. 


-- 
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