<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58599>58599</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLVM 15.0.4 linux binaries broken.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lerno
</td>
</tr>
</table>
<pre>
15.0.3 binaries worked fine, but grabbing the latest 15 (with 15.0.4) from apt.llvm.org now has errors linking (13, 14, 16 all still work): `/usr/bin/ld: /usr/lib/llvm-15/lib/libLLVMAArch64AsmParser.a: error adding symbols: file format not recognized`
Somewhat longer dump from CI
```
15/lib/libLLVMMSP430CodeGen.a /usr/lib/llvm-15/lib/libLLVMNVPTXCodeGen.a /usr/lib/llvm-15/lib/libLLVMPowerPCCodeGen.a /usr/lib/llvm-15/lib/libLLVMRISCVCodeGen.a /usr/lib/llvm-15/lib/libLLVMSparcCodeGen.a /usr/lib/llvm-15/lib/libLLVMSystemZCodeGen.a /usr/lib/llvm-15/lib/libLLVMVECodeGen.a /usr/lib/llvm-15/lib/libLLVMWebAssemblyCodeGen.a /usr/lib/llvm-15/lib/libLLVMX86CodeGen.a /usr/lib/llvm-15/lib/libLLVMCFGuard.a /usr/lib/llvm-15/lib/libLLVMXCoreCodeGen.a /usr/lib/llvm-15/lib/libLLVMM68kCodeGen.a /usr/lib/llvm-15/lib/libLLVMGlobalISel.a /usr/lib/llvm-15/lib/libLLVMSelectionDAG.a /usr/lib/llvm-15/lib/libLLVMAVRDesc.a /usr/lib/llvm-15/lib/libLLVMBPFDesc.a /usr/lib/llvm-15/lib/libLLVMMipsDesc.a /usr/lib/llvm-15/lib/libLLVMMSP430Desc.a /usr/lib/llvm-15/lib/libLLVMNVPTXDesc.a /usr/lib/llvm-15/lib/libLLVMPowerPCDesc.a /usr/lib/llvm-15/lib/libLLVMSparcDesc.a /usr/lib/llvm-15/lib/libLLVMVEDesc.a /usr/lib/llvm-15/lib/libLLVMX86Desc.a /usr/lib/llvm-15/lib/libLLVMXCoreDesc.a /usr/lib/llvm-15/lib/libLLVMAArch64Disassembler.a /usr/lib/llvm-15/lib/libLLVMAArch64Desc.a /usr/lib/llvm-15/lib/libLLVMAArch64Utils.a /usr/lib/llvm-15/lib/libLLVMAMDGPUDisassembler.a /usr/lib/llvm-15/lib/libLLVMAMDGPUDesc.a /usr/lib/llvm-15/lib/libLLVMAMDGPUUtils.a /usr/lib/llvm-15/lib/libLLVMARMDisassembler.a /usr/lib/llvm-15/lib/libLLVMARMDesc.a /usr/lib/llvm-15/lib/libLLVMARMUtils.a /usr/lib/llvm-15/lib/libLLVMAVRDisassembler.a /usr/lib/llvm-15/lib/libLLVMBPFDisassembler.a /usr/lib/llvm-15/lib/libLLVMHexagonDisassembler.a /usr/lib/llvm-15/lib/libLLVMHexagonDesc.a /usr/lib/llvm-15/lib/libLLVMLanaiDisassembler.a /usr/lib/llvm-15/lib/libLLVMLanaiDesc.a /usr/lib/llvm-15/lib/libLLVMMipsDisassembler.a /usr/lib/llvm-15/lib/libLLVMMSP430Disassembler.a /usr/lib/llvm-15/lib/libLLVMPowerPCDisassembler.a /usr/lib/llvm-15/lib/libLLVMRISCVDisassembler.a /usr/lib/llvm-15/lib/libLLVMRISCVDesc.a /usr/lib/llvm-15/lib/libLLVMSparcDisassembler.a /usr/lib/llvm-15/lib/libLLVMSystemZDisassembler.a /usr/lib/llvm-15/lib/libLLVMSystemZDesc.a /usr/lib/llvm-15/lib/libLLVMVEDisassembler.a /usr/lib/llvm-15/lib/libLLVMWebAssemblyDisassembler.a /usr/lib/llvm-15/lib/libLLVMWebAssemblyDesc.a /usr/lib/llvm-15/lib/libLLVMWebAssemblyUtils.a /usr/lib/llvm-15/lib/libLLVMX86Disassembler.a /usr/lib/llvm-15/lib/libLLVMXCoreDisassembler.a /usr/lib/llvm-15/lib/libLLVMM68kDisassembler.a /usr/lib/llvm-15/lib/libLLVMM68kDesc.a /usr/lib/llvm-15/lib/libLLVMAArch64Info.a /usr/lib/llvm-15/lib/libLLVMAMDGPUInfo.a /usr/lib/llvm-15/lib/libLLVMARMInfo.a /usr/lib/llvm-15/lib/libLLVMAVRInfo.a /usr/lib/llvm-15/lib/libLLVMBPFInfo.a /usr/lib/llvm-15/lib/libLLVMHexagonInfo.a /usr/lib/llvm-15/lib/libLLVMLanaiInfo.a /usr/lib/llvm-15/lib/libLLVMMipsInfo.a /usr/lib/llvm-15/lib/libLLVMMSP430Info.a /usr/lib/llvm-15/lib/libLLVMNVPTXInfo.a /usr/lib/llvm-15/lib/libLLVMPowerPCInfo.a /usr/lib/llvm-15/lib/libLLVMRISCVInfo.a /usr/lib/llvm-15/lib/libLLVMSparcInfo.a /usr/lib/llvm-15/lib/libLLVMSystemZInfo.a /usr/lib/llvm-15/lib/libLLVMVEInfo.a /usr/lib/llvm-15/lib/libLLVMWebAssemblyInfo.a /usr/lib/llvm-15/lib/libLLVMX86Info.a /usr/lib/llvm-15/lib/libLLVMXCoreInfo.a /usr/lib/llvm-15/lib/libLLVMM68kInfo.a /usr/lib/llvm-15/lib/libLLVMAsmPrinter.a /usr/lib/llvm-15/lib/libLLVMLibDriver.a /usr/lib/llvm-15/lib/libLLVMLTO.a /usr/lib/llvm-15/lib/libLLVMCodeGen.a /usr/lib/llvm-15/lib/libLLVMExtensions.a /usr/lib/llvm-15/lib/libPolly.a /usr/lib/llvm-15/lib/libLLVMPasses.a /usr/lib/llvm-15/lib/libLLVMCoroutines.a /usr/lib/llvm-15/lib/libLLVMipo.a /usr/lib/llvm-15/lib/libLLVMIRReader.a /usr/lib/llvm-15/lib/libLLVMAsmParser.a /usr/lib/llvm-15/lib/libLLVMLinker.a /usr/lib/llvm-15/lib/libLLVMInstrumentation.a /usr/lib/llvm-15/lib/libLLVMBitWriter.a /usr/lib/llvm-15/lib/libLLVMFrontendOpenMP.a /usr/lib/llvm-15/lib/libLLVMVectorize.a /usr/lib/llvm-15/lib/libPollyISL.a /usr/lib/llvm-15/lib/libLLVMObjCARCOpts.a /usr/lib/llvm-15/lib/libLLVMMCDisassembler.a /usr/lib/llvm-15/lib/libLLVMScalarOpts.a /usr/lib/llvm-15/lib/libLLVMInstCombine.a /usr/lib/llvm-15/lib/libLLVMAggressiveInstCombine.a /usr/lib/llvm-15/lib/libLLVMTarget.a /usr/lib/llvm-15/lib/libLLVMTransformUtils.a /usr/lib/llvm-15/lib/libLLVMAnalysis.a /usr/lib/llvm-15/lib/libLLVMProfileData.a /usr/lib/llvm-15/lib/libLLVMSymbolize.a /usr/lib/llvm-15/lib/libLLVMDebugInfoPDB.a /usr/lib/llvm-15/lib/libLLVMDebugInfoMSF.a /usr/lib/llvm-15/lib/libLLVMDebugInfoDWARF.a /usr/lib/llvm-15/lib/libLLVMObject.a /usr/lib/llvm-15/lib/libLLVMBitReader.a /usr/lib/llvm-15/lib/libLLVMMCParser.a /usr/lib/llvm-15/lib/libLLVMMC.a /usr/lib/llvm-15/lib/libLLVMDebugInfoCodeView.a /usr/lib/llvm-15/lib/libLLVMTextAPI.a /usr/lib/llvm-15/lib/libLLVMCore.a /usr/lib/llvm-15/lib/libLLVMBinaryFormat.a /usr/lib/llvm-15/lib/libLLVMRemarks.a /usr/lib/llvm-15/lib/libLLVMBitstreamReader.a /usr/lib/llvm-15/lib/libLLVMWindowsManifest.a /usr/lib/x86_64-linux-gnu/libxml2.so /usr/lib/llvm-15/lib/libLLVMWindowsDriver.a /usr/lib/llvm-15/lib/libLLVMOption.a /usr/lib/llvm-15/lib/libLLVMSupport.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libtinfo.so /usr/lib/llvm-15/lib/libLLVMDemangle.a && :
2022-10-25T08:52:39.0367399Z /usr/bin/ld: /usr/lib/llvm-15/lib/libLLVMAArch64AsmParser.a: error adding symbols: file format not recognized
2022-10-25T08:52:39.0367977Z clang: error: linker command failed with exit code 1 (use -v to see invocation)
2022-10-25T08:52:39.0368334Z ninja: build stopped: subcommand failed.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzFmd9v4jgQx_8aeLFA-QEBHnig0PaQmiuCLl315eQQJ3jr2JHtFOhff2PDbvfuVlomfTgJWSHxxzO2x19P4kzlp2k47Af9mGRcUs2ZIQelX1lOCi5ZJ5qTrLGk1DSD5yWxe0YEtcxYEg5JJxofuN0T38KgE01IoVVFaG37QrxVfaVLItWB7KkhTGulDRFcvrqGAA1j13w48GVCqBDEWA6lcwAa68Qz0kmCTnTXGA0lOAClyP397zcFz1wJ1nrh8OM_zx4etulspnf7ZDAz1Ypqw3SfOtZ7QmieOz_MqcqUMO5-wQUjhdIVteC1JZrtVCn5O8udF8GiE8zO5UZV7LCHWkLJkmmSN1V97vl8eakHwPnn__7Xs3SzGsTBXOXsnsk-JVd26M_t6ukrmlqpA9OrOZpbLzfzLZra1FTv8NTJWFa9oLntLRp5ZtnMGFZl4oRmv44TNDO_u2-ozhFG5koztJk0Gb-ioXuhMiqWGyYQU8UE21mu5GJ2fz01264XzOyuB25Wdzgg5bVBEn4V4hi_BHHIZf3hIL-McMj2FlcfghkJuMDEIRcJXnBDz2vOqTAWbmPxC2wlBkGli_vVl5Zunlmcl57BOrlOW3oIIM69dYr1DdZ3K9_cOm8F_sGOtAQV-hSMGpUHKilvZ--M4vWslbGLrrViv4tVK9hnDJ9BW0hkK2uXdONzMFacWxn7KVv5fAMoj38CkVrgNpZWvp43mHYxD-nPJ8g2W8xSFgqr-EhmnSKB7RoHgPrigItw4iCvfjjEqR-S8KqHY3w2h0MuAomDvLrhEK9uSOQsTDhoe4ur_5Ms4EBQBSTg1AAZA7CWkSvGVCvNpUVt5jxbaP6GQp4eEW-M2Ne426Nl0sAr2ZUivVJCnBAh71QVof8wb6qxXGIYXiMmbbleM5qjMuCPb0DXz7J8xdRfSmN1UzFpqXs7Rmgwt8-aoyLwTisIWZk_1kymK8Rihzd3pfk7Q8TJcvNwvYH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