Issue |
122655
|
Summary |
Current LLD 20 fails to link dependency in liblldMachO.a correctly
|
Labels |
lld
|
Assignees |
|
Reporter |
lerno
|
linking liblldMachO.a fails on a vanilla Linux build, with the following code:
```
/usr/bin/ld: /usr/lib/llvm-20/lib/liblldMachO.a(BPSectionOrderer.cpp.o): in function `lld::macho::runBalancedPartitioning(llvm::StringRef, bool, bool, bool, bool)':
(.text._ZN3lld5macho23runBalancedPartitioningEN4llvm9StringRefEbbbb+0x2fc): undefined reference to `lld::BPSectionBase::reorderSectionsByBalancedPartitioning(llvm::StringRef, bool, bool, bool, bool, llvm::SmallVector<std::unique_ptr<lld::BPSectionBase, std::default_delete<lld::BPSectionBase> >, 6u>&)'
```
This first started happening around Dec 19 2024, so is related some change during that time.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs