[all-commits] [llvm/llvm-project] 985c71: Revert "[compiler-rt] [scudo] Use -mcrc32 on x86 w...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Apr 1 00:43:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 985c717cdbffd5da7cb188ba8b81f4fd662a81e0
      https://github.com/llvm/llvm-project/commit/985c717cdbffd5da7cb188ba8b81f4fd662a81e0
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/scudo/CMakeLists.txt
    M compiler-rt/lib/scudo/scudo_allocator.cpp
    M compiler-rt/lib/scudo/scudo_crc32.cpp
    M compiler-rt/lib/scudo/scudo_crc32.h
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/checksum.h
    M compiler-rt/lib/scudo/standalone/chunk.h
    M compiler-rt/lib/scudo/standalone/crc32_hw.cpp

  Log Message:
  -----------
  Revert "[compiler-rt] [scudo] Use -mcrc32 on x86 when available"

This reverts commit 09b53121c323f260ab97cecd067d4e7b3be1bf7c.

Breaks the build with GCC 11.2 on x86_64:

In file included from /home/npopov/repos/llvm-project/compiler-rt/lib/scudo/scudo_crc32.h:27,
                 from /home/npopov/repos/llvm-project/compiler-rt/lib/scudo/scudo_crc32.cpp:14:
/usr/lib/gcc/x86_64-redhat-linux/11/include/smmintrin.h: In function ‘__sanitizer::u32 __scudo::computeHardwareCRC32(__sanitizer::u32, __sanitizer::uptr)’:
/usr/lib/gcc/x86_64-redhat-linux/11/include/smmintrin.h:846:1: error: inlining failed in call to ‘always_inline’ ‘long long unsigned int _mm_crc32_u64(long long unsigned int, long long unsigned int)’: target specific option mismatch
  846 | _mm_crc32_u64 (unsigned long long __C, unsigned long long __V)




More information about the All-commits mailing list