I just tagged 15.0.0-final! Get those binaries uploaded. I am making the announcement threads and all that as soon as I get the correct permissions to post to announcements.
Changes from -rc3 - Nothing stands out as especially interesting to me.
This diff is also much smaller: 26 files changed, 1439 insertions(+), 148 deletions(-)
While testing for Gentoo, I have found two problems:
We have recently disabled installing ld.gold with binutils by default, and it turned out that compiler-rt’s test suite crashes if ld.gold is not present. I’ve filed issue 57580 for it and submitted a patch.
While trying to test clang for the first time, a whole lot of clangd tests failed as seen in test-log.txt (766.7 KB). However, I haven’t been able to reproduce it since, so I’m unable to provide proper data for a bug. Just mentioning it in case somebody else hits it as well.
I’ve included my patch for 1. in the Gentoo patchset and pushed 15.0.0 to Gentoo testing.
No regressions compared to rc3. The Solaris/amd64 source included the fixes/workarounds for Issue #54196, now posted as D133407 and D133406 for reference.
LLVM build configuration command: cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_OPTIMIZED_TABLEGEN=TRUE -DLLVM_INCLUDE_UTILS=OFF -DLLVM_INCLUDE_RUNTIMES=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_GO_TESTS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_BUILD_LLVM_C_DYLIB=OFF -DLLVM_ENABLE_DIA_SDK=OFF -DCLANG_BUILD_TOOLS=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_TERMINFO=OFF -DCMAKE_INSTALL_PREFIX="C:\Software\Development\projects\llvm\build\x64" "C:\Software\Development\projects\llvm-project\llvm"
Begin LLVM build (y/n):y
Cleanning LLVM build. Please wait...
Press any key to continue . . .
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.3.3
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
-- The C compiler identification is MSVC 19.33.31629.0
-- The CXX compiler identification is MSVC 19.33.31629.0
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- bolt project is disabled
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- cross-project-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- libcxx project is disabled
-- libcxxabi project is disabled
-- libunwind project is disabled
-- lld project is disabled
-- lldb project is disabled
-- mlir project is disabled
-- openmp project is disabled
-- polly project is disabled
-- pstl project is disabled
-- flang project is disabled
-- Looking for dlfcn.h
-- Looking for dlfcn.h - not found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - not found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - not found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - not found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - not found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sysexits.h
-- Looking for sysexits.h - not found
-- Looking for termios.h
-- Looking for termios.h - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - not found
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Looking for __register_frame
-- Looking for __register_frame - not found
-- Looking for __deregister_frame
-- Looking for __deregister_frame - not found
-- Looking for __unw_add_dynamic_fde
-- Looking for __unw_add_dynamic_fde - not found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - not found
-- Looking for getpagesize
-- Looking for getpagesize - not found
-- Looking for sysconf
-- Looking for sysconf - not found
-- Looking for getrusage
-- Looking for getrusage - not found
-- Looking for setrlimit
-- Looking for setrlimit - not found
-- Looking for isatty
-- Looking for isatty - not found
-- Looking for futimens
-- Looking for futimens - not found
-- Looking for futimes
-- Looking for futimes - not found
-- Looking for sigaltstack
-- Looking for sigaltstack - not found
-- Looking for lseek64
-- Looking for lseek64 - not found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for mallinfo2
-- Looking for mallinfo2 - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for getrlimit
-- Looking for getrlimit - not found
-- Looking for posix_spawn
-- Looking for posix_spawn - not found
-- Looking for pread
-- Looking for pread - not found
-- Looking for sbrk
-- Looking for sbrk - not found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - not found
-- Looking for strerror_s
-- Looking for strerror_s - found
-- Looking for setenv
-- Looking for setenv - not found
-- Looking for _chsize_s
-- Looking for _chsize_s - found
-- Looking for _alloca
-- Looking for _alloca - not found
-- Looking for __alloca
-- Looking for __alloca - not found
-- Looking for __chkstk
-- Looking for __chkstk - found
-- Looking for __chkstk_ms
-- Looking for __chkstk_ms - not found
-- Looking for ___chkstk
-- Looking for ___chkstk - not found
-- Looking for ___chkstk_ms
-- Looking for ___chkstk_ms - not found
-- Looking for __ashldi3
-- Looking for __ashldi3 - not found
-- Looking for __ashrdi3
-- Looking for __ashrdi3 - not found
-- Looking for __divdi3
-- Looking for __divdi3 - not found
-- Looking for __fixdfdi
-- Looking for __fixdfdi - not found
-- Looking for __fixsfdi
-- Looking for __fixsfdi - not found
-- Looking for __floatdidf
-- Looking for __floatdidf - not found
-- Looking for __lshrdi3
-- Looking for __lshrdi3 - not found
-- Looking for __moddi3
-- Looking for __moddi3 - not found
-- Looking for __udivdi3
-- Looking for __udivdi3 - not found
-- Looking for __umoddi3
-- Looking for __umoddi3 - not found
-- Looking for __main
-- Looking for __main - not found
-- Looking for __cmpdi2
-- Looking for __cmpdi2 - not found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Failed
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Looking for proc_pid_rusage
-- Looking for proc_pid_rusage - not found
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Failed
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Ninja version: 1.11.1
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-pc-windows-msvc
-- LLVM default target triple: x86_64-pc-windows-msvc
-- Using Release VC++ CRT: MT
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Found Python3: C:/Software/Python/python.exe (found suitable version "3.10.6", minimum required is "3.0") found components: Interpreter
-- Performing Test HAS_WERROR_GLOBAL_CTORS
-- Performing Test HAS_WERROR_GLOBAL_CTORS - Failed
-- Looking for _M_X64
-- Looking for _M_X64 - found
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/ml64.exe
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file CodeBeadsGen.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/utils/TableGen/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:869 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:920 (generate_llvm_objects)
cmake/modules/TableGen.cmake:152 (add_llvm_executable)
utils/TableGen/CMakeLists.txt:5 (add_tablegen)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file FixedLenDecoderEmitter.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/utils/TableGen/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:869 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:920 (generate_llvm_objects)
cmake/modules/TableGen.cmake:152 (add_llvm_executable)
utils/TableGen/CMakeLists.txt:5 (add_tablegen)
-- Found Git: C:/Software/Development/Git/cmd/git.exe (found version "2.37.3.windows.1")
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file RegisterBank.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:818 (llvm_add_library)
cmake/modules/AddLLVM.cmake:793 (add_llvm_library)
lib/CodeGen/GlobalISel/CMakeLists.txt:1 (add_llvm_component_library)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file RegisterBankInfo.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:818 (llvm_add_library)
cmake/modules/AddLLVM.cmake:793 (add_llvm_library)
lib/CodeGen/GlobalISel/CMakeLists.txt:1 (add_llvm_component_library)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file LoopUnswitch.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/lib/Transforms/Scalar/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:818 (llvm_add_library)
cmake/modules/AddLLVM.cmake:793 (add_llvm_library)
lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_component_library)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file LowerAtomic.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/lib/Transforms/Scalar/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:818 (llvm_add_library)
cmake/modules/AddLLVM.cmake:793 (add_llvm_library)
lib/Transforms/Scalar/CMakeLists.txt:1 (add_llvm_component_library)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file VPlanPredicator.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/lib/Transforms/Vectorize/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:818 (llvm_add_library)
cmake/modules/AddLLVM.cmake:793 (add_llvm_library)
lib/Transforms/Vectorize/CMakeLists.txt:1 (add_llvm_component_library)
-- LLVMHello ignored -- Loadable modules not supported on this platform.
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file Range.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/lib/DebugInfo/GSYM/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:818 (llvm_add_library)
cmake/modules/AddLLVM.cmake:793 (add_llvm_library)
lib/DebugInfo/GSYM/CMakeLists.txt:1 (add_llvm_component_library)
-- Targeting X86
-- Looking for sys/resource.h
-- Looking for sys/resource.h - not found
-- Clang version: 15.0.0
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file DependencyDirectivesSourceMinimizer.cpp
Please update
C:/Software/Development/projects/llvm-project/clang/lib/Lex/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
C:/Software/Development/projects/llvm-project/clang/cmake/modules/AddClang.cmake:106 (llvm_add_library)
C:/Software/Development/projects/llvm-project/clang/lib/Lex/CMakeLists.txt:5 (add_clang_library)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file ExtractAPIConsumer.cpp
Please update
C:/Software/Development/projects/llvm-project/clang/lib/Frontend/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:459 (llvm_process_sources)
C:/Software/Development/projects/llvm-project/clang/cmake/modules/AddClang.cmake:106 (llvm_add_library)
C:/Software/Development/projects/llvm-project/clang/lib/Frontend/CMakeLists.txt:11 (add_clang_library)
-- Not building amdgpu-arch: hsa-runtime64 not found
-- BugpointPasses ignored -- Loadable modules not supported on this platform.
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file ConfigManager.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/tools/llvm-objcopy/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:869 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:920 (generate_llvm_objects)
cmake/modules/AddLLVM.cmake:1296 (add_llvm_executable)
cmake/modules/AddLLVM.cmake:1321 (llvm_add_tool)
tools/llvm-objcopy/CMakeLists.txt:26 (add_llvm_tool)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file FormatUtil.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/tools/llvm-pdbutil/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:869 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:920 (generate_llvm_objects)
cmake/modules/AddLLVM.cmake:1296 (add_llvm_executable)
cmake/modules/AddLLVM.cmake:1321 (llvm_add_tool)
tools/llvm-pdbutil/CMakeLists.txt:11 (add_llvm_tool)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file InputFile.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/tools/llvm-pdbutil/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:869 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:920 (generate_llvm_objects)
cmake/modules/AddLLVM.cmake:1296 (add_llvm_executable)
cmake/modules/AddLLVM.cmake:1321 (llvm_add_tool)
tools/llvm-pdbutil/CMakeLists.txt:11 (add_llvm_tool)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file LinePrinter.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/tools/llvm-pdbutil/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:869 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:920 (generate_llvm_objects)
cmake/modules/AddLLVM.cmake:1296 (add_llvm_executable)
cmake/modules/AddLLVM.cmake:1321 (llvm_add_tool)
tools/llvm-pdbutil/CMakeLists.txt:11 (add_llvm_tool)
CMake Error at cmake/modules/LLVMProcessSources.cmake:114 (message):
Found unknown source file PassPrinters.cpp
Please update
C:/Software/Development/projects/llvm-project/llvm/tools/opt/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:63 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:869 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:920 (generate_llvm_objects)
cmake/modules/AddLLVM.cmake:1296 (add_llvm_executable)
cmake/modules/AddLLVM.cmake:1321 (llvm_add_tool)
tools/opt/CMakeLists.txt:30 (add_llvm_tool)
-- Configuring incomplete, errors occurred!
See also "C:/Software/Development/projects/llvm-project/build/buildsys-x64/CMakeFiles/CMakeOutput.log".
See also "C:/Software/Development/projects/llvm-project/build/buildsys-x64/CMakeFiles/CMakeError.log".
Press any key to continue . . .
I am doing something clever with Git to keep my repo minimal in size (1 commit always).
Unfortunately I missed one step not thinking it could be such a big deal. The step of wiping files and folders that were deleted between the old tag and new one.
The PowerPC (AIX 7.2) binaries for 15.0.0 have been uploaded. No regressions found. 6d221bf2509bd37636ad636c6577b32d176ada58 clang+llvm-15.0.0-powerpc64-ibm-aix-7.2.tar.xz