diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-10 21:15:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 21:15:45 +0100 |
| commit | 342ca46517714ccde6efba95ff552d11b9a92f1c (patch) | |
| tree | dd3b11270980457ac988e1ec3349398857dfc163 /compiler/rustc_codegen_llvm/src | |
| parent | 93316d7f28b06ac2cc86526dec143952ad2a4b25 (diff) | |
| parent | cb41803899ae6531ea2e8fd236f67663e7815ae3 (diff) | |
| download | rust-342ca46517714ccde6efba95ff552d11b9a92f1c.tar.gz rust-342ca46517714ccde6efba95ff552d11b9a92f1c.zip | |
Rollup merge of #108017 - chbaker0:fix-105967, r=chbaker0
Add `--no-undefined-version` link flag and fix associated breakage LLVM upstream sets `--no-undefined-version` by default in lld: https://reviews.llvm.org/D135402. Due to a bug in how version scripts are generated, this breaks the `dylib` output type for most crates. See https://github.com/rust-lang/rust/issues/105967#issuecomment-1428671533 for details. This PR adds the flag to gcc flavor linkers in anticipation of this LLVM change rolling in, and patches `rustc` to not attempt to export `__rust_*` allocator symbols when they weren't generated. Fixes #105967
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
