** Summary changed:
- Fix mismatched extern "C" block for aarch64
+ SRU: Fix mismatched extern "C" block for aarch64
** Description changed:
[ Description ]
Compile on focal fails with:
/<<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
[ Test Case ]
Compiling ceph for the yoga cloud archive fails with the error above and will
be successful with the patch applied.
[ Regression Potential ]
- This is actually fixing a regression. The patch that is picked has already
landed upstream.
+ This is actually fixing a regression. The patch that is picked has already
landed upstream. It is also architecture specific, only seen on arm64.
** Bug watch added: GCC Bugzilla #100985
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100985
** Also affects: gcc via
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100985
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1964260
Title:
SRU: Fix mismatched extern "C" block for aarch64
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1964260/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs