Error compiling v4.5.8 firmware

Hello,
I compiled the git clone source code and encountered the following problem:

Hi, you need to have the exact environment here: openmv/tools/ci.sh at master · openmv/openmv (github.com)

You are using the wrong GCC.

Thank you for your answer.
It is indeed a problem with the GCC version.
But I still have doubts and would like to ask:
how to use or read the files in the link you provided? I don’t quite understand

It’s a bash script that sets local env up.