LLVM 17.0.0-rc2 tagged!

Hi testers!

I just tagged 17.0.0-rc2, please test and upload binaries.

Commit list for rc1->rc2:

1 Like

Ugh,

Unfortunately, I forgot to run the script to bump the version before creating the tag so that it will show 17.0.0-rc1 instead of rc2. But edc0ee3c is the right SHA.

Sorry about that.

I’ve now added Solaris/amd64 and Solaris/sparcv9 builds:

3b287d684a4d79fb46e048cd87d17baba0adac124465df5b00592888db8a8132  clang+llvm-17.0.0-rc2-amd64-pc-solaris2.11.tar.xz
61171a0028a583cf16e74c3b5702ca9099e60f65530411696f8f52d641cdb54b  clang+llvm-17.0.0-rc2-sparcv9-sun-solaris2.11.tar.xz

No regressions from rc1. However, the fix for Issue #57624 has landed. Now there’s only Issue #53709 that seriously affects Solaris. If that can be fixed in time, it would be really helpful to make it into LLVM 17. In that case, D157013 should be added as a prerequisite.

1 Like

I’ve noticed some oddities in how -rc2 is being appended to library names. Here’s the list of files containing the string -rc2 from building the FreeBSD port updated to the RC2 tarball with the s/rc1/rc2/ patch applied.

libLLVM-17-rc2.so
libLLVM-17.0.0-rc2.so
libLTO.so.17-rc2
libMLIR.so.17-rc2
libRemarks.so.17-rc2
libclang-cpp.so.17-rc2
libclang.so.17-rc2
libclang.so.17.0.0-rc2
liblldb.so.17-rc2
liblldb.so.17.0.0-rc2
libmlir_async_runtime.so.17-rc2
libmlir_c_runner_utils.so.17-rc2
libmlir_float16_utils.so.17-rc2
libmlir_runner_utils.so.17-rc2
libomptarget.so.17-rc2

The -rc2 suffix makes some sense for the ones with 17.0.0-rc2.so suffixes and I guess libLLVM-17-rc2.so falls out of that case, but .so.17-rc2 doesn’t make a lot of sense given that we won’t differentiate 17.0.0 and 17.0.1 in this scheme.

Looks good on Gentoo/amd64.

1 Like

Windows is ready. Due to llvm-17.0.0-rc1 32-bit win packaging fails to build lldb: "error: cannot compile this forwarded non-trivially copyable parameter yet" · Issue #64485 · llvm/llvm-project · GitHub the 32-bit build does not include LLDB (but the 64-bit build does).

These were built with

llvm-project\llvm\utils\release\build_llvm_release.bat --version 17.0.0-rc2 --x64
llvm-project\llvm\utils\release\build_llvm_release.bat --version 17.0.0-rc2 --x86

at beb339c0ef8b0971fbb461d8a041a7514e0e5804 with LLDB removed from the enabled projects list in the x86 build.

Checksums:

C:\src>certutil -hashfile llvm_package_17.0.0-rc2.x86\build32\LLVM-17.0.0-rc2-win32.exe sha256
SHA256 hash of llvm_package_17.0.0-rc2.x86\build32\LLVM-17.0.0-rc2-win32.exe:
a3e21047a17397c28e27c6ca02b353e49a4a09f3e1b4e40fd8b898d1a3e553d9
CertUtil: -hashfile command completed successfully.

C:\src>certutil -hashfile llvm_package_17.0.0-rc2\build64\LLVM-17.0.0-rc2-win64.exe sha256
SHA256 hash of llvm_package_17.0.0-rc2\build64\LLVM-17.0.0-rc2-win64.exe:
a4e3df050ae3c6c62368348bb11031f759cbafabb21da308b7847284a6777cce
CertUtil: -hashfile command completed successfully.
1 Like

Just uploaded the Debian/sparc64 rc2 tarball:

c98325d54afe57b89b391ff5f32fa70a5ffcfdc8f14a8d4640c991c31b1c0d84  clang+llvm-17.0.0-rc2-sparc64-unknown-linux-gnu.tar.xz

Same local patch as with rc1, no regressions.

1 Like

Hi Hans, can the Windows binaries be built against Visual Studio 2022? as VS 2019 is somewhat outdated (currently in CVE fix only? Visual Studio 2019 version 16.11 Release Notes | Microsoft Learn compared to Visual Studio 2022 Release Notes | Microsoft Learn).

I’d rather not change the setup while we’re in the middle of the release process, but yes at some point I should upgrade.

Note that the build is bootstrapped, so the host compiler shouldn’t really matter as long as it can build the first stage.

OK, thanks. Just in case there are MSVC STL (which used by LLVM binaries in both stages) fixes in VS 2022 (vcruntime is same for VS 2015 to 2022). Also Python 3.10 is security fix only (source release only), there is no longer official binaries from Download Python | Python.org (see PEP 619 – Python 3.10 Release Schedule | peps.python.org).

I have uploaded following LLVM 17.0.0-rc2 release binaries for Arm:

clang+llvm-17.0.0-rc2-aarch64-linux-gnu.tar.xz
shasum -a 256 clang+llvm-17.0.0-rc2-aarch64-linux-gnu.tar.xz
1f907aa7aab173c55dcd1d67466bb0240b62b5efb54798776d90e332cc87e52d

LLVM-17.0.0-rc2-woa64.exe
shasum -a 256 LLVM-17.0.0-rc2-woa64.exe
dd84e78bfd32c8b6fe203c2be1476f2deaa2f7042f881893186e640159e228d4

No new regression since 17.0.0 rc1.

Uploaded PowerPC Linux binaries: clang+llvm-17.0.0-rc2-powerpc64le-linux-rhel-8.8.tar.xz

af984da355cdb550997e43bff00b3c5461559b7e  clang+llvm-17.0.0-rc2-powerpc64le-linux-rhel-8.8.tar.xz

No new regression since 17.0.0 rc1.

1 Like

The AIX 7.2 binaries are uploaded, no regressions found.


ce12ffaecbbf74a876c34aa1e2fcec029806085d  clang+llvm-17.0.0-rc2-powerpc64-ibm-aix-7.2.tar.xz

I have uploaded Linux Arm v7 binary:

SHA2-256(clang+llvm-17.0.0-rc2-armv7a-linux-gnueabihf.tar.gz)= 152409896bff8d9f4c0baf8f5f1138058c120d2b47c92ce7fe976d2f0d636119

Testing Time: 20624.10s
Skipped : 73
Unsupported : 4308
Passed : 106008
Expectedly Failed: 297
Unresolved : 1
Failed : 125

Arm v7 release build was broken since 16.0.3 and following LLDB tests are still broken:

Failed Tests (125):
  lldb-api :: commands/dwim-print/TestDWIMPrint.py
  lldb-api :: commands/expression/anonymous-struct/TestCallUserAnonTypedef.py
  lldb-api :: commands/expression/argument_passing_restrictions/TestArgumentPassingRestrictions.py
  lldb-api :: commands/expression/call-function/TestCallStdStringFunction.py
  lldb-api :: commands/expression/call-function/TestCallStopAndContinue.py
  lldb-api :: commands/expression/call-function/TestCallUserDefinedFunction.py
  lldb-api :: commands/expression/call-restarts/TestCallThatRestarts.py
  lldb-api :: commands/expression/char/TestExprsChar.py
  lldb-api :: commands/expression/class_template_specialization_empty_pack/TestClassTemplateSpecializationParametersHandling.py
  lldb-api :: commands/expression/context-object/TestContextObject.py
  lldb-api :: commands/expression/deleting-implicit-copy-constructor/TestDeletingImplicitCopyConstructor.py
  lldb-api :: commands/expression/dont_allow_jit/TestAllowJIT.py
  lldb-api :: commands/expression/entry-bp/TestExprEntryBP.py
  lldb-api :: commands/expression/expr-in-syscall/TestExpressionInSyscall.py
  lldb-api :: commands/expression/expr_inside_lambda/TestExprInsideLambdas.py
  lldb-api :: commands/expression/fixits/TestFixIts.py
  lldb-api :: commands/expression/formatters/TestFormatters.py
  lldb-api :: commands/expression/import-std-module/array/TestArrayFromStdModule.py
  lldb-api :: commands/expression/import-std-module/basic/TestImportStdModule.py
  lldb-api :: commands/expression/import-std-module/conflicts/TestStdModuleWithConflicts.py
  lldb-api :: commands/expression/import-std-module/deque-basic/TestDequeFromStdModule.py
  lldb-api :: commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py
  lldb-api :: commands/expression/import-std-module/empty-module/TestEmptyStdModule.py
  lldb-api :: commands/expression/import-std-module/forward_list-dbg-info-content/TestDbgInfoContentForwardListFromStdModule.py
  lldb-api :: commands/expression/import-std-module/forward_list/TestForwardListFromStdModule.py
  lldb-api :: commands/expression/import-std-module/iterator/TestIteratorFromStdModule.py
  lldb-api :: commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
  lldb-api :: commands/expression/import-std-module/list/TestListFromStdModule.py
  lldb-api :: commands/expression/import-std-module/non-module-type-separation/TestNonModuleTypeSeparation.py
  lldb-api :: commands/expression/import-std-module/queue/TestQueueFromStdModule.py
  lldb-api :: commands/expression/import-std-module/retry-with-std-module/TestRetryWithStdModule.py
  lldb-api :: commands/expression/import-std-module/shared_ptr-dbg-info-content/TestSharedPtrDbgInfoContentFromStdModule.py
  lldb-api :: commands/expression/import-std-module/shared_ptr/TestSharedPtrFromStdModule.py
  lldb-api :: commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
  lldb-api :: commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py
  lldb-api :: commands/expression/import-std-module/vector-of-vectors/TestVectorOfVectorsFromStdModule.py
  lldb-api :: commands/expression/import-std-module/weak_ptr-dbg-info-content/TestDbgInfoContentWeakPtrFromStdModule.py
  lldb-api :: commands/expression/import-std-module/weak_ptr/TestWeakPtrFromStdModule.py
  lldb-api :: commands/expression/import_base_class_when_class_has_derived_member/TestImportBaseClassWhenClassHasDerivedMember.py
  lldb-api :: commands/expression/inline-namespace/TestInlineNamespace.py
  lldb-api :: commands/expression/ir-interpreter/TestIRInterpreter.py
  lldb-api :: commands/expression/issue_11588/Test11588.py
  lldb-api :: commands/expression/namespace-alias/TestInlineNamespaceAlias.py
  lldb-api :: commands/expression/no-deadlock/TestExprDoesntBlock.py
  lldb-api :: commands/expression/persistent_types/TestNestedPersistentTypes.py
  lldb-api :: commands/expression/persistent_types/TestPersistentTypes.py
  lldb-api :: commands/expression/pr35310/TestExprsBug35310.py
  lldb-api :: commands/expression/radar_9531204/TestPrintfAfterUp.py
  lldb-api :: commands/expression/radar_9673664/TestExprHelpExamples.py
  lldb-api :: commands/expression/result_numbering/TestResultNumbering.py
  lldb-api :: commands/expression/save_jit_objects/TestSaveJITObjects.py
  lldb-api :: commands/expression/static-initializers/TestStaticInitializers.py
  lldb-api :: commands/expression/test/TestExprs.py
  lldb-api :: commands/expression/timeout/TestCallWithTimeout.py
  lldb-api :: commands/expression/top-level/TestTopLevelExprs.py
  lldb-api :: commands/expression/unwind_expression/TestUnwindExpression.py
  lldb-api :: commands/expression/xvalue/TestXValuePrinting.py
  lldb-api :: commands/register/register/register_command/TestRegisters.py
  lldb-api :: commands/target/stop-hooks/TestStopHooks.py
  lldb-api :: functionalities/completion/TestCompletion.py
  lldb-api :: functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
  lldb-api :: functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
  lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/span/TestDataFormatterLibcxxSpan.py
  lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/string_view/TestDataFormatterLibcxxStringView.py
  lldb-api :: functionalities/data-formatter/data-formatter-stl/libcxx/unordered_map/TestDataFormatterLibccUnorderedMap.py
  lldb-api :: functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
  lldb-api :: functionalities/limit-debug-info/TestLimitDebugInfo.py
  lldb-api :: functionalities/load_unload/TestLoadUnload.py
  lldb-api :: functionalities/memory/find/TestMemoryFind.py
  lldb-api :: functionalities/thread/exit_during_expression/TestExitDuringExpression.py
  lldb-api :: functionalities/thread/main_thread_exit/TestMainThreadExit.py
  lldb-api :: functionalities/thread/state_after_expression/TestStateAfterExpression.py
  lldb-api :: lang/c/anonymous/TestAnonymous.py
  lldb-api :: lang/c/const_variables/TestConstVariables.py
  lldb-api :: lang/c/enum_types/TestEnumTypes.py
  lldb-api :: lang/c/fpeval/TestFPEval.py
  lldb-api :: lang/c/function_types/TestFunctionTypes.py
  lldb-api :: lang/c/shared_lib/TestSharedLib.py
  lldb-api :: lang/c/strings/TestCStrings.py
  lldb-api :: lang/c/struct_types/TestStructTypes.py
  lldb-api :: lang/cpp/auto/TestCPPAuto.py
  lldb-api :: lang/cpp/bitfields/TestCppBitfields.py
  lldb-api :: lang/cpp/call-function/TestCallCPPFunction.py
  lldb-api :: lang/cpp/chained-calls/TestCppChainedCalls.py
  lldb-api :: lang/cpp/char8_t/TestCxxChar8_t.py
  lldb-api :: lang/cpp/class-template-parameter-pack/TestClassTemplateParameterPack.py
  lldb-api :: lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
  lldb-api :: lang/cpp/constructors/TestCppConstructors.py
  lldb-api :: lang/cpp/covariant-return-types/TestCovariantReturnTypes.py
  lldb-api :: lang/cpp/extern_c/TestExternCSymbols.py
  lldb-api :: lang/cpp/function-local-class/TestCppFunctionLocalClass.py
  lldb-api :: lang/cpp/function-qualifiers/TestCppFunctionQualifiers.py
  lldb-api :: lang/cpp/function-ref-qualifiers/TestCppFunctionRefQualifiers.py
  lldb-api :: lang/cpp/global_operators/TestCppGlobalOperators.py
  lldb-api :: lang/cpp/lambdas/TestLambdas.py
  lldb-api :: lang/cpp/llvm-style/TestLLVMStyle.py
  lldb-api :: lang/cpp/multiple-inheritance/TestCppMultipleInheritance.py
  lldb-api :: lang/cpp/namespace/TestNamespace.py
  lldb-api :: lang/cpp/namespace/TestNamespaceLookup.py
  lldb-api :: lang/cpp/namespace_conflicts/TestNamespaceConflicts.py
  lldb-api :: lang/cpp/namespace_definitions/TestNamespaceDefinitions.py
  lldb-api :: lang/cpp/operators/TestCppOperators.py
  lldb-api :: lang/cpp/overloaded-functions/TestOverloadedFunctions.py
  lldb-api :: lang/cpp/printf/TestPrintf.py
  lldb-api :: lang/cpp/rvalue-references/TestRvalueReferences.py```