GH-40394: [C++] Add support for mold#40397
Conversation
|
@github-actions crossbow submit -g cpp -g linux |
|
|
This comment was marked as outdated.
This comment was marked as outdated.
|
I get the following warnings when building: and then I get various kinds of crashes when running the tests. |
|
|
|
|
|
I think the bottom line is that, for now, we cannot enable mold by default. |
|
The warnings are caused by sharing |
|
These test problems aren't happen on my environment. ( |
mold doesn't work with conda.
|
@github-actions crossbow submit -g cpp -g linux |
|
Revision: c24db80 Submitted crossbow builds: ursacomputing/crossbow @ actions-cbd198594d |
|
Hmm. It seems that mold doesn't work with sanitizers. I disabled |
|
I'll merge this tomorrow if nobody objects this. |
|
After merging your PR, Conbench analyzed the 7 benchmarking runs that have been run so far on merge-commit 60dbaab. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 4 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Rationale for this change
mold is a faster linker. It will reduce build time.
mold supports only ELF. So it's available on only Linux and *BSD.
What changes are included in this PR?
Add new
ARROW_USE_MOLDCMake option. It'sOFFby default because it doesn't work with conda.Are these changes tested?
Yes.
Are there any user-facing changes?
No.