https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119289
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #1) > Libc++ behaves the same way. Actually that's not true, libc++ resolves the symlink and copies the file to that location. So it creates asdf, as you expected.