If you want to use a different compiler version than the one for which the Lazarus RPM has been made, you need to recompile the LCL for it.
See
FAQ about not finding the interfaces unit (How appropiate!).
We rather have that people use the recommended compiler, so that is why it doesn't automatically recompile. If you want to do it out of the ordinary, you need to do something extra, which
is documented.