|
From: | vladimir at kondratyev dot su |
Subject: | [Bug gold/22540] New: Gold fails when output file is lying on ZFS |
Date: | Sat, 02 Dec 2017 11:02:48 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22540 Bug ID: 22540 Summary: Gold fails when output file is lying on ZFS Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: vladimir at kondratyev dot su CC: ian at airs dot com Target Milestone: --- Created attachment 10658 --> https://sourceware.org/bugzilla/attachment.cgi?id=10658&action=edit gold-output.cc.patch Some Copy-On-Write filesystems like recent ZFS does not support posix_fallocate as it cannot provide guarantee that overwrites would never fail due to the lack of free space. In that case EINVAL is used to report that the underlying file system does not support the operation (POSIX.1-2008) that breaks gold if output file is lying on such a filesystem. Fix gold with falling back to ftruncate(2) if posix_fallocate(2) returned EINVAL but correct offset and len parameters was passed. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |