[lld] [lld] enable fixup chains by default (PR #79894)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 01:09:36 PST 2024


zmodem wrote:

> @zmodem: it seems, from https://issues.chromium.org/issues/325410295, that the issue was with strip from Apple cctools, and seems that also happens with ld, while llvm-strip seems to work fine.

No, the issue did not reproduce with `ld`. Linking with `ld` and then running `strip` worked fine.

Even if the root cause is that `strip` does something wrong, I think `lld` needs to be compatible with that (or wait for `strip` to change). It does not seem reasonable for `lld` to emit binaries which break when stripped by the standard tool.

There is also the separate issue of crashing when linking rust code (https://crbug.com/325133695).

https://github.com/llvm/llvm-project/pull/79894


More information about the llvm-commits mailing list