[Bug 1964260] [NEW] Fix mismatched extern "C" block for aarch64
Corey Bryant
1964260 at bugs.launchpad.net
Tue Mar 8 19:48:36 UTC 2022
Public bug reported:
[ 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.
** Affects: gcc-9 (Ubuntu)
Importance: High
Status: Triaged
** Affects: gcc-9 (Ubuntu Focal)
Importance: High
Status: Triaged
** Affects: gcc-9 (Ubuntu Impish)
Importance: High
Status: Triaged
** Affects: gcc-9 (Ubuntu Jammy)
Importance: High
Status: Triaged
** Changed in: gcc-9 (Ubuntu)
Status: New => Triaged
** Changed in: gcc-9 (Ubuntu)
Importance: Undecided => High
** 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**)>
- | ^~~~~~~~
+ 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:
+ 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" {
- | ^~~~~~~~~~
-
+ 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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1964260
Title:
Fix mismatched extern "C" block for aarch64
Status in gcc-9 package in Ubuntu:
Triaged
Status in gcc-9 source package in Focal:
Triaged
Status in gcc-9 source package in Impish:
Triaged
Status in gcc-9 source package in Jammy:
Triaged
Bug description:
[ 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1964260/+subscriptions
More information about the foundations-bugs
mailing list