forked from flame/blis
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Moving to GCC 15 causes this error (see below). This is built against the AOCL-Weekly-121225 tag and libomp-18-dev (1:18.1.3-1ubuntu1). Note that this seems to be working fine with GCC 13 on Ubuntu 24.04.
Thanks!
In file included from ../../../blas-build/include/amdzen/blis.h:19847:
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h: At global scope:
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:459:1: error: template with C linkage
459 | template<typename __T, omp_allocator_handle_t __Handle>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:486:1: error: template with C linkage
486 | template<typename __T, typename __U, omp_allocator_handle_t __Handle>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:494:1: error: template with C linkage
494 | template<typename __T, omp_allocator_handle_t __Handle,
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:503:1: error: template with C linkage
503 | template<typename __T, typename __U, omp_allocator_handle_t __Handle>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:511:1: error: template with C linkage
511 | template<typename __T, omp_allocator_handle_t __Handle,
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:522:1: error: template with C linkage
522 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:526:1: error: template with C linkage
526 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:530:1: error: template with C linkage
530 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:534:1: error: template with C linkage
534 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:538:1: error: template with C linkage
538 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:542:1: error: template with C linkage
542 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:546:1: error: template with C linkage
546 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:550:1: error: template with C linkage
550 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:554:1: error: template with C linkage
554 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/15/include/omp.h:568:1: error: template with C linkage
568 | template<typename __T>
| ^~~~~~~~
../../../blas-build/include/amdzen/blis.h:11:1: note: 'extern "C"' linkage started here
11 | extern "C" {
| ^~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels