Rstan fails to install on Centos 7,9 with R 4.0.0 and gcc 10.3.0

Short summary of the problem
Hello
I am on Centos 7.9 with gcc 10.3.0 (thats available module on HPC). and R 4.0.0. I am not using devtools

OS: Centos 7.9
R : 4.0.0
G++= 10.3.0
#writeLines(readLines(file.path(Sys.getenv("HOME"), ".R/Makevars")))
*CXX14 =/gpfs/software/ada/gcc/10.3.0/bin/g++ -std=c++1y*
*CXX14FLAGS = -O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -fPIC  -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION  -flto -Wno-unused-local-typedefs*
*CXX14FLAGS+= -std=c++11*
>install.packages("rstan"
***/gpfs/software/ada/gcc/10.3.0/include/c++/10.3.0/complex:829:5: internal compiler error: Illegal instruction***
***  829 |     { return std::log(__z) / log(_Tp(10.0)); }***
***      |     ^***
***0xc2be8f crash_signal***
***	../.././gcc/toplev.c:328***
***Please submit a full bug report,***
***with preprocessed source if appropriate.***
***Please include the complete backtrace with any bug report.***