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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   On various PRs, crashes [have 
appeared](https://github.com/apache/arrow/actions/runs/16118470582/job/45477896283?pr=47013)
 on the AMD64 Conda C++ AVX2 build.
   
   According to a preliminary analysis, the only relevant change is that the 
conda-forge package `binutils` was upgraded from 2.43 to 2.44.
   
   I could reproduce this locally using Archery:
   ```
   archery docker run -e CLANG_TOOLS=14 -e LLVM=14 -e UBUNTU=22.04 -e 
ARROW_USE_LD_GOLD=OFF conda-cpp
   ```
   
   Then I downgraded `binutils` to 2.43 in this Docker build, and validated 
that the crashes disappear.
   
   I looked into the [GNU ld 
changelog](https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=ld/NEWS;hb=refs/heads/binutils-2_44-branch)
 and nothing relevant stands out.
   
   Then I noticed that with `binutils` 2.44, conda-forge also removed the 
faster `ld.gold` linker.
   So, with `binutils` at 2.43, I disabled `ld.gold` using and rebuilt. The 
same crashes appeared again.
   Finally, I installed and used the `mold` linker again, and there were no 
crashes.
   
   So, for some reason, we have:
   * tests crash with GNU `ld` 2.43 and 2.44
   * tests pass with `ld.gold` 2.43
   * tests pass with `mold` 2.40.1
   
   
   ### Component(s)
   
   C++, Continuous Integration


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