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 | b23a3a36ed0bf8d749c4b1e9becd516950f2cdd2 (patch) | |
| tree | b57a6c5885f4e029463dcf824ea7f98c9db26552 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 82e675061c28fe99db0c94058164a3485357250a (diff) | |
| parent | f2c81bb1c0316e59d73280712e839f8decddaa1a (diff) | |
| download | rust-b23a3a36ed0bf8d749c4b1e9becd516950f2cdd2.tar.gz rust-b23a3a36ed0bf8d749c4b1e9becd516950f2cdd2.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/errors.rs')
0 files changed, 0 insertions, 0 deletions
