PX4 firmware build file difference according to PC environment

Hello. Everyone

I am researching while changing the source code of PX4 and creating a build file myself. (make px4_fmu-v3_default)

I’m curious about a PX4 build file.

I’m researching how to connect an external AHRS sensor to pixhawk and overwrite data such as angle, angular velocity, velocity, position, etc. on the existing data.
During the study, when building on a certain PC, the pitch rate data value was NAN. However, when building on another PC, the pitch rate data value was measured normally.

I think it’s a g++ version difference, have other people encountered this problem?