https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104454
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Actually that's wrong because path("foo/bar/..").lexically_normal() is just "foo" which ignores whether foo/bar is a symlink to somewhere else. I think the right fix is to just not define _GLIBCXX_USE_REALPATH for AIX.