arrow: [CI][C++] Crashes on AMD64 Conda C++ AVX2
Describe the bug, including details regarding any error messages, version, and platform.
On various PRs, crashes have appeared 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 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 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
ld2.43 and 2.44 - tests pass with
ld.gold2.43 - tests pass with
mold2.40.1
Component(s)
C++, Continuous Integration
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- GH-47015: [CI][C++] Use mold on conda-cpp to work around issues with GNU ld — committed to pitrou/arrow by pitrou a year ago
- GH-47015: [CI][C++] Use mold on conda-cpp to work around issues with GNU ld (#47028) ### Rationale for this change A particular combination of `gcc`, GNU `ld` and specific compiler flags leads to cr... — committed to apache/arrow by pitrou a year ago
- GH-47015: [CI][C++] Use mold on conda-cpp to work around issues with GNU ld (#47028) ### Rationale for this change A particular combination of `gcc`, GNU `ld` and specific compiler flags leads to cr... — committed to apache/arrow by pitrou a year ago
This is not conda-forge specific, this was a subtle (i.e. not mentioned) change in
binutilsthemselves.