Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28707 Discussions

Does Intel/2020.2 Support GCC/11.3.1

Yang3
Beginner
664 Views

I received an error when compiling a simple c file.

$icc test.c
In file included from test.c(1):
/usr/include/stdio.h(183): error: attribute "__malloc__" does not take arguments
    __attribute_malloc__ __attr_dealloc_fclose __wur;

The computer has RHEL9.2 that comes with gcc/11.3.1 and glibc/2.35.  According to this article, intel/2020.2 compilers don't support gcc/11.3.1.  Is that correct? If so, is downgrading gcc and glibc the only solution to use intel/2020.2 on RHEL9.2?

 

 

0 Kudos
1 Solution
Steve_Lionel
Honored Contributor III
641 Views
0 Kudos
1 Reply
Steve_Lionel
Honored Contributor III
642 Views

I think you meant to ask this in Intel® C++ Compiler - Intel Community

0 Kudos
Reply