Return an error from the child process if ld fails to execute.