https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111605
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Rui Ueyama from comment #4) > > More likely the scripts which build the full toolchains directories should > > be creating the symbolic links instead of mold itself. > > So the package manager create a `<triple>-ld.mold` as a symlink to `mold` if > mold is installed? Or, should it create a `<triple>-ld.mold` unconditionally > as a symlink to `/usr/bin/mold`? If the latter, what if the user build mold > themselves and install it under `/usr/local/bin`? Most will not install it in /usr/* but for embedded toolchains will be relocatable and installed in the same directory as the parts.