https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note for native, normally installs under /home/apinski/upstream-gcc-new/share/gcc-14.0.0/python/libstdcxx/v6/printers.py That is: $prefix/share/gcc-$version/python/libstdcxx/v6/ . For cross (to *-*-linux) it is also: $prefix/share/gcc-$version/python/libstdcxx/v6/ if gdb.current_objfile () is not None: # Update module path. We want to find the relative path from libdir # to pythondir, and then we want to apply that relative path to the # directory holding the objfile with which this file is associated. # This preserves relocatability of the gcc tree. So we should figure out why this is incorrectly working for the configure options you are using.