We see an error when linking with GNU gold and writing the output file to an NFS location hosted on a ZFS file system. If needed I can provide more details on the software/OS versions involved. This issue could be resolved with the function Output_file::unmap() in output.cc doing a call to ::msync before calling ::munmap.
And of course the detailed description of the error is missing. The output file (executable) is available on the server (and the other NFS clients) but it is just a file with the correct size filled with NUL-bytes. The problem is reproducible using a simple test program using mmap/munmap and disappears as soon as there is a msync inserted before the munmap.
Please also see the following entry from the NFS FAQ: http://nfs.sourceforge.net/#faq_d8
Created attachment 6769 [details] patch implementing the proposed solution by calling ::msync before ::munmap