https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108472
--- Comment #4 from Dennis Clarke <dclarke at blastwave dot org> --- (In reply to Andrew Pinski from comment #2) > >warning: "s-stalib.adb" and "gnat1drv.adb" compiled with different GNAT > >versions > > Is the first thing you should look into. > > Since you are setting the PATH to include /opt/imed/gcc12/bin but you don't > set LD_LIBRAR_PATH to include /opt/imed/gcc12/lib64 ... Actually I have never heard of such a thing. Let's give that a whirl !