Page MenuHomeFreeBSD

Merge LLVM commit c03fdd340356 to fix lang/rust on powerpc
ClosedPublic

Authored by pkubaj on Mar 24 2022, 1:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 19 2024, 10:57 PM
Unknown Object (File)
Oct 2 2024, 4:32 PM
Unknown Object (File)
Oct 2 2024, 2:15 PM
Unknown Object (File)
Sep 24 2024, 12:46 PM
Unknown Object (File)
Sep 19 2024, 9:13 AM
Unknown Object (File)
Sep 19 2024, 6:19 AM
Unknown Object (File)
Sep 17 2024, 4:21 PM
Unknown Object (File)
Sep 17 2024, 8:22 AM
Subscribers

Details

Summary

Without it building rust fails with:

ld: error: CallSiteSplitting.cpp:(function llvm::SmallVectorImpl<std::__1::pair<llvm::BasicBlock*, llvm::SmallVector<std::__1::pair<llvm::ICmpInst*, unsigned int>, 2u> > >::operator=(llvm::SmallVectorImpl<std::__1::pair<llvm::BasicBlock*, llvm::SmallVector<std::__1::pair<llvm::ICmpInst*, unsigned int>, 2u> > >&&): .text._ZN4llvm15SmallVectorImplINSt3__14pairIPNS_10BasicBlockENS_11SmallVectorINS2_IPNS_8ICmpInstEjEELj2EEEEEEaSEOSB_+0xB0): relocation R_PPC_PLTREL24 out of range: -33582208 is not in [-33554432, 33554431]

This will need to be merged to releng/13.1.

Test Plan

Build lang/rust on powerpc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable