Hello, Svante Signell, on jeu. 07 sept. 2017 10:38:19 +0200, wrote: > When working on porting gccgo to gcc-7, I found out that many test failures > are > due to a bug in Hurd's implementation of /proc/self/exe (and /proc/<pid>/exe): > The path returned should always be absolute, not relative.
That goes back to file_exec_file_name provided with a relative path, and not an absolute path. That's where it needs fixing. I guess it could be a matter of making sysdeps/mach/hurd/execve.c call realpath(), as well as sysdeps/mach/hurd/spawni.c in the if ((xflags & SPAWN_XFLAGS_USE_PATH) == 0 || strchr (file, '/') != NULL) case. Samuel