Comment 0 for bug 1964260

Revision history for this message
Corey Bryant (corey.bryant) wrote : Fix mismatched extern "C" block for aarch64

/<<PKGBUILDDIR>>/src/rocksdb/util/crc32c.cc:363:1: error: template with C linkage
  363 | template<void (*CRC32)(uint64_t*, uint8_t const**)>
      | ^~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/rocksdb/util/crc32c_arm64.h:15,
                 from /<<PKGBUILDDIR>>/src/rocksdb/util/crc32c.cc:21:
/usr/lib/gcc/aarch64-linux-gnu/9/include/arm_acle.h:33:1: note: ‘extern "C"’ linkage started here
   33 | extern "C" {
      | ^~~~~~~~~~

This is fixed here:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=8c92fcb13a4979232787f0476bf7469ccbb03617