https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104731
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Either we need to embed the global dirent into a larger structure with trailing storage for the file name, or we just disable the test on Solaris (maybe only run it for *-*-linux-gnu, since it's not testing target-specific code anyway).