https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90440
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- I don't see how changing "" to <> can make any difference. If the symlink is present in /export/home/jullien/gcc-8.3.0/obj/sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10 then it will be found by either form of #include directive. If it isn't present, neither will work. The <ext/random> header that includes <ext/opt_random.h> is in /export/home/jullien/gcc-8.3.0/obj/sparc-sun-solaris2.10/libstdc++-v3/include/ and so #include "ext/opt_random.h" should always have found it via the -I include paths anyway.